body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding-top: 60px; 
    background-color: #bbc9e8;
}

.container {
    display: flex;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}


.input-section {
    flex: 1;
    padding: 20px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    max-height: 100vh; 
    overflow-y: auto; 
    position: sticky;
    top: 0;
}

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

.section-header label {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 5px;
}

.section-toggle {
    margin-bottom: 20px;
    padding: 10px;
    background-color: #f8f9fa;
    border-radius: 4px;
    position: sticky;
    top: 0;
    z-index: 100;
    background-color: white;
}

/* Style the scrollbar */
.input-section::-webkit-scrollbar {
    width: 8px;
}

.input-section::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.input-section::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

.input-section::-webkit-scrollbar-thumb:hover {
    background: #555;
}

.preview-section {
    flex: 1;
    padding: 20px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.section-toggle {
    margin-bottom: 20px;
    padding: 10px;
    background-color: #f8f9fa;
    border-radius: 4px;
}

.input-field {
    margin-bottom: 15px;
}

label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
textarea {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
}

.photo-upload {
    margin-bottom: 15px;
}

#photoPreview {
    width: 150px;
    height: 150px;
    border: 1px solid #ddd;
    margin-top: 10px;
    object-fit: cover;
}

button {
    padding: 10px 20px;
    margin-right: 10px;
    background-color: #0066cc;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

button:hover {
    background-color: #0052a3;
}

#resumePreview {
    padding: 20px;
    background-color: white;
}

.resume-header {
    display: flex;
    align-items: start;
    margin-bottom: 20px;
}

.profile-image {
    width: 150px;
    height: 150px;
    margin-right: 20px;
    object-fit: cover;
}

.header-info {
    flex-grow: 1;
}

.resume-name {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 10px;
}

.resume-section {
    margin-bottom: 20px;
}

.section-title {
    font-size: 18px;
    font-weight: bold;
    border-bottom: 2px solid #0066cc;
    margin-bottom: 10px;
    padding-bottom: 5px;
}

.experience-item,
.education-item {
    margin-bottom: 15px;
}

.add-button {
    background-color: #28a745;
    margin-top: 10px;
}

.remove-button {
    background-color: #dc3545;
    margin-left: 10px;
}

:root {
    --heading-1: 28px;
    --heading-2: 22px;
    --heading-3: 18px;
    --normal-text: 14px;
    --small-text: 12px;
    --primary-color: #2c3e50;
    --secondary-color: #34495e;
    --accent-color: #3498db;
}

body {
    font-family: 'Calibri', 'Helvetica', sans-serif;
    font-size: var(--normal-text);
    line-height: 1.6;
    color: var(--primary-color);
}

