body {
    background-color: #1e1e1e;
    color: #dcdcdc;
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
}

h1, h2 {
    color: #ffffff;
}

button {
    background-color: #333;
    color: #ffffff;
    border: 1px solid #555;
    padding: 8px 12px;
    margin: 5px;
    cursor: pointer;
    transition: background 0.3s ease;
}

button:hover {
    background-color: #555;
}

.nav-links {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: inline-block;
}
.nav-links li {
    display: inline;
    margin: 0 15px;
}
.nav-links a {
    text-decoration: none;
    color: white;
    font-weight: bold;
}
.nav-links a:hover {
    color: #007bff;
}

.article-item-header{
    color: black;
    padding: 20px;
    text-align: center;
    margin-bottom: 20px;
}

.add-field-button, .download-cv-button, .upload-cv-button {
    background-color: #444;
    border-radius: 8px;
}

.add-field-button:hover, .download-cv-button:hover, .upload-cv-button:hover {
    background-color: #666;
}

input[type="text"] {
    background-color: #2a2a2a;
    color: #dcdcdc;
    border: 1px solid #444;
    padding: 6px;
    margin: 5px;
}

input[type="text"]:focus {
    outline: none;
    border-color: #888;
}

input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: #888;
    margin-right: 10px;
    cursor: pointer;
}

.item-constructor {
    background-color: #252525;
    padding: 5px;
    border-radius: 5px;
    margin-bottom: 20px;
}

.education-item, .publication-item, .research-item, .work-item, .achievement-item, .certification-item, .skill-item,
.personal-information {
    background-color: #333;
    padding: 10px;
    border-radius: 6px;
    margin-top: 10px;
    display: flex;
    gap: 10px;
    flex-direction: column;
}

.tools-item {
    display: flex;
    gap: 5px;
    margin-right: auto;
}

.move-up-button, .move-down-button, .delete-item-button {
    background-color: #555;
    border: none;
    padding: 5px;
    cursor: pointer;
}

.move-up-button:hover, .move-down-button:hover, .delete-item-button:hover {
    background-color: #777;
}

.education-title-input, .research-title-input, .work-title-input, .certification-title-input, .skill-title-input {
    width: 300px;
}

.work-company-name-input{
    width: 300px;
}

.education-place-input {
    width: 300px;
}

.education-dates-input, .publication-date-input, .research-dates-input, .work-dates-input, .achievement-dates-input, .skill-dates-input {
    width: 300px;
}

.education-description-input, .publication-reference-input, .research-description-input, .work-description-input,
.achievement-description-input, .certification-description-input, .skill-description-input,
.personal-information-professional-interests {
    width: 600px;
    height: 150px;
    background-color: #2a2a2a;
    color: #dcdcdc;
    border: 1px solid #444;
    padding: 6px;
    margin: 5px;
    resize: both;
    overflow: auto;
}


.pdf-request {
    display: flex;
    justify-content: center;
    align-items: center;
    position: sticky;
    top: 20px;
    z-index: 1000;
}

.get-pdf-request {
    width: 150px;
    height: 50px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    transition: background-color 0.3s, transform 0.2s;
}

.get-pdf-request:hover{
    background-color: #45a049;
    transform: scale(1.05);
}

.cv-type-container {
    display: flex;
    justify-content: space-around;
    margin: 30px 0;
}

.cv-type-preview {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 200px;
}

.cv-type-checkbox {
    transform: scale(1.2);
    margin: 5px;
}

.cv-type-checkbox-radio{
    cursor: pointer;
}

.cv-thumbnail {
    width: 200px;
    height: auto;
    border: 1px solid #ccc;
    box-shadow: 2px 2px 8px rgba(0,0,0,0.2);
    transition: transform 0.2s;
    border-radius: 18px;
}

.cv-thumbnail:hover {
    transform: scale(1.05);
    cursor: pointer;
}

.personal-information-name, .personal-information-address, .personal-information-phone, .personal-information-email, .personal-information-website, .personal-information-dob, .personal-information-orcid {
    width: 300px;
}

.error-message {
    background-color: #3a1f1f;
    border: 1px solid #ff6b6b;
    color: #f8dada;
    border-radius: 5px;
    padding: 10px 15px;
    margin: 10px 0;
}

.error-icon {
    margin-right: 10px;
    font-size: 20px;
}


.section-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.toggle-section-icon:hover {
    cursor: pointer;
}