/* Success Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-container {
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-width: 580px;
    width: 92%;
    max-height: 85vh;
    overflow: hidden;
    transform: scale(0.8) translateY(30px);
    transition: all 0.3s ease;
    position: relative;
}

.modal-overlay.active .modal-container {
    transform: scale(1) translateY(0);
}

.modal-header {
    background: linear-gradient(135deg, var(--primary-color), #d63431);
    color: white;
    padding: 1.5rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.modal-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 20"><defs><pattern id="wave" x="0" y="0" width="100" height="20" patternUnits="userSpaceOnUse"><path d="M0 20h100V0c-20 0-20 20-50 20S0 0 0 20z" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="20" fill="url(%23wave)"/></svg>') repeat;
    opacity: 0.3;
}

.modal-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    z-index: 1;
    position: relative;
}

.modal-logo-img {
    width: 90px;
    height: auto;
    filter: brightness(1.2) drop-shadow(0 2px 8px rgba(0, 0, 0, 0.2));
    border-radius: 12px;
    transition: all 0.3s ease;
}

.modal-logo-img:hover {
    transform: scale(1.05);
    filter: brightness(1.3) drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
}

.modal-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 1;
    position: relative;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.modal-body {
    padding: 2rem 2rem;
    text-align: center;
}

.success-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), #d63431);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: successPulse 1.5s ease-out;
    box-shadow: 0 8px 25px rgba(234, 85, 71, 0.3);
}

.success-icon i {
    font-size: 2.5rem;
    color: white;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

@keyframes successPulse {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.modal-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 1rem 0;
    animation: slideInUp 0.6s ease-out 0.3s both;
}

.modal-message {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0 0 2rem 0;
    animation: slideInUp 0.6s ease-out 0.4s both;
}

.modal-details {
    background: #f8fafc;
    border-radius: 12px;
    padding: 1.25rem;
    margin-bottom: 1.25rem;
    animation: slideInUp 0.6s ease-out 0.5s both;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.6rem 0;
    border-bottom: 1px solid #e2e8f0;
}

.detail-item:last-child {
    border-bottom: none;
}

.detail-label {
    font-weight: 600;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.detail-value {
    font-weight: 700;
    color: var(--text-primary);
    font-size: 0.9rem;
}

.status-pending {
    background: #fef3c7;
    color: #92400e;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-footer {
    background: #f8fafc;
    padding: 1.25rem 2rem 2rem 2rem;
    display: flex;
    gap: 1rem;
    justify-content: center;
    border-top: 1px solid #e2e8f0;
}

.modal-footer .btn {
    min-width: 140px;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.modal-footer .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Large Screens (2561px and above) */
@media (min-width: 2561px) {
    .modal-container {
        max-width: 800px;
        width: 35%;
    }
    
    .modal-body {
        padding: 3rem 2.5rem;
    }
    
    .modal-header {
        padding: 2rem 2.5rem;
    }
    
    .modal-footer {
        padding: 1.75rem 2.5rem 2.5rem 2.5rem;
    }
    
    .modal-logo-img {
        width: 120px;
        filter: brightness(1.2) drop-shadow(0 2px 8px rgba(0, 0, 0, 0.2));
    }
    
    .modal-logo-img:hover {
        filter: brightness(1.3) drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
    }
    
    .success-icon {
        width: 100px;
        height: 100px;
    }
    
    .success-icon i {
        font-size: 3rem;
    }
    
    .modal-title {
        font-size: 2.2rem;
    }
    
    .modal-message {
        font-size: 1.1rem;
    }
    
    .modal-details {
        padding: 1.75rem;
    }
    
    .detail-item {
        padding: 0.8rem 0;
    }
    
    .detail-label,
    .detail-value {
        font-size: 1rem;
    }
    
    .modal-footer .btn {
        min-width: 180px;
        padding: 1rem 2rem;
        font-size: 1rem;
    }
}

