/* CSS - PrisEnPhoto */

main .container {
    align-items: flex-start;
    justify-content: center;
    width: 100%;
    height: 100%;
    overflow-y: auto;
}

/* Form layout */
.container form {
    display: flex;
    flex-direction: column;
}

form .title {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

form .title h3 {
    color: #d1d1d1;
    text-shadow: 0 0 4px #8f8f8feb;
    margin: 4px;
}

/* Success */
.success {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;

    padding: 50px 30px;
    margin: 30px auto;
    max-width: 550px;

    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 16px;

    animation: successFadeIn 0.5s ease-out;
}

.success h2 {
    color: #166534;
    font-size: 26px;
    font-weight: 700;
    margin: 0 0 12px;
}

.success p {
    color: #4b5563;
    font-size: 16px;
    line-height: 1.6;
    margin: 0 0 25px;
}

.success .check {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 65px;
    height: 65px;

    background: #16a34a;
    color: white;

    border-radius: 50%;
    font-size: 32px;
    font-weight: bold;

    box-shadow: 0 4px 12px rgba(22, 163, 74, 0.2);

    animation: checkPop 0.5s ease-out 0.2s both;
}

@keyframes successFadeIn {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes checkPop {
    0% {
        transform: scale(0);
    }
    70% {
        transform: scale(1.15);
    }
    100% {
        transform: scale(1);
    }
}