
/* Minimal elegant modal design with subtle colors */
.team-modal {
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    animation: fadeIn 0.3s ease;
}

.team-modal-overlay {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    padding: 20px;
}

.team-modal-content {
    background: #ffffff;
    border-radius: 16px;
    max-width: 700px;
    width: 100%;
    max-height: 90vh;
    overflow: hidden;
    position: relative;
    animation: slideIn 0.3s ease;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    border: 1px solid #f0f0f0;
}

/* Simplified close button with minimal styling */
.team-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 32px;
    height: 32px;
    background: transparent;
    border: 1px solid #e0e0e0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: #666;
    cursor: pointer;
    z-index: 1;
    transition: all 0.2s ease;
}

.team-modal-close:hover {
    background: #f5f5f5;
    color: #000;
}

.team-modal-body {
    padding: 40px;
    overflow-y: auto;
    max-height: 90vh;
}

/* Single column layout with centered content */
.team-modal-header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid #f0f0f0;
}

.team-modal-image {
    margin-bottom: 24px;
}

.team-modal-image img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid #f8f8f8;
}

.team-modal-header h2 {
    margin: 0 0 8px 0;
    font-size: 28px;
    font-weight: 300;
    color: #000;
    letter-spacing: -0.5px;
}

/* Minimal position styling with subtle accent */
.modal-position {
    font-size: 14px;
    margin-bottom: 16px;
    color: #c72538;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Clean experience display */
.modal-experience {
    display: inline-block;
    padding: 8px 16px;
    background: #f8f8f8;
    border-radius: 20px;
    font-size: 13px;
    color: #666;
    font-weight: 500;
}

/* Simplified sections with minimal styling */
.modal-section {
    margin-bottom: 32px;
}

.modal-section strong {
    color: #000;
    font-size: 16px;
    font-weight: 600;
    display: block;
    margin-bottom: 12px;
    position: relative;
}

/* Subtle accent line under section titles */
.modal-section strong::after {
    content: "";
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 30px;
    height: 2px;
    background: #c72538;
}

.modal-journey p,
.modal-character p {
    color: #555;
    line-height: 1.7;
    margin: 0;
    font-size: 15px;
    font-weight: 400;
}

/* Clean list styling without background colors */
.modal-skills ul,
.modal-qualities ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.modal-skills li,
.modal-qualities li {
    background: transparent;
    color: #666;
    padding: 6px 12px;
    border: 1px solid #e0e0e0;
    border-radius: 16px;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.modal-skills li:hover,
.modal-qualities li:hover {
    border-color: #c72538;
    color: #c72538;
}

/* Responsive design */
@media (max-width: 768px) {
    .team-modal-content {
        margin: 10px;
        border-radius: 12px;
    }

    .team-modal-body {
        padding: 30px 25px;
    }

    .team-modal-header h2 {
        font-size: 24px;
    }

    .team-modal-image img {
        width: 100px;
        height: 100px;
    }
}

/* Simple animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

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