/* ===== MODAL OVERLAY ===== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* ===== MODAL CONTENT ===== */
.modal-content {
    background: white;
    border-radius: 20px;
    padding: 0;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: scale(0.9) translateY(-20px);
    transition: all 0.3s ease;
    overflow: hidden;
}

.modal-overlay.active .modal-content {
    transform: scale(1) translateY(0);
}

/* ===== MODAL HEADER ===== */
.modal-header {
    background: linear-gradient(135deg, #FF6B35 0%, #ff8c5a 100%);
    padding: 40px 30px;
    text-align: center;
    color: white;
    position: relative;
}

.modal-icon {
    font-size: 4rem;
    margin-bottom: 15px;
    display: block;
    animation: bounce 1s ease infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.modal-header h2 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.modal-header p {
    font-size: 1.05rem;
    opacity: 0.95;
}

/* ===== MODAL BODY ===== */
.modal-body {
    padding: 35px 30px;
    text-align: center;
}

.modal-message {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 30px;
}

.modal-highlight {
    background: #fff0e8;
    border-left: 4px solid #FF6B35;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 30px;
}

.modal-highlight strong {
    color: #FF6B35;
    font-size: 1.2rem;
}

.modal-highlight p {
    color: #666;
    margin-top: 8px;
    font-size: 0.95rem;
}

/* ===== MODAL ACTIONS ===== */
.modal-actions {
    display: flex;
    gap: 15px;
    flex-direction: column;
}

.modal-btn {
    padding: 16px 30px;
    border: none;
    border-radius: 12px;
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.modal-btn-primary {
    background: #FF6B35;
    color: white;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.modal-btn-primary:hover {
    background: #ff8c5a;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
}

.modal-btn-secondary {
    background: transparent;
    color: #666;
    border: 2px solid #e0e0e0;
}

.modal-btn-secondary:hover {
    background: #f5f5f5;
    border-color: #FF6B35;
    color: #FF6B35;
}

/* ===== CLOSE BUTTON ===== */
.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    transition: all 0.2s ease;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 600px) {
    .modal-content {
        width: 95%;
        margin: 20px;
    }
    
    .modal-header {
        padding: 30px 20px;
    }
    
    .modal-header h2 {
        font-size: 1.5rem;
    }
    
    .modal-body {
        padding: 25px 20px;
    }
    
    .modal-icon {
        font-size: 3rem;
    }
}
