﻿:root {
    --theme-color: #406882;
    --theme-light: #5a7a94;
    --theme-lighter: #e8f0f4;
    --theme-dark: #2d4a5f;
}

.resume-modal {
    border: none;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(64, 104, 130, 0.15);
    overflow: hidden;
}

    .resume-modal .modal-header {
        background: linear-gradient(135deg, var(--theme-color), var(--theme-light));
        color: white;
        border: none;
        padding: 1.5rem 2rem;
        border-radius: 20px 20px 0 0;
    }

        .resume-modal .modal-header .modal-title {
            font-weight: 600;
            font-size: 1.25rem;
        }

        .resume-modal .modal-header .btn-close {
            filter: brightness(0) invert(1);
            opacity: 0.8;
            transition: all 0.3s ease;
        }

            .resume-modal .modal-header .btn-close:hover {
                opacity: 1;
                transform: scale(1.1);
            }

    .resume-modal .modal-body {
        padding: 2rem;
        background: #fafbfc;
        max-height: 70vh;
        overflow-y: auto;
    }

        .resume-modal .modal-body::-webkit-scrollbar {
            width: 8px;
        }

        .resume-modal .modal-body::-webkit-scrollbar-track {
            background: #f1f1f1;
            border-radius: 10px;
        }

        .resume-modal .modal-body::-webkit-scrollbar-thumb {
            background: var(--theme-color);
            border-radius: 10px;
            opacity: 0.7;
        }

            .resume-modal .modal-body::-webkit-scrollbar-thumb:hover {
                background: var(--theme-dark);
            }

    .resume-modal .modal-footer {
        border: none;
        padding: 1.5rem 2rem;
        background: white;
        border-radius: 0 0 20px 20px;
    }

        .resume-modal .modal-footer .btn {
            border-radius: 12px;
            padding: 0.75rem 2rem;
            font-weight: 500;
            transition: all 0.3s ease;
        }

        .resume-modal .modal-footer .btn-light {
            background: #f8f9fa;
            border: 1px solid #e9ecef;
            color: #6c757d;
        }

            .resume-modal .modal-footer .btn-light:hover {
                background: var(--theme-lighter);
                border-color: var(--theme-color);
                color: var(--theme-color);
                transform: translateY(-1px);
            }

/* Member Header */
.member-header {
    display: flex;
    align-items: center;
    background: white;
    padding: 2rem;
    border-radius: 20px;
    margin-bottom: 2rem;
    box-shadow: 0 4px 20px rgba(64, 104, 130, 0.08);
    border: 1px solid var(--theme-lighter);
}

.member-avatar-container {
    margin-left: 1.5rem;
}

.member-avatar-large {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--theme-color);
    box-shadow: 0 4px 15px rgba(64, 104, 130, 0.2);
}

.member-info {
    flex: 1;
}

.member-name {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--theme-dark);
    margin-bottom: 0.5rem;
}

.member-position {
    font-size: 1.1rem;
    color: var(--theme-color);
    font-weight: 500;
    margin: 0;
}

/* Resume Sections */
.resume-section {
    background: white;
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border: 1px solid var(--theme-lighter);
    box-shadow: 0 2px 12px rgba(64, 104, 130, 0.06);
    transition: all 0.3s ease;
}

    .resume-section:hover {
        box-shadow: 0 4px 20px rgba(64, 104, 130, 0.1);
        transform: translateY(-2px);
    }

.section-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--theme-lighter);
}

.section-icon {
    font-size: 1.2rem;
    color: var(--theme-color);
    margin-left: 0.75rem;
    width: 20px;
    text-align: center;
}

.section-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--theme-dark);
    margin: 0;
}

.section-content {
    line-height: 1.6;
}

/* Resume Items */
.resume-item {
    padding: 1rem 0;
    border-bottom: 1px solid #f0f0f0;
}

    .resume-item:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }

.item-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--theme-dark);
    margin-bottom: 0.5rem;
}

.item-subtitle {
    font-size: 0.9rem;
    color: var(--theme-color);
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.item-date {
    font-size: 0.85rem;
    color: #6c757d;
    margin-bottom: 0.5rem;
}

.item-description {
    font-size: 0.9rem;
    color: #495057;
    line-height: 1.5;
}

/* Skills */
.skill-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;
    background: var(--theme-lighter);
    border-radius: 8px;
    margin-bottom: 0.5rem;
}

    .skill-item:last-child {
        margin-bottom: 0;
    }

.skill-name {
    font-weight: 500;
    color: var(--theme-dark);
}

.skill-level {
    font-size: 0.85rem;
    color: var(--theme-color);
    background: white;
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    font-weight: 500;
}

/* Languages */
.language-item {
    background: var(--theme-lighter);
    padding: 0.75rem 1rem;
    border-radius: 8px;
    margin-bottom: 0.5rem;
}

    .language-item:last-child {
        margin-bottom: 0;
    }

.language-name {
    font-weight: 500;
    color: var(--theme-dark);
}

.language-level {
    font-size: 0.85rem;
    color: var(--theme-color);
    background: white;
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    font-weight: 500;
    margin-right: 0.5rem;
}

.language-description {
    font-size: 0.85rem;
    color: #6c757d;
    margin-top: 0.5rem;
}

/* Interests */
.interest-item {
    background: var(--theme-lighter);
    padding: 0.75rem 1rem;
    border-radius: 8px;
    margin-bottom: 0.5rem;
}

    .interest-item:last-child {
        margin-bottom: 0;
    }

.interest-name {
    font-weight: 500;
    color: var(--theme-dark);
    display: block;
}

.interest-description {
    font-size: 0.85rem;
    color: #6c757d;
    margin-top: 0.5rem;
}

/* Summary */
.summary-text {
    font-size: 1rem;
    line-height: 1.6;
    color: #495057;
    margin: 0;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 3rem 2rem;
    background: white;
    border-radius: 16px;
    border: 1px solid var(--theme-lighter);
}

.empty-icon {
    font-size: 3rem;
    color: var(--theme-color);
    margin-bottom: 1rem;
    opacity: 0.6;
}

.empty-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--theme-dark);
    margin-bottom: 0.5rem;
}

.empty-description {
    color: #6c757d;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .resume-modal .modal-body {
        padding: 1rem;
    }

    .member-header {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
    }

    .member-avatar-container {
        margin-left: 0;
        margin-bottom: 1rem;
    }

    .member-avatar-large {
        width: 80px;
        height: 80px;
    }

    .member-name {
        font-size: 1.5rem;
    }

    .member-position {
        font-size: 1rem;
    }

    .resume-section {
        padding: 1rem;
    }

    .section-header {
        margin-bottom: 1rem;
        padding-bottom: 0.75rem;
    }
}

/* Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.resume-section {
    animation: fadeInUp 0.3s ease forwards;
}

    .resume-section:nth-child(1) {
        animation-delay: 0.1s;
    }

    .resume-section:nth-child(2) {
        animation-delay: 0.2s;
    }

    .resume-section:nth-child(3) {
        animation-delay: 0.3s;
    }

    .resume-section:nth-child(4) {
        animation-delay: 0.4s;
    }

    .resume-section:nth-child(5) {
        animation-delay: 0.5s;
    }
