/* ========================================
   SUCCESS PAGE SPECIFIC STYLES
   ======================================== */

/* Success Page Body Override */
.success-page-body {
    margin: 0;
    padding: 0;
    font-family: 'Prompt', sans-serif;
    background: linear-gradient(135deg, #fff200 0%, #fff200 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

/* Background Image */
.success-background-image {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('img/AI-Transform-background.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    z-index: -1;
}

/* Success Container */
.success-container {
    background: white;
    border-radius: 20px;
    padding: 60px 40px;
    margin-top: 20px;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    width: 90%;
    position: relative;
    overflow: hidden;
}


/* Success Icon */
.success-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #4CAF50, #8BC34A);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    animation: success-bounce-in 0.8s ease-out;
}

.success-icon i {
    font-size: 50px;
    color: white;
}

/* Success Typography */
.success-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 20px;
    animation: success-fade-in-up 0.8s ease-out 0.2s both;
}

.success-message {
    font-size: 1.2rem;
    color: #7f8c8d;
    margin-bottom: 40px;
    line-height: 1.6;
    animation: success-fade-in-up 0.8s ease-out 0.4s both;
}

/* QR Section */
.success-qr-section {
    background: #fff9ed;
    border: 1px solid rgba(255, 193, 7, 0.3);
    border-radius: 15px;
    padding: 30px;
    margin: 30px 0;
    animation: success-fade-in-up 0.8s ease-out 0.6s both;
}

.success-qr-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 20px;
}

.success-qr-code {
    width: 200px;
    height: 200px;
    background: white;
    border-radius: 15px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    position: relative;
}


.success-qr-code img,
.success-qr-image {
    width: 200px;
    height: 200px;
    border-radius: 10px;
    object-fit: contain;
    display: block;
}

.success-qr-placeholder {
    width: 180px;
    height: 180px;
    background: #e9ecef;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6c757d;
    font-size: 0.9rem;
    text-align: center;
    line-height: 1.4;
}

.success-qr-description {
    font-size: 0.8rem;
    color: #5a6c7d;
    line-height: 1.4;
    margin-top: 15px;
    font-weight: 500;
    text-align: center;
}

/* Device-specific visibility */
.desktop-only {
    display: block;
}

.mobile-only {
    display: none;
}

/* Line Link Button */
.success-line-link {
    margin-top: 20px;
    text-align: center;
}

.success-link-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #00C300, #00A000);
    color: white;
    text-decoration: none;
    padding: 15px 25px;
    border-radius: 25px;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 195, 0, 0.3);
    font-family: 'Prompt', sans-serif;
}


.success-link-button i {
    font-size: 1.3rem;
}

.success-link-description {
    margin-top: 15px;
    font-size: 0.8rem;
    color: #5a6c7d;
    line-height: 1.4;
    font-weight: 500;
    text-align: center;
}


/* Success Page Animations */
@keyframes success-bounce-in {
    0% {
        transform: scale(0.3);
        opacity: 0;
    }
    50% {
        transform: scale(1.05);
    }
    70% {
        transform: scale(0.9);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes success-fade-in-up {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Success Page Responsive Design */
@media (max-width: 768px) {
    .success-container {
        padding: 40px 20px;
        margin-top: 10px;
    }

    .success-title {
        font-size: 2rem;
    }

    .success-message {
        font-size: 1.1rem;
    }

    /* Switch visibility on mobile */
    .desktop-only {
        display: none;
    }

    .mobile-only {
        display: block;
    }

    .success-qr-code {
        width: 150px;
        height: 150px;
    }

    .success-qr-code img,
    .success-qr-image,
    .success-qr-placeholder {
        width: 130px;
        height: 130px;
    }

    .success-link-button {
        padding: 18px 30px;
        font-size: 1.2rem;
        width: 100%;
        justify-content: center;
    }
}

