* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.info-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    z-index: 1999;
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.info-modal.show {
    display: block;
    opacity: 1;
}

.modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    width: 95%;
    max-width: 1000px;
    max-height: 90vh;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.info-modal.show .modal-content {
    transform: translate(-50%, -50%) scale(1);
}

.modal-close {
    position: absolute;
    top: 3px;
    right: 6px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    color: #1f2937;
    border: none;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
}

.modal-close:hover {
    background: #ffffff;
    transform: rotate(90deg) scale(1.1);
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}

/* Compact Professional Header */
.modal-header {
    position: relative;
    background: linear-gradient(135deg, #c7d7f3 0%, #7cb7d4 100%);
    padding: 1.75rem 2rem 1.5rem;
    color: white;
    overflow: hidden;
}

.header-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.profile-container {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.profile-image-section {
    flex-shrink: 0;
}

.image-wrapper {
    position: relative;
}

.profile-image {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}

.status-indicator {
    position: absolute;
    bottom: 4px;
    right: 4px;
    width: 20px;
    height: 20px;
    background: #34d399;
    border-radius: 50%;
    border: 2px solid white;
    display: flex;
    align-items: center;
    justify-content: center;
}

.status-dot {
    width: 6px;
    height: 6px;
    background: white;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.6;
    }
}

.profile-details {
    flex: 1;
    min-width: 0;
}

.member-name {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 0.4rem 0;
    line-height: 1.2;
}

.member-position {
    font-size: 1rem;
    margin: 0 0 0.75rem 0;
    opacity: 0.9;
    font-weight: 500;
}

.member-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.experience-badge {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.4rem 0.8rem;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 500;
    backdrop-filter: blur(10px);
}

.availability-status {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    font-weight: 500;
}

.status-icon {
    width: 6px;
    height: 6px;
    background: #34d399;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.quick-stats {
    display: flex;
    gap: 1rem;
    flex-shrink: 0;
}

.stat-box {
    text-align: center;
    background: rgba(255, 255, 255, 0.15);
    padding: 0.75rem 0.5rem;
    border-radius: 12px;
    min-width: 60px;
    backdrop-filter: blur(10px);
}

.stat-number-info {
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 0.2rem;
}

.stat-label {
    font-size: 0.7rem;
    opacity: 0.9;
    font-weight: 500;
}

/* Main Content */
.modal-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    padding: 2rem;
    max-height: 60vh;
    overflow-y: auto;
}

.content-column {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

/* Info Cards */
.info-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    transition: all 0.3s ease;
}

.info-card:hover {
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    transform: translateY(-2px);
    border-color: #34d399;
}

.card-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.25rem 1.5rem 1rem;
    background: #f9fafb;
    border-bottom: 1px solid #e5e7eb;
}

.header-icon {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #059669, #10b981);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
}

.card-header h3 {
    font-size: 1rem;
    font-weight: 600;
    color: #1f2937;
    margin: 0;
}

.card-body {
    padding: 1.5rem;
}

/* Contact Information */
.contact-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #f9fafb;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
}

.contact-row:hover {
    background: #ffffff;
    box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    transform: translateX(3px);
}

.contact-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon.email {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: white;
}

.contact-icon.phone {
    background: linear-gradient(135deg, #059669, #047857);
    color: white;
}

.contact-icon.time {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
}

.contact-info {
    flex: 1;
    min-width: 0;
}

.contact-label {
    display: block;
    font-size: 0.8rem;
    color: #9ca3af;
    font-weight: 500;
    margin-bottom: 0.3rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-value {
    color: #1f2937;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: color 0.3s ease;
    word-break: break-all;
}

.contact-value:hover {
    color: #059669;
}

/* About Section */
.about-text {
    color: #6b7280;
    line-height: 1.6;
    margin: 0 0 1.5rem 0;
    font-size: 0.95rem;
}

.achievements {
    margin-top: 1rem;
}

.achievements-title {
    font-size: 1rem;
    font-weight: 600;
    color: #1f2937;
    margin: 0 0 0.75rem 0;
}

.achievement-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.achievement-tag {
    background: linear-gradient(135deg, #f9fafb, #f3f4f6);
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    color: #1f2937;
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
}

.achievement-tag:hover {
    background: #ffffff;
    box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    transform: translateY(-1px);
}

/* Donations */
.donations-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.donation-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: #f9fafb;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
}

.donation-item:hover {
    background: #ffffff;
    box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    transform: translateY(-1px);
}

.donation-details {
    flex: 1;
}

.donation-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.2rem;
}

.donation-date {
    font-size: 0.8rem;
    color: #9ca3af;
    font-weight: 500;
}

.donation-amount {
    font-size: 1rem;
    font-weight: 700;
    color: #059669;
}

.total-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem;
    background: linear-gradient(135deg, #059669, #10b981);
    color: white;
    border-radius: 12px;
    box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
}

.total-label {
    font-size: 1rem;
    font-weight: 600;
}

.total-amount {
    font-size: 1.4rem;
    font-weight: 700;
}

/* Impact Statistics */
.impact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.impact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: #f9fafb;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
}

.impact-item:hover {
    background: #ffffff;
    box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    transform: translateY(-2px);
}

.impact-icon {
    font-size: 1.5rem;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    flex-shrink: 0;
}

.impact-content {
    flex: 1;
}

.impact-number {
    font-size: 1.1rem;
    font-weight: 700;
    color: #059669;
    line-height: 1;
    margin-bottom: 0.2rem;
}

.impact-label {
    font-size: 0.8rem;
    color: #6b7280;
    font-weight: 500;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .modal-body {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .quick-stats {
        gap: 0.75rem;
    }

    .stat-box {
        min-width: 50px;
        padding: 0.6rem 0.4rem;
    }
}

@media (max-width: 768px) {
    .modal-content {
        width: 98%;
        max-height: 95vh;
    }

    .modal-header {
        padding: 1.5rem 1.5rem 1.25rem;
    }

    .profile-container {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .quick-stats {
        justify-content: center;
    }

    .modal-body {
        padding: 1.5rem;
        gap: 1rem;
    }

    .impact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .modal-close {
        top: 15px;
        right: 15px;
        width: 36px;
        height: 36px;
        font-size: 16px;
    }

    .modal-header {
        padding: 1.25rem 1rem 1rem;
    }

    .member-name {
        font-size: 1.25rem;
    }

    .modal-body {
        padding: 1rem;
    }

    .card-body {
        padding: 1.25rem;
    }

    .member-meta {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }
}

/* Custom Scrollbar */
.modal-body::-webkit-scrollbar {
    width: 6px;
}

.modal-body::-webkit-scrollbar-track {
    background: #f9fafb;
    border-radius: 3px;
}

.modal-body::-webkit-scrollbar-thumb {
    background: #d1d5db;
    border-radius: 3px;
}

.modal-body::-webkit-scrollbar-thumb:hover {
    background: #9ca3af;
}