/* Extra Large Screens (1920px to 2560px) */
@media (min-width: 1920px) and (max-width: 2560px) {
    .modal-container {
        max-width: 720px;
        width: 38%;
    }
    
    .modal-body {
        padding: 2.5rem 2.25rem;
    }
    
    .modal-header {
        padding: 1.75rem 2.25rem;
    }
    
    .modal-footer {
        padding: 1.5rem 2.25rem 2.25rem 2.25rem;
    }
    
    .modal-logo-img {
        width: 110px;
        filter: brightness(1.2) drop-shadow(0 2px 8px rgba(0, 0, 0, 0.2));
    }
    
    .modal-logo-img:hover {
        filter: brightness(1.3) drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
    }
    
    .success-icon {
        width: 90px;
        height: 90px;
    }
    
    .success-icon i {
        font-size: 2.75rem;
    }
    
    .modal-title {
        font-size: 2rem;
    }
    
    .modal-message {
        font-size: 1.05rem;
    }
    
    .modal-details {
        padding: 1.5rem;
    }
    
    .detail-item {
        padding: 0.7rem 0;
    }
    
    .detail-label,
    .detail-value {
        font-size: 0.95rem;
    }
    
    .modal-footer .btn {
        min-width: 160px;
        padding: 0.875rem 1.75rem;
        font-size: 0.95rem;
    }
}

/* Large Desktop (1440px to 1920px) */
@media (min-width: 1440px) and (max-width: 1919px) {
    .modal-container {
        max-width: 650px;
        width: 45%;
    }
    
    .modal-body {
        padding: 2.25rem;
    }
    
    .modal-header,
    .modal-footer {
        padding: 1.5rem 2.25rem;
    }
    
    .modal-footer {
        padding: 1.5rem 2.25rem 2.25rem 2.25rem;
    }
    
    .modal-logo-img {
        width: 100px;
        filter: brightness(1.2) drop-shadow(0 2px 8px rgba(0, 0, 0, 0.2));
    }
    
    .modal-logo-img:hover {
        filter: brightness(1.3) drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
    }
    
    .success-icon {
        width: 85px;
        height: 85px;
    }
    
    .success-icon i {
        font-size: 2.6rem;
    }
    
    .modal-title {
        font-size: 1.9rem;
    }
    
    .modal-footer .btn {
        min-width: 150px;
        padding: 0.8rem 1.6rem;
    }
}

/* Mobile Responsive Design */
@media (max-width: 768px) {
    .modal-container {
        width: 95%;
        margin: 1rem;
        max-width: none;
    }

    .modal-header,
    .modal-body,
    .modal-footer {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }

    .modal-body {
        padding-top: 1.75rem;
        padding-bottom: 1.75rem;
    }

    .modal-footer {
        padding: 1rem 1.5rem 1.5rem 1.5rem;
        flex-direction: row;
        align-items: center;
        gap: 0.75rem;
    }

    .modal-logo-img {
        width: 95px;
        filter: brightness(1.2) drop-shadow(0 2px 8px rgba(0, 0, 0, 0.2));
    }

    .modal-logo-img:hover {
        filter: brightness(1.3) drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
    }

    .modal-title {
        font-size: 1.5rem;
    }

    .modal-message {
        font-size: 0.9rem;
    }

    .modal-footer .btn {
        flex: 1;
        min-width: auto;
        max-width: none;
        padding: 0.7rem 1rem;
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .modal-header {
        padding: 1rem 1.25rem;
    }

    .modal-body {
        padding: 1.5rem 1.25rem;
    }

    .modal-footer {
        padding: 1rem 1.25rem 1.5rem 1.25rem;
        gap: 0.5rem;
    }

    .modal-logo-img {
        width: 85px;
        filter: brightness(1.2) drop-shadow(0 2px 8px rgba(0, 0, 0, 0.2));
    }

    .modal-logo-img:hover {
        filter: brightness(1.3) drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
    }

    .success-icon {
        width: 70px;
        height: 70px;
    }

    .success-icon i {
        font-size: 2rem;
    }

    .modal-title {
        font-size: 1.3rem;
    }

    .modal-footer .btn {
        padding: 0.65rem 0.8rem;
        font-size: 0.8rem;
    }
} 