#register-page{padding-bottom: 91px;}

.deco-top-left{
    position: absolute;
    top: 0; left: 0;
    max-width: 20%;
}

.deco-bottom-right{
    position: absolute;
    bottom: 21px; right: 0;
    max-width: 19%;
}

.deco-wrapper{position: relative; z-index: 3; bottom: -91px}

#register-page h1{
    text-align: center;
    margin-top: 14px;
    line-height: 1.3;
    font-size: clamp(24px, 6.5vw, 40px);
    text-transform: uppercase;
}

.safari img{
    margin: 0 auto;
    max-width: 70%;
}

.auth-section{
    background-color: rgba(255,255,255,0.83);
    margin-top: 30px;
    padding: 30px clamp(30px, 7vw, 49px);
}

h2{
    font-size: clamp(26px, 5vw, 35px);
    font-weight: 600;
    text-transform: uppercase;
}

#registered{text-align: center;}

#registered .btn,
#register .btn,
#login .btn,
#forgot .btn{
    margin: 0 auto;
    max-width: 65%;
    min-height: 50px;
    border-radius: 50px;
    font-size: clamp(20px, 4vw, 28px);
}

#registered .btn,
#login .btn{
    margin: 30px auto;
}

#registered a:not(.btn),
#login a:not(.btn){
    color: var(--marron);
    font-size: clamp(20px, 4vw, 28px);
    font-weight: 500;
    text-decoration: none;
    text-align: center;
}

#registered a:not(.btn):hover,
#login a:not(.btn):hover{
    text-decoration: underline;
}

#register h2, #login h2, #forgot h2{
    text-align: center;
}

#register form, #login form, #forgot form{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 21px;
    margin-top: 50px;
}

#login form, #forgot form{grid-template-columns: 1fr}

.form-group .error{
    color: red;
    font-size: 12px;
    display: inline-block;
    padding-left: 35px;
}

.email-group, .address-group, .checkbox-group, button[type="submit"]{
    grid-column: 1/-1;
}

#register label, #login label, #forgot label{
    font-size: 18px;
    padding-left: 35px;
}

#register form input:not([type="checkbox"]):not([type="radio"]),
#login form input:not([type="checkbox"]):not([type="radio"]),
#forgot form input:not([type="checkbox"]):not([type="radio"]){
    background-color: transparent;
    border: var(--marron) 1px solid;
    min-height: 50px;
    border-radius: 35px;
    font-size: clamp(24px, 4vw, 28px);
    padding: 10px 28px;
    color: var(--marron);
}

#forgot p{
    font-size: 20px;
    text-align: center;
    margin-top: 50px;
}

.checkbox-group{position: relative; padding-left: 70px;}

#register form input[type="checkbox"],#register form input[type="radio"]{
    position: absolute;
    opacity: 0;
}

#register .checkbox-group label{padding-left: 0}

.checkbox-group label:before,.checkbox-group label:after
{
    content: "";
    position: absolute;
    top: 0; left: 35px;
    width: 21px; height: auto;
    aspect-ratio: 1;
}

.checkbox-group label:before{
    border: var(--marron) 1px solid;
}

.checkbox-group input:checked + label:before{
    background-color: var(--marron);
}

.checkbox-group label:after{
    background: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 640"%3E%3C!--!Font Awesome Free v7.1.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2025 Fonticons, Inc.--%3E%3Cpath d="M530.8 134.1C545.1 144.5 548.3 164.5 537.9 178.8L281.9 530.8C276.4 538.4 267.9 543.1 258.5 543.9C249.1 544.7 240 541.2 233.4 534.6L105.4 406.6C92.9 394.1 92.9 373.8 105.4 361.3C117.9 348.8 138.2 348.8 150.7 361.3L252.2 462.8L486.2 141.1C496.6 126.8 516.6 123.6 530.9 134z" fill="%23fff"/%3E%3C/svg%3E');
    background-repeat: no-repeat;
    background-size: contain;
    display: none;
}

.checkbox-group input:checked + label:after{
    display: block;
}

#aide-section{
    padding: 30px 0;
    text-align: center;
}

#aide-section h2{
    font-size: clamp(24px, 4vw, 28px);
    font-weight: 600;
    line-height: 1.2;
    color: white;
    margin: 0;
    text-transform: initial;
}

#aide-section p{
    margin-bottom: 0;
    font-size: 12px;
    font-weight: 500;
    color: white;
    line-height: 1;
}

#register-page.instant h2{
    font-size: 20px;
}

@media (max-width: 768px) {
    .deco-wrapper{display: none;}
    #register form{grid-template-columns: 1fr;}
}

@media (max-width: 480px) {
    #register-page{padding-bottom: 0;}
    #registered .btn, #register .btn, #login .btn{max-width: 100%;}
    #register-page h1{font-size: 1.5em;}
    #forgot p br{display: none}
}