/* Disclosure Popup Styles */

/* Overlay */
.disclosure-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.disclosure-popup-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Modal */
.disclosure-popup-modal {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.4);
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow: hidden;
    transform: scale(0.9) translateY(20px);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: flex;
    flex-direction: column;
}

.disclosure-popup-overlay.active .disclosure-popup-modal {
    transform: scale(1) translateY(0);
}

/* Header */
.disclosure-popup-header {
    background: linear-gradient(135deg, #0d5c63 0%, #0a4a50 100%);
    padding: 24px 30px;
    text-align: center;
    position: relative;
}

.disclosure-popup-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #f4d03f, #f5ab35, #f4d03f);
}

.disclosure-popup-header h2 {
    color: #ffffff;
    font-size: 24px;
    font-weight: 700;
    margin: 0;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Content */
.disclosure-popup-content {
    padding: 30px;
    overflow-y: auto;
    flex: 1;
    background: linear-gradient(180deg, #f8fafa 0%, #ffffff 100%);
}

.disclosure-popup-items {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Individual disclosure item */
.disclosure-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 18px;
    background: #ffffff;
    border-radius: 12px;
    border-left: 4px solid #f4d03f;
    box-shadow: 0 2px 12px rgba(13, 92, 99, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.disclosure-item:hover {
    transform: translateX(4px);
    box-shadow: 0 4px 16px rgba(13, 92, 99, 0.12);
}

/* Icon */
.disclosure-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    min-width: 28px;
    background: linear-gradient(135deg, #f4d03f 0%, #f5ab35 100%);
    color: #0d5c63 !important;
    border-radius: 50%;
    font-weight: 800;
    font-size: 16px;
    box-shadow: 0 2px 8px rgba(244, 208, 63, 0.4);
}

/* Text */
.disclosure-text {
    color: #2c3e50;
    font-size: 15px;
    line-height: 1.6;
    flex: 1;
}

/* Footer */
.disclosure-popup-footer {
    padding: 20px 30px 30px;
    background: #ffffff;
    text-align: center;
    border-top: 1px solid rgba(13, 92, 99, 0.1);
}

/* Button */
.disclosure-popup-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 48px;
    background: linear-gradient(135deg, #0d5c63 0%, #0a4a50 100%);
    color: #ffffff;
    font-size: 17px;
    font-weight: 600;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(13, 92, 99, 0.35);
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
}

.disclosure-popup-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.disclosure-popup-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(13, 92, 99, 0.45);
}

.disclosure-popup-btn:hover::before {
    left: 100%;
}

.disclosure-popup-btn:active {
    transform: translateY(-1px);
}

/* Checkmark icon for button */
.disclosure-popup-btn::after {
    content: '✓';
    font-size: 18px;
    opacity: 0.9;
}

/* Responsive */
@media (max-width: 600px) {
    .disclosure-popup-modal {
        width: 95%;
        margin: 10px;
        max-height: 95vh;
    }
    
    .disclosure-popup-header {
        padding: 20px;
    }
    
    .disclosure-popup-header h2 {
        font-size: 20px;
    }
    
    .disclosure-popup-content {
        padding: 20px;
    }
    
    .disclosure-item {
        padding: 14px;
        gap: 12px;
    }
    
    .disclosure-icon {
        width: 24px;
        height: 24px;
        min-width: 24px;
        font-size: 14px;
    }
    
    .disclosure-text {
        font-size: 14px;
    }
    
    .disclosure-popup-footer {
        padding: 15px 20px 25px;
    }
    
    .disclosure-popup-btn {
        padding: 14px 36px;
        font-size: 15px;
        width: 100%;
    }
}

/* Animation for items */
.disclosure-popup-overlay.active .disclosure-item {
    animation: slideIn 0.4s ease forwards;
    opacity: 0;
}

.disclosure-popup-overlay.active .disclosure-item:nth-child(1) { animation-delay: 0.1s; }
.disclosure-popup-overlay.active .disclosure-item:nth-child(2) { animation-delay: 0.15s; }
.disclosure-popup-overlay.active .disclosure-item:nth-child(3) { animation-delay: 0.2s; }
.disclosure-popup-overlay.active .disclosure-item:nth-child(4) { animation-delay: 0.25s; }
.disclosure-popup-overlay.active .disclosure-item:nth-child(5) { animation-delay: 0.3s; }
.disclosure-popup-overlay.active .disclosure-item:nth-child(6) { animation-delay: 0.35s; }

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Pulse animation for button */
.disclosure-popup-btn {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 4px 20px rgba(13, 92, 99, 0.35);
    }
    50% {
        box-shadow: 0 4px 30px rgba(13, 92, 99, 0.5), 0 0 0 10px rgba(13, 92, 99, 0.05);
    }
}

/* Scrollbar styling */
.disclosure-popup-content::-webkit-scrollbar {
    width: 6px;
}

.disclosure-popup-content::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.disclosure-popup-content::-webkit-scrollbar-thumb {
    background: #0d5c63;
    border-radius: 3px;
}

.disclosure-popup-content::-webkit-scrollbar-thumb:hover {
    background: #0a4a50;
}