.resume-name {
    font-size: var(--heading-1);
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.section-title {
    font-size: var(--heading-2);
    color: var(--secondary-color);
    border-bottom: 2px solid var(--accent-color);
    margin-bottom: 15px;
    padding-bottom: 5px;
}

.resume-header {
    margin-bottom: 30px;
}

.contact-info {
    font-size: var(--normal-text);
    margin-bottom: 5px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 10px;
    font-size: var(--normal-text);
}

.social-links a {
    color: var(--accent-color);
    text-decoration: none;
}

.experience-item,
.education-item,
.publication-item,
.achievement-item {
    margin-bottom: 20px;
    font-size: var(--normal-text);
}

.experience-title,
.education-degree {
    font-size: var(--heading-3);
    font-weight: bold;
    margin-bottom: 5px;
}

.experience-company,
.education-institution {
    font-size: var(--normal-text);
    font-weight: bold;
    color: var(--secondary-color);
}

.experience-duration,
.education-year {
    font-size: var(--small-text);
    color: #666;
}

.skills-list {
    font-size: var(--normal-text);
    line-height: 1.8;
}

.publication-title {
    font-size: var(--normal-text);
    font-weight: bold;
}

.publication-authors {
    font-size: var(--small-text);
    font-style: italic;
}

.achievement-description {
    font-size: var(--normal-text);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    background-color: #f8f9fa;
    border-radius: 4px;
    margin-bottom: 15px;
}

.section-header h3 {
    margin: 0;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 5px;
    font-weight: normal;
}

.section-content {
    padding: 0 10px;
}

.input-field {
    margin-bottom: 20px;
    border: 1px solid #eee;
    border-radius: 4px;
    padding: 10px;
}

.section-header input[type="checkbox"] {
    margin: 0;
}

/* Navigation Bar Styles */
.navbar {
    background: linear-gradient(45deg, #00214d, #002966);
    padding: 10px 10px 10px 10px; 
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed; 
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.logo {
    font-size: 22px; 
    margin-left: 40px;
    font-weight: bold;
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo i {
    font-size: 24px; 
}

.nav-buttons {
    display: flex;
    gap: 20px;
    align-items: center;
}

.nav-btn {
    padding: 8px 20px; 
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}


.nav-btn i {
    font-size: 16px;
}

.save-btn {
    color: white;
    border: 2px solid white;
    background: transparent;
}

.save-btn:hover {
    background: white;
    color: #002966;
    transform: translateY(-2px);
}

.download-btn {
    color: white;
    border: 2px solid white;
    background: transparent;
}

.download-btn:hover {
    background: white;
    color: #002966;
    transform: translateY(-2px);
}

.template-select {
    padding: 10px 25px;
    border-radius: 25px;
    margin-right: 50px;
    border: 2px solid white;
    background: transparent;
    color: white;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='white' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14L2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    padding-right: 35px;
}

.template-select:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.template-select option {
    background: #002966;
    color: white;
}

.logout-btn {
    color: white;
    border: 2px solid white;
    background: transparent;
}

.logout-btn:hover {
    background: white;
    color: #002966;
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .navbar {
        padding: 15px 20px;
        flex-direction: column;
        gap: 15px;
    }

    .nav-buttons {
        flex-wrap: wrap;
        justify-content: center;
    }

    .nav-btn, .template-select {
        padding: 8px 20px;
        font-size: 13px;
    }
}

.container {
    display: flex;
    gap: 20px;
    max-width: 1200px;
    margin: 20px auto;
    height: calc(100vh - 80px); /* Account for navbar */
    position: relative;
}

.input-section {
    flex: 1;
    padding: 20px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    max-height: calc(100vh - 100px); /* Account for navbar and margin */
    overflow-y: auto;
}


.button-container {
    display: flex;
    justify-content: center; 
    margin-top: 10px; 
}


.add-button,
.remove-button-div {
    background-color: #28a745; 
    color: white;
    border: none;
    padding: 0.5rem 1rem; 
    border-radius: 4px;
    cursor: pointer;
    font-weight: normal; 
    transition: background-color 0.3s ease, transform 0.2s ease;
    font-size: 0.9rem; 
    align-items: center; 
    gap: 0.5rem; 
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin: 0 10px; 
}


.add-button:hover {
    background-color: #218838; 
}


.remove-button-container {
    display: flex; 
    justify-content: center; 
    align-items: center; 
    margin-top: 10px;
}


.remove-button {
    background-color: #dc3545; 
    color: white;
    border: none;
    padding: 0.5rem 1rem; 
    border-radius: 4px;
    cursor: pointer;
    font-weight: normal; 
    transition: background-color 0.3s ease, transform 0.2s ease;
    font-size: 0.9rem; 
    display: flex;
    align-items: center; 
    gap: 0.5rem; 
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}


.remove-button:hover {
    background-color: #c82333; 
}

.preview-section {
    flex: 1;
    padding: 0; 
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    max-height: 100vh;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

#previewText {
    position: sticky;
    top: 0;
    background-color: skyblue;
    margin: 0;
    text-align: center;
    padding: 5px;
    border-bottom: 1px solid #eee;
    z-index: 100;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.social-link-item {
    border: 1px solid #eee;
    padding: 15px;
    margin-bottom: 15px;
    border-radius: 4px;
}

.project-item {
    margin-bottom: 20px;
}

.project-title {
    font-weight: bold;
    font-size: 1.1em;
    margin-bottom: 5px;
}

.project-title a {
    font-size: 0.9em;
    color: var(--accent-color);
    text-decoration: none;
}

.project-duration {
    color: #666;
    font-size: 0.9em;
    margin-bottom: 5px;
}

.project-tech {
    font-style: italic;
    margin-bottom: 5px;
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.social-link {
    display: flex;
    gap: 10px;
    align-items: center;
}

.platform {
    font-weight: bold;
}

/* Modern Template Styles */
.modern-header {
    background: linear-gradient(to right, #2c3e50, #3498db);
    color: white;
    padding: 2rem;
    border-radius: 8px;
    margin-bottom: 2rem;
}

.modern-profile {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 4px solid white;
    margin-right: 2rem;
}

.modern-header-content {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.modern-name {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.modern-contact {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.modern-social {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.modern-social-link {
    color: white;
    text-decoration: none;
    padding: 0.25rem 0.5rem;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
}

.modern-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
}

.modern-section {
    margin-bottom: 2rem;
}

.modern-section-title {
    color: #2c3e50;
    font-size: 1.5rem;
    border-bottom: 2px solid #3498db;
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
}

.modern-experience, .modern-project, .modern-publication, 
.modern-education, .modern-achievement {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #eee;
}

.modern-role, .modern-project-title, .modern-pub-title, 
.modern-degree, .modern-achieve-title {
    font-size: 1.2rem;
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.modern-company, .modern-institution {
    color: #34495e;
    font-weight: 500;
}

.modern-duration, .modern-project-duration, 
.modern-pub-venue, .modern-edu-details {
    color: #7f8c8d;
    font-size: 0.9rem;
    margin: 0.25rem 0;
}

.modern-description, .modern-project-description, 
.modern-achieve-desc {
    margin-top: 0.5rem;
    line-height: 1.6;
}

.modern-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.modern-skill {
    background: #f0f2f5;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    color: #2c3e50;
}

.modern-project-link {
    display: inline-block;
    margin-top: 0.5rem;
    color: #3498db;
    text-decoration: none;
}

.modern-project-tech {
    color: #7f8c8d;
    font-style: italic;
    margin: 0.25rem 0;
}

.modern-pub-authors {
    font-style: italic;
    color: #34495e;
}

@media print {
    .modern-header {
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
}

/* Minimal Template Styles */
.minimal-header {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #eee;
}

.minimal-profile {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin-bottom: 1rem;
    object-fit: cover;
}

.minimal-name {
    font-size: 2rem;
    font-weight: 300;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
    color: #2c3e50;
}

.minimal-contact {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.minimal-social {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.minimal-social-link {
    color: #666;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.minimal-social-link:hover {
    color: #2c3e50;
}

.minimal-section {
    margin-bottom: 2.5rem;
}

.minimal-section-title {
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #2c3e50;
    margin-bottom: 1.5rem;
    font-weight: 400;
}

.minimal-summary {
    font-size: 1rem;
    line-height: 1.6;
    color: #666;
    max-width: 800px;
    margin: 0 auto;
}

.minimal-experience,
.minimal-education,
.minimal-project,
.minimal-publication,
.minimal-achievement {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #f0f0f0;
}

.minimal-experience-header,
.minimal-project-header,
.minimal-achievement-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 0.5rem;
}

.minimal-position,
.minimal-degree,
.minimal-project-title,
.minimal-pub-title,
.minimal-achieve-title {
    font-weight: 500;
    color: #2c3e50;
}

.minimal-company,
.minimal-institution,
.minimal-project-tech,
.minimal-pub-venue {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.minimal-duration,
.minimal-year,
.minimal-project-duration,
.minimal-achieve-year {
    color: #999;
    font-size: 0.85rem;
}

.minimal-description,
.minimal-project-description,
.minimal-achieve-desc {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-top: 0.5rem;
}

.minimal-education-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.25rem;
}

.minimal-cgpa {
    color: #666;
    font-size: 0.9rem;
}

.minimal-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.minimal-skill {
    font-size: 0.9rem;
    color: #2c3e50;
    padding: 0.25rem 0.75rem;
    border: 1px solid #ddd;
    border-radius: 15px;
    background-color: #f8f9fa;
}

.minimal-project-link {
    color: #3498db;
    text-decoration: none;
    margin-left: 0.5rem;
    font-size: 1rem;
}

.minimal-pub-authors {
    color: #666;
    font-style: italic;
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

@media print {
    .minimal-header {
        margin-bottom: 2rem;
    }

    .minimal-section {
        page-break-inside: avoid;
    }

    .minimal-skill {
        border: 1px solid #ddd !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
}
/* Professional Template Styles */
.prof-header {
    background-color: #2c3e50;
    color: white;
    padding: 2.5rem 2rem;
    margin-bottom: 2rem;
}

.prof-header-content {
    display: flex;
    gap: 2rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.prof-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 4px solid rgba(255, 255, 255, 0.2);
    object-fit: cover;
}

.prof-title-section {
    flex-grow: 1;
}

.prof-name {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 300;
    letter-spacing: 1px;
}

.prof-contact-info {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1rem;
}

.prof-contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.prof-icon {
    font-style: normal;
}

.prof-social-links {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.prof-social-link {
    color: white;
    text-decoration: none;
    font-size: 0.9rem;
    opacity: 0.9;
    transition: opacity 0.3s;
}

.prof-social-link:hover {
    opacity: 1;
}

.prof-summary {
    max-width: 1200px;
    margin: 1.5rem auto 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    line-height: 1.6;
}

.prof-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.prof-section {
    margin-bottom: 2rem;
}

.prof-section-title {
    color: #2c3e50;
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #3498db;
}

.prof-experience,
.prof-project,
.prof-publication,
.prof-education,
.prof-achievement {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #eee;
}

.prof-experience-header,
.prof-project-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 0.5rem;
}

.prof-position,
.prof-project-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2c3e50;
    margin: 0;
}

.prof-company,
.prof-institution {
    color: #34495e;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.prof-duration,
.prof-project-duration,
.prof-year {
    color: #7f8c8d;
    font-size: 0.9rem;
}

.prof-description,
.prof-project-description,
.prof-achieve-desc {
    color: #555;
    line-height: 1.6;
    margin-top: 0.5rem;
}

.prof-project-tech {
    color: #666;
    font-style: italic;
    margin: 0.5rem 0;
    font-size: 0.9rem;
}

.prof-project-link {
    font-size: 0.9rem;
    color: #3498db;
    text-decoration: none;
    margin-left: 1rem;
}

.prof-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.prof-skill {
    background-color: #f8f9fa;
    color: #2c3e50;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-size: 0.9rem;
    border: 1px solid #eee;
}

.prof-pub-title {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.25rem;
}

.prof-pub-authors {
    font-style: italic;
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.prof-pub-venue {
    color: #7f8c8d;
    font-size: 0.9rem;
}

.prof-education {
    margin-bottom: 1.25rem;
}

.prof-degree {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.25rem;
}

.prof-field {
    color: #34495e;
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
}

.prof-edu-details {
    display: flex;
    justify-content: space-between;
    color: #7f8c8d;
    font-size: 0.9rem;
}

.prof-achieve-title {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.25rem;
}

.prof-achieve-year {
    color: #7f8c8d;
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

@media print {
    .prof-header {
        background-color: #2c3e50 !important;
        color: white !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }

    .prof-container {
        grid-template-columns: 2fr 1fr !important;
    }

    .prof-section {
        break-inside: avoid;
    }
}

@media (max-width: 768px) {
    .prof-container {
        grid-template-columns: 1fr;
    }

    .prof-header-content {
        flex-direction: column;
        text-align: center;
    }

    .prof-contact-info,
    .prof-social-links {
        justify-content: center;
    }
}

/* Creative Template Styles */
.creative-header {
    background: linear-gradient(135deg, #6c5ce7, #a8e6cf);
    color: white;
    padding: 3rem 2rem;
    margin-bottom: 2rem;
}

.creative-header-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 2rem;
    align-items: center;
}

.creative-photo {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    border: 5px solid rgba(255, 255, 255, 0.3);
    object-fit: cover;
}

.creative-intro {
    flex-grow: 1;
}

.creative-name {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.creative-contact-info {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1rem;
}

.creative-icon {
    font-style: normal;
    margin-right: 0.5rem;
}

.creative-social {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.creative-social-link {
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.creative-social-link:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.creative-summary {
    max-width: 800px;
    margin: 2rem auto 0;
    text-align: center;
    line-height: 1.6;
}

.creative-main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.creative-section {
    margin-bottom: 2.5rem;
}

.creative-section-title {
    color: #6c5ce7;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.creative-section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(135deg, #6c5ce7, #a8e6cf);
}

.creative-timeline {
    position: relative;
    padding-left: 2rem;
}

.creative-timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, #6c5ce7, #a8e6cf);
}

.creative-timeline-item {
    position: relative;
    margin-bottom: 2rem;
    padding-left: 1.5rem;
}

.creative-timeline-dot {
    position: absolute;
    left: -2.1rem;
    top: 0.5rem;
    width: 1rem;
    height: 1rem;
    background: #6c5ce7;
    border-radius: 50%;
    border: 2px solid white;
    box-shadow: 0 0 0 2px #6c5ce7;
}

.creative-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.creative-skill {
    background: linear-gradient(135deg, #6c5ce7, #a8e6cf);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    margin: 0.25rem;
    display: inline-block;
    font-size: 0.9rem;
}

.creative-project {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.creative-project-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.creative-project-link {
    color: #6c5ce7;
    text-decoration: none;
    font-size: 0.9rem;
}

.creative-education,
.creative-publication,
.creative-achievement {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #eee;
}

.creative-degree,
.creative-pub-title,
.creative-achieve-title {
    color: #2c3e50;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.creative-institution,
.creative-pub-venue {
    color: #666;
    font-size: 0.9rem;
}

.creative-edu-details,
.creative-project-tech {
    color: #666;
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

@media print {
    .creative-header {
        background: linear-gradient(135deg, #6c5ce7, #a8e6cf) !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }

    .creative-skill {
        background: linear-gradient(135deg, #6c5ce7, #a8e6cf) !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
}

@media (max-width: 768px) {
    .creative-header-content {
        flex-direction: column;
        text-align: center;
    }

    .creative-contact-info,
    .creative-social {
        justify-content: center;
    }

    .creative-grid {
        grid-template-columns: 1fr;
    }
}

/* Executive Template Styles */
.exec-header {
    background-color: #1a1a1a;
    color: white;
    padding: 3rem 2rem;
    margin-bottom: 3rem;
}

.exec-header-main {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
}

.exec-photo-container {
    margin-bottom: 1.5rem;
}

.exec-photo {
    width: 180px;
    height: 180px;
    border-radius: 5px;
    border: 3px solid gold;
    object-fit: cover;
}

.exec-name {
    font-size: 2.8rem;
    font-weight: 300;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    color: gold;
}

.exec-summary {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #ccc;
    max-width: 600px;
}

.exec-contact-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.exec-contact-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.exec-contact-label {
    font-size: 0.9rem;
    color: gold;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.exec-contact-value,
.exec-social-link {
    color: white;
    text-decoration: none;
}

.exec-main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.exec-section {
    margin-bottom: 3rem;
}

.exec-section-title {
    font-size: 1.8rem;
    color: #1a1a1a;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid gold;
    font-weight: 300;
    letter-spacing: 1px;
}

.exec-experience {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #eee;
}

.exec-experience-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.exec-position {
    font-size: 1.3rem;
    color: #1a1a1a;
    margin-bottom: 0.25rem;
}

.exec-company {
    color: #666;
    font-size: 1.1rem;
}

.exec-duration {
    color: #666;
    font-size: 0.9rem;
}

.exec-description {
    color: #444;
    line-height: 1.6;
}

.exec-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.exec-education {
    margin-bottom: 1.5rem;
}

.exec-degree {
    font-size: 1.1rem;
    color: #1a1a1a;
    margin-bottom: 0.25rem;
}

.exec-field {
    color: #444;
    margin-bottom: 0.25rem;
}

.exec-institution {
    color: #666;
}

.exec-edu-details {
    display: flex;
    justify-content: space-between;
    color: #666;
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

.exec-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.exec-skill {
    background-color: #f8f9fa;
    color: #1a1a1a;
    padding: 0.75rem 1.25rem;
    border-radius: 3px;
    font-size: 0.95rem;
    border: 1px solid #eee;
}

.exec-project {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background-color: #f8f9fa;
    border-radius: 5px;
}

.exec-project-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 1rem;
}

.exec-project-title {
    font-size: 1.1rem;
    color: #1a1a1a;
}

.exec-project-tech {
    color: #666;
    font-style: italic;
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
}

.exec-project-link {
    display: inline-block;
    margin-top: 0.75rem;
    color: gold;
    text-decoration: none;
}

.exec-publication {
    margin-bottom: 1.5rem;
}

.exec-pub-title {
    font-size: 1.1rem;
    color: #1a1a1a;
    margin-bottom: 0.25rem;
}

.exec-pub-authors {
    color: #666;
    font-style: italic;
    margin-bottom: 0.25rem;
}

.exec-pub-venue {
    color: #666;
    font-size: 0.9rem;
}

.exec-achievement {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #eee;
}

.exec-achieve-title {
    font-size: 1.1rem;
    color: #1a1a1a;
    margin-bottom: 0.25rem;
}

.exec-achieve-year {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.exec-achieve-desc {
    color: #444;
    line-height: 1.6;
}

@media print {
    .exec-header {
        background-color: #1a1a1a !important;
        color: white !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }

    .exec-skill {
        border: 1px solid #eee !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
}

@media (max-width: 768px) {
    .exec-header-main {
        grid-template-columns: 1fr;
    }

    .exec-grid {
        grid-template-columns: 1fr;
    }

    .exec-photo-container {
        text-align: center;
    }
}

/* PDF-specific styles */
@media print {
    .resume-preview {
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    img {
        max-width: 100% !important;
        height: auto !important;
    }
}


.loading-indicator {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 20px 40px;
    border-radius: 8px;
    z-index: 1000;
    font-size: 16px;
}
/* Message Styles */
.message-div {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px 25px;
    border-radius: 5px;
    color: white;
    z-index: 1000;
    animation: slideIn 0.5s ease-out;
}

.message-div.loading {
    background-color: #3498db;
}

.message-div.success {
    background-color: #2ecc71;
}

.message-div.error {
    background-color: #e74c3c;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.user-dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-button {
    background-color: transparent;
    color: white;
    padding: 8px 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.dropdown-button:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.dropdown-arrow {
    font-size: 10px;
    transition: transform 0.3s ease;
}

.dropdown-content {
    display: none;
    position: absolute;
    right: 0;
    background-color: white;
    min-width: 160px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border-radius: 4px;
    z-index: 1;
    margin-top: 5px;
}

.dropdown-content a {
    color: #333;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    transition: background-color 0.3s ease;
}

.dropdown-content a:hover {
    background-color: #f5f5f5;
}

.user-dropdown.active .dropdown-content {
    display: block;
}

.user-dropdown.active .dropdown-arrow {
    transform: rotate(180deg);
}