.stat-card {
    cursor: pointer;
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* <CHANGE> Removed active state color change - cards no longer change color when clicked */
.stat-card.active {
    background-color: white !important;
}

.custom-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1050;
    align-items: center;
    justify-content: center;
}

.custom-popup.show {
    display: flex;
}

/* <CHANGE> Simplified popup styling - cleaner, centered, white background */
.custom-popup-content {
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    animation: slideIn 0.3s ease;
    text-align: center;
}

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

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

/* <CHANGE> Centered popup header */
.custom-popup-header {
    padding: 24px 20px 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.custom-popup-header h5 {
    margin: 0;
    font-weight: 600;
    color: #1a1a1a;
    font-size: 18px;
}

/* <CHANGE> Positioned close button absolutely */
.custom-popup-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #999;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    right: 20px;
    top: 20px;
}

.custom-popup-close:hover {
    color: #333;
}

/* <CHANGE> Centered popup body */
.custom-popup-body {
    padding: 0 20px;
}

/* <CHANGE> Centered popup footer with centered buttons */
.custom-popup-footer {
    padding: 16px 20px 24px;
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.popup-btn {
    padding: 10px 24px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
    min-width: 100px;
}

.popup-btn-secondary {
    background-color: #f0f0f0;
    color: #666;
}

.popup-btn-secondary:hover {
    background-color: #e0e0e0;
}

.popup-btn-danger {
    background-color: #dc3545;
    color: white;
}

.popup-btn-danger:hover {
    background-color: #c82333;
}

.popup-btn-primary {
    background-color: #368186 !important;
    color: white;
}

.popup-btn-primary:hover {
    background-color: #1f4d7a;
}

/* <CHANGE> Centered detail rows */
.detail-row {
    display: flex;
    margin-bottom: 16px;
    gap: 20px;
    /* align-items: center; */
    /* text-align: center; */
}

.detail-label {
    font-weight: 600;
    color: #666;
    font-size: 16px;
}

.detail-value {
    color: #1a1a1a;
    text-align: left;
    word-break: break-word;
    font-size: 16px;
}

/* <CHANGE> Centered confirmation message */
.confirmation-message {
    color: #666;
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
}