/* 
* Pawtica - Thank You Page Styles
* Dedicated stylesheet for the thank you confirmation page
*/

/* Thank You Section */
.thanks-section {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    padding: 6rem 0;
    background-color: var(--neutral-100);
    position: relative;
    overflow: hidden;
}

.thanks-wrapper {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    padding: 3rem;
    background-color: var(--light-color);
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    position: relative;
    z-index: 10;
}

.thanks-icon {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
}

/* Animated Checkmark */
.checkmark {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-circle);
    display: block;
    stroke-width: 2;
    stroke: var(--light-color);
    stroke-miterlimit: 10;
    margin: 0 auto;
    box-shadow: inset 0 0 0 var(--primary-color);
    animation: fill .4s ease-in-out .4s forwards, scale .3s ease-in-out .9s both;
}

.checkmark-circle {
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    stroke-width: 2;
    stroke-miterlimit: 10;
    stroke: var(--primary-color);
    fill: none;
    animation: stroke .6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.checkmark-check {
    transform-origin: 50% 50%;
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    stroke-width: 3;
    stroke: var(--light-color);
    animation: stroke .3s cubic-bezier(0.65, 0, 0.45, 1) .8s forwards;
}

@keyframes stroke {
    100% {
        stroke-dashoffset: 0;
    }
}

@keyframes scale {
    0%, 100% {
        transform: none;
    }
    50% {
        transform: scale3d(1.1, 1.1, 1);
    }
}

@keyframes fill {
    100% {
        box-shadow: inset 0 0 0 80px var(--primary-color);
    }
}

.thanks-wrapper h1 {
    color: var(--accent-dark);
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.thanks-wrapper h1::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -10px;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

.thanks-wrapper p {
    color: var(--neutral-700);
    line-height: 1.7;
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.thanks-cta {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.thanks-cta .btn-primary,
.thanks-cta .btn-secondary {
    min-width: 180px;
}



/* Responsive Styles */
@media (max-width: 768px) {
    .thanks-wrapper {
        padding: 2rem;
    }

    .thanks-cta {
        flex-direction: column;
    }

    .checkmark {
        width: 70px;
        height: 70px;
    }
}

@media (max-width: 576px) {
    .thanks-section {
        padding: 4rem 0;
    }


    .checkmark {
        width: 60px;
        height: 60px;
    }
} 