@charset "UTF-8";
/*----------------------------------------------------------------------------
 * Angels, Inc - /public/auth/auth.css
 * Version v1.3.1
 * Copyright(c) 2017-2026 Angels, Inc
 * Author: Jacques Deguest <jacques.deguest@angels-inc.com>
 * Created 2018/03/25
 * Modified 2026/10/21
 * All rights reserved.
 *
 * Permission to use, copy, modify,  and  distribute  this  software  and  its
 * documentation for any purpose is strictly forbidden. The name of the author
 * or the one of Angels, Inc may not  be  used  in  advertising  or  publicity
 * pertaining to distribution of the software without specific, written  prior
 * permission.
 *
 * THE AUTHOR AND ANGELS, INC DISCLAIMS ALL WARRANTIES  WITH  REGARD  TO  THIS
 * SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND  FITNESS;
 * IN NO EVENT SHALL AUTHOR  NOR  ANGELS,  INC  BE  LIABLE  FOR  ANY  SPECIAL,
 * INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING  FROM
 * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,  NEGLIGENCE
 * OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE  USE  OR
 * PERFORMANCE OF THIS SOFTWARE.
 *----------------------------------------------------------------------------*/
/* Main container */
#auth2
{
    position: relative;
    color: #666;
    font: 16px/26px "Raleway", sans-serif;
    text-align: center;
    height: 100%;
}

#auth2 .auth-content-pane a,
#auth2 .auth-user-pane a
{
    color: #666;
    text-decoration: none;
}

#auth2 .auth-content-pane a:hover,
#auth2 .auth-user-pane a:hover
{
    color: #4FDA8C;
}

/* Button */
#auth2 a.button
{
    position: absolute;
    left: 20px;
    top: 20px;
    height: auto;
    padding: .8rem 1.0rem;
    font-size: .8rem;
    line-height: normal;
    text-transform: uppercase;
    font-family: 'Proxima Nova', sans-serif;
    font-weight: 700;
    letter-spacing: 0;
    border-radius: 0;
    border: 1px solid #2D515C;
    text-decoration: none;
    color: #fff;
    background-color: transparent;
    -webkit-transition: all .2s ease-in-out;
       -moz-transition: all .2s ease-in-out;
         -o-transition: all .2s ease-in-out;
            transition: all .2s ease-in-out;
}

#auth2 a.button:hover
{
    border-color: #2D515C;
    color: #fff;
    padding: 1.0rem 3.2rem;
}

/* Login */
#auth2 
{
    margin: 0;
    width: 100%;
    height: 100%;
}

/* Wrap */
#auth2 .wrap
{
    margin: auto;
    width: 100%;
    height: auto;
}

/* Logo */
#auth2 .logo
{
    position: absolute;
    z-index: 12;
    top: 0;
    left: 0;
    width: 40px;
    height: 40px;
    background: var(--primary-bg);
}

#auth2 .logo img
{
    position: absolute;
    margin: auto;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 30px;
}

#auth2 .logo a
{
    display: block;
    width: 100%;
    height: 100%;
}

/* User (Form wrapper) */
#auth2 .auth-user-pane
{
    position: relative;
    z-index: 0;
    float: none;
    width: 100%;
    margin: 0 auto;
    padding-top: 40px;
    overflow: auto;
    background: -webkit-gradient(linear, left bottom, right top, color-stop(0%, rgba(66, 66, 66, 1)), color-stop(100%, rgba(97, 107, 125, 1)));
    background: -webkit-linear-gradient(48deg, rgba(66, 66, 66, 1) 0%, rgba(97, 107, 125, 1) 100%);
    background:    -moz-linear-gradient(48deg, rgba(66, 66, 66, 1) 0%, rgba(97, 107, 125, 1) 100%);
    background:         linear-gradient(42deg, rgba(66, 66, 66, 1) 0%, rgba(97, 107, 125, 1) 100%);
    -webkit-box-shadow: none;
       -moz-box-shadow: none;
            box-shadow: none;
    border-radius: 0;
    border-top: 1px solid #4FC1B7;
    color: white;
}

#auth2 .auth-user-pane .actions
{
    display: block;
    width: 100%;
    margin: 1em 0 0;
    padding-right: 10px;
    text-align: center;
}

#auth2 .auth-user-pane .actions a
{
    display: inline-block;
    width: 90px;
    margin: 1em 0;
    padding: .2em 0em;
    background-color: #5C6576;
    border: none;
    color: #999;
    cursor: pointer;
    text-align: center;
    font-size: .8em;
    border-radius: 30px 0 0 30px;
    -webkit-box-shadow: 0px 0px 27px -9px rgba(0,0,0,0.75);
       -moz-box-shadow: 0px 0px 27px -9px rgba(0,0,0,0.75);
            box-shadow: 0px 0px 27px -9px rgba(0,0,0,0.75);
}

#auth2 .auth-user-pane .actions a:last-child
{
    color: #fff;
    border-radius: 0 30px 30px 0;
    background-color: #28A55F;
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, rgba(105,221,201,1)), color-stop(100%, rgba(78,193,182,1)));
    background: -webkit-linear-gradient(270deg, rgba(105,221,201,1) 0%, rgba(78,193,182,1) 100%);
    background:    -moz-linear-gradient(270deg, rgba(105,221,201,1) 0%, rgba(78,193,182,1) 100%);
    background:         linear-gradient(180deg, rgba(105,221,201,1) 0%, rgba(78,193,182,1) 100%);
}

/* Terms */
@keyframes show_terms
{
    0%
    {
        opacity: 0;
        -webkit-transform: translateY(-110%);
           -moz-transform: translateY(-110%);
             -o-transform: translateY(-110%);
                transform: translateY(-110%);
    }
    100%
    {
        opacity: 1;
        -webkit-transform: translateY(0);
           -moz-transform: translateY(0);
             -o-transform: translateY(0);
                transform: translateY(0);
    }
}

@keyframes hide_terms
{
    0%
    {
        -webkit-transform: translateY(0);
           -moz-transform: translateY(0);
             -o-transform: translateY(0);
                transform: translateY(0);
        opacity: 1;
    }
    100%
    {
        -webkit-transform: translateY(-110%);
           -moz-transform: translateY(-110%);
             -o-transform: translateY(-110%);
                transform: translateY(-110%);
        opacity: 0;
    }
}

#auth2 .login-welcome,
#auth2 .auth-logout-bye,
#auth2 .auth-mail-sent,
#auth2 .auth-account-closed,
#auth2 .auth-account-closure-confirm
{
    display: none;
    position: absolute;
    z-index: 3;
    float: none;
    width: 100%;
    height: 100%;
    margin: 0 auto;
    overflow: auto;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    text-align: left;
    will-change: transform, opacity;
    -webkit-transform: translateY(-110%);
       -moz-transform: translateY(-110%);
         -o-transform: translateY(-110%);
            transform: translateY(-110%);
    opacity: 0;
    box-shadow: -3px 0px 45px -6px rgba(56,75,99,0.61);
    border-radius: 10px;
    transition: transform 0.5s ease-out, opacity 0.5s ease-out;
}

#auth2 .login-welcome
{
    background-image: url("/public/auth/welcome.jpg");
}

#auth2 .auth-logout-bye
{
    background-image: url("/public/auth/bye-robot.jpg");
}

#auth2 .auth-mail-sent
{
    background-image: url("/public/auth/check-mail-from-angels-inc.jpg");
}

#auth2 .auth-account-closed
{
    background-image: url("/public/auth/bye-robot.jpg");
    background-position: center center;
}

/* NOTE: Account closure confirmation */
#auth2 .auth-account-closure-confirm
{
    background: linear-gradient(135deg, #202735 0%, #101721 100%);
    color: #f4fbff;
}

#auth2 .login-welcome.show,
#auth2 .auth-logout-bye.show,
#auth2 .auth-mail-sent.show,
#auth2 .auth-account-closed.show,
#auth2 .auth-account-closure-confirm.show
{
    -webkit-transform: translateY(0);
       -moz-transform: translateY(0);
         -o-transform: translateY(0);
            transform: translateY(0);
    display: block;
    opacity: 1;
}

#auth2 .login-welcome button,
#auth2 .auth-logout-bye button,
#auth2 .auth-mail-sent button,
#auth2 .auth-account-closed button
{
    display: flex;
    position: fixed;
    top: 5%;
    left: 3%;
    width: 30px;
    height: 30px;
    padding: 0;
    border-radius: 50%;
    font-size: 0;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    transition: all 0.2s ease-in-out;
}

#auth2 .login-welcome button:hover,
#auth2 .auth-logout-bye button:hover,
#auth2 .auth-mail-sent button:hover,
#auth2 .auth-account-closed button:hover
{
    background-color: #444;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transform: scale(1.1);
}

#auth2 .login-welcome button:hover::before,
#auth2 .auth-logout-bye button:hover::before,
#auth2 .auth-mail-sent button:hover::before,
#auth2 .auth-account-closed button:hover::before
{
    color: #ff6347;
    transform: scale(1.2);
}

#auth2 .login-welcome button::before,
#auth2 .auth-logout-bye button::before,
#auth2 .auth-mail-sent button::before,
#auth2 .auth-account-closed button::before
{
    content: "X";
    font-size: 20px;
    color: white;
    font-weight: bold;
    transition: transform 0.2s ease, color 0.3s ease;
}

#auth2 .login-welcome button:focus,
#auth2 .auth-logout-bye button:focus,
#auth2 .auth-mail-sent button:focus,
#auth2 .auth-account-closed button:focus
{
    outline: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    background-color: #444;
}

#auth2 .login-welcome button:active,
#auth2 .auth-logout-bye button:active,
#auth2 .auth-mail-sent button:active,
#auth2 .auth-account-closed button:active
{
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
    background-color: #444;
}

#auth2 .login-welcome button:active::before,
#auth2 .auth-logout-bye button:active::before,
#auth2 .auth-mail-sent button:active::before,
#auth2 .auth-account-closed button:active::before
{
    transform: translateY(1px);
    color: #ff6347;
}

#auth2 .auth-logout-bye p,
#auth2 .auth-mail-sent p
{
    top: 50%;
    font-size: 1.5rem;
    font-weight: 600;
    text-align: center;
}

#auth2 .auth-mail-sent p
{
    top: 50%;
    text-align: center;
}

/* NOTE: Account closure */
#auth2 .auth-account-closed .farewell__card
{
    position: absolute;
    z-index: 2;
    top: 8%;
    right: 5%;
    width: 42%;
    max-width: 34rem;
    padding: 1.4rem 1.6rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 18px;
    background: rgba(8, 18, 32, 0.68);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    color: #f4fbff;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.28);
}

#auth2 .auth-account-closed .farewell__card p
{
    position: static;
    left: auto;
    right: auto;
    top: auto;
    margin-left: 0;
    margin-right: 0;
    color: #f4fbff;
    transform: none;
}

#auth2 .auth-account-closed .farewell__title
{
    margin: 0 0 0.65rem;
    font-size: clamp(1.15rem, 2.1vw, 1.8rem);
    line-height: 1.3;
    font-weight: 600;
}

#auth2 .auth-account-closed .farewell__brand
{
    margin: 0 0 0.55rem;
    font-size: clamp(1.15rem, 2vw, 1.65rem);
    line-height: 1.3;
    font-weight: 600;
}

#auth2 .auth-account-closed .farewell__tagline
{
    margin: 0;
    font-size: clamp(0.9rem, 1.4vw, 1.15rem);
    line-height: 1.3;
    font-style: italic;
    font-weight: 400;
    color: #bfe9ff;
}

#auth2.account-closed .auth-content-pane,
#auth2.account-closed .auth-user-pane
{
    visibility: hidden;
}

#auth2 .auth-terms,
#auth2 .auth-recovery
{
    position: absolute;
    z-index: -1;
    width: 100%;
    height: calc(100% - 40px);
    margin: 40px 0 0;
    padding: 1.5em 1em;
    border-radius: 0;
    background: #fff;
    text-align: left;
    overflow: auto;
    will-change: transform;
    -webkit-transform: translateY(-110%);
       -moz-transform: translateY(-110%);
         -o-transform: translateY(-110%);
            transform: translateY(-110%);
    opacity: 0;
}

/* TODO: Need to change this from .open to .show */
#auth2 .auth-terms.open,
#auth2 .auth-recovery.open
{
    -webkit-transform: translateY(0);
       -moz-transform: translateY(0);
         -o-transform: translateY(0);
            transform: translateY(0);
    animation: show_terms .5s .2s 1 ease normal forwards;
    z-index: 3;
}

#auth2 .auth-terms.closed,
#auth2 .auth-recovery.closed
{
    -webkit-transform: translateY(0);
       -moz-transform: translateY(0);
         -o-transform: translateY(0);
            transform: translateY(0);
    opacity: 1;
    animation: hide_terms .6s .2s 1 ease normal forwards;
}

#auth2 .auth-terms p,
#auth2 .auth-recovery p,
#auth2 .login-welcome p,
#auth2 .auth-logout-bye p,
#auth2 .auth-mail-sent p
{
    margin: 1em 0;
    font-size: .9em;
}

#auth2 .auth-terms h3,
#auth2 .auth-recovery h3,
#auth2 .login-welcome h3,
#auth2 .auth-logout-bye h3,
#auth2 .auth-mail-sent h3
{
    margin: 2em 0 .2em;
}

#auth2 .auth-terms p.small
{
    margin: 0 0 1.5em;
    font-size: .8em;
}

#auth2 .auth-recovery form .auth-input
{
    display: inline-block;
    margin: 0 0 .8em 0;
    padding: .8em 2em 10px 0;
    width: 100%;
    background: transparent;
    border: 0;
    border-bottom: 1px solid #5A6374;
    outline: 0;
    -moz-box-sizing: border-box;
         box-sizing: border-box;
    color: inherit;
    font-family: inherit;
    color: #666;
}

#auth2 .auth-recovery form .button
{
    display: block;
    width: auto;
    margin: 1em 0;
    padding: .2em 3em;
    background-color: #28A55F;
    border: none;
    color: #fff;
    cursor: pointer;
    font-size: .8em;
    border-radius: 0px;
    background: rgba(62,181,169,1) 0%;
}

#auth2 .form-wrap *
{
    margin: 0;
    padding: 0;
}

#auth2 .form-wrap form .button:hover
{
    background-color: #4FDA8C;
}

#auth2 .auth-recovery p.mssg
{
    opacity: 0;
    -webkit-transition: opacity 1s .5s ease;
       -moz-transition: opacity 1s .5s ease;
         -o-transition: opacity 1s .5s ease;
            transition: opacity 1s .5s ease;
}

#auth2 .auth-recovery p.mssg.animate
{
    opacity: 1;
}

/* Content */
#auth2 .auth-content-pane
{
    position: relative;
    z-index: 1;
    float: none;
    margin: 0 auto;
    width: 100%;
    height: 40px;
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #F5F5F5), color-stop(100%, #EAE7DC));
    background: -webkit-linear-gradient(90deg, #F5F5F5 0%, #EAE7DC 100%);
    background:    -moz-linear-gradient(90deg, #F5F5F5 0%, #EAE7DC 100%);
    background:         linear-gradient(0deg, #F5F5F5 0%, #EAE7DC 100%);
    -webkit-box-shadow: none;
       -moz-box-shadow: none;
            box-shadow: none;
    overflow: hidden;
    /* Slightly darker text for readability */
    color: #555555;
}

/* Toggle */
#toggle-wrap
{
    position: absolute;
    z-index: 4;
    top: 40px;
    right: 17px;
    width: 80px;
    height: 1px;
}

#toggle-terms span
{
    background: #fff;
    border-radius: 0;
}

/* Toggle terms */
#toggle-terms
{
    z-index: 4;
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    width: 40px;
    height: 40px;
    margin: auto;
    cursor: pointer;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 100%;
    opacity: 0;
    -webkit-transform: translate(-6px, 20px);
       -moz-transform: translate(-6px, 20px);
         -o-transform: translate(-6px, 20px);
            transform: translate(-6px, 20px);
}

/* Circle effect */
#toggle-terms:after
{
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
    border-radius: 50%;
    -webkit-box-sizing: content-box;
       -moz-box-sizing: content-box;
            box-sizing: content-box;
}

#toggle-terms:before
{
    display: block;
    speak: none;
    -webkit-font-smoothing: antialiased;
}

#toggle-terms
{
    box-shadow: 0 0 0 0px rgba(0, 0, 0, 0.2);
    -webkit-transition: color 0.3s ease;
       -moz-transition: color 0.3s ease;
         -o-transition: color 0.3s ease;
            transition: color 0.3s ease;
}

#toggle-terms:after
{
    z-index: -1;
    top: 0px;
    left: 0px;
    padding: 0;
    background: rgba(0, 0, 0, 0.2);
    -webkit-transition: -webkit-transform 0.2s, opacity 0.3s;
       -moz-transition:    -moz-transform 0.2s, opacity 0.3s;
         -o-transition:      -o-transform 0.2s, opacity 0.3s;
            transition:         transform 0.2s, opacity 0.3s;
}

#toggle-terms.closed
{
    color: rgba(0, 0, 0, 0.2);
}

#toggle-terms.closed:after
{
    -webkit-transform: scale(1.6);
       -moz-transform: scale(1.6);
        -ms-transform: scale(1.6);
            transform: scale(1.6);
    opacity: 0;
}

/* Close animation*/
@keyframes show_close
{
    0%
    {
        opacity: 0;
        -webkit-transform: translate(-6px, -100px);
           -moz-transform: translate(-6px, -100px);
             -o-transform: translate(-6px, -100px);
                transform: translate(-6px, -100px);
    }
    100%
    {
        opacity: 1;
        -webkit-transform: translate(-6px, 20px);
           -moz-transform: translate(-6px, 20px);
             -o-transform: translate(-6px, 20px);
                transform: translate(-6px, 20px);
    }
}

@keyframes hide_close
{
    0%
    {
        opacity: 1;
    }
    100%
    {
        opacity: 0;
    }
}

#toggle-terms.open
{
    animation: show_close .4s .5s 1 ease normal forwards;
}

#toggle-terms.closed
{
    animation: hide_close .2s .0s 1 ease normal forwards;
}

#toggle-terms:hover
{
    background: rgba(0, 0, 0, 0.4);
}

/* Toggle terms cross */
#toggle-terms #toggle-terms-close
{
    z-index: 4;
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-transform: rotate(0deg);
       -moz-transform: rotate(0deg);
         -o-transform: rotate(0deg);
            transform: rotate(0deg);
}

#toggle-terms.open #toggle-terms-close
{
    -webkit-transition-delay: .9s;
       -moz-transition-delay: .9s;
         -o-transition-delay: .9s;
            transition-delay: .9s;
    -webkit-transition-duration: .2s;
       -moz-transition-duration: .2s;
         -o-transition-duration: .2s;
            transition-duration: .2s;
    -webkit-transform: rotate(45deg);
       -moz-transform: rotate(45deg);
        -o-transform: rotate(45deg);
            transform: rotate(45deg);
}

#toggle-terms.open #toggle-terms-close span
{
    z-index: 4;
    position: absolute;
    -webkit-transition-delay: 0s;
       -moz-transition-delay: 0s;
         -o-transition-delay: 0s;
            transition-delay: 0s;
    -webkit-transition-duration: 0s;
       -moz-transition-duration: 0s;
         -o-transition-duration: 0s;
            transition-duration: 0s;
}

#toggle-terms.open #toggle-terms-close span:nth-child(1)
{
    top: 15%;
    left: 19px;
    width: 1px;
    height: 70%;
}

#toggle-terms.open #toggle-terms-close span:nth-child(2)
{
    top: 19px;
    left: 15%;
    width: 70%;
    height: 1px;
}

#toggle-terms #toggle-terms-close span:nth-child(1)
{
    height: 0;
    -webkit-transition-delay: .625s;
       -moz-transition-delay: .625s;
         -o-transition-delay: .625s;
            transition-delay: .625s;
}

#toggle-terms #toggle-terms-close span:nth-child(2)
{
    width: 0;
    -webkit-transition-delay: .375s;
       -moz-transition-delay: .375s;
         -o-transition-delay: .375s;
            transition-delay: .375s;
}

/* Slideshow */
#auth-slideshow
{
    position: relative;
    width: 100%;
    height: 100%;
    margin: 0 auto;
    padding: 10px;
    border-radius: 10px 0 0 10px;
}

#auth-slideshow h2,
#auth2 .login-welcome h2,
#auth2 .auth-logout-bye h2,
#auth2 .auth-mail-sent h2
{
    margin: .0em auto .0em auto;
    text-align: center;
    font-size: 1.4em;
    color: #ffffff;
    line-height: .5em;
}

#auth-slideshow p,
#auth2 .login-welcome p
{
    display: none;
    color: #ffffff;
}

#auth2 .login-welcome h2,
#auth2 .login-welcome p,
#auth2 .auth-logout-bye h2,
#auth2 .auth-logout-bye p,
#auth2 .auth-mail-sent h2,
#auth2 .auth-mail-sent p
{
    position: absolute;
    left: 0;
    right: 0;
    color: #fff;
    transform: translateX(0);
    margin-left: auto;
    margin-right: auto;
    font-size: 1rem;
    font-weight: 600;
}

#auth2 .login-welcome p,
#auth2 .auth-logout-bye p,
#auth2 .auth-mail-sent p
{
    font-weight: 400;
}

#auth2 .auth-mail-sent h2,
#auth2 .auth-mail-sent p
{
    margin-left: 20px;
    margin-right: 20px;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.8),
                 0 0 12px rgba(0, 123, 255, 0.8);
}

/* All slideshow sliders, including the div for successful authentication */
#auth-slideshow > div
{
    z-index: 10;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 1em 3em;
    background-repeat: no-repeat;
    -webkit-background-size: cover;
       -moz-background-size: cover;
         -o-background-size: cover;
            background-size: cover;
}

/* NOTE: Slider images */
/* Legal Tech */
#auth-slideshow .one
{
    background-image: url("/public/auth/entrepeneur-legal-tech-3.png");
    background-repeat: no-repeat;
    background-position: 0% 50%;
}

/* Online Library */
#auth-slideshow .two
{
    background-image: url("/public/auth/entrepeneur-in-library.png");
    background-repeat: no-repeat;
    background-position: 0% 50%;
}

/* Connect with Professionals */
#auth-slideshow .three
{
    background-image: url("/public/auth/entrepreneurs-and-professionals-4.png");
    background-repeat: no-repeat;
    background-position: 0% 50%;
}

/* Networking */
#auth-slideshow .four
{
    background-image: url("/public/auth/networking-event-3.png");
    background-repeat: no-repeat;
    background-position: 0% 50%;
}

/* Login in process: by default not displayed, and activated by JavaScript */
#auth-slideshow .loader-section
{
    display: none;
    background-image: url("/public/auth/meeting-room-3.png");
    background-repeat: no-repeat;
    background-position: 0% 50%;
}

/* NOTE: Login error, by default not displayed */
#auth-slideshow .auth-error
{
    display: none;
    background-image: url("/public/auth/broken-robot.png");
    background-repeat: no-repeat;
    background-position: 80% 100%;

    align-items: center;
    justify-content: center;
}

#auth-slideshow .auth-error.show
{
    display: flex;
}

#auth2 .auth-error-message
{
    max-width: 60%;
    margin: 20px auto;
    padding: 15px;
    background-color: var(--primary-bg);
    border: 1px solid rgba(255, 0, 0, 0.5); /* Slightly transparent red for better contrast */
    border-radius: 5px;
    text-align: center;
    font-family: 'Roboto', sans-serif;
    color: #cc0000;
    box-shadow: inset 0 3px 4px rgba(0, 0, 0, 0.3), 0 2px 4px rgba(0, 0, 0, 0.2); /* Softer shadow for dark mode */
    font-size: 18px;
    font-weight: 600;
    opacity: 0.95; /* Slight transparency for better blending */
    transition: all 0.3s ease-in-out; /* Smooth transition between modes */
}

#auth2 .auth-error-message p,
#auth2 .auth-error-message h2,
#auth2 .auth-error-message h3
{
    color: #cc0000;
}

/* Pop-in animation */
@keyframes popIn
{
    from
    {
        opacity: 0;
        transform: scale(0.9);
    }
    to
    {
        opacity: 1;
        transform: scale(1);
    }
}

/* Form elements */
#auth2 input
{
    font: 16px/26px "Raleway", sans-serif;
}

#auth2 .form-wrap
{
    width: 100%;
    margin: 2em auto 0;
}

#auth2 .form-wrap a
{
    color: #ccc;
    padding-bottom: 4px;
    border-bottom: 1px solid #DAA520;
}

#auth2 .form-wrap a:hover
{
    color: #fff;
}

#auth2 .form-wrap .tabs
{
    overflow: hidden;
}

#auth2 .form-wrap .tabs *
{
    -webkit-transition: .25s ease-in-out;
       -moz-transition: .25s ease-in-out;
         -o-transition: .25s ease-in-out;
            transition: .25s ease-in-out;
}

#auth2 .form-wrap .tabs h3
{
    float: left;
    width: 50%;
}

#auth2 .form-wrap .tabs h3 a
{
    display: block;
    padding: 0.5em 0;
    text-align: center;
    font-weight: 400;
    color: #999;
    border: 0;
}

#auth2 .form-wrap .tabs h3 a.active
{
    color: #ccc;
}

#auth2 .form-wrap .tabs h3 a.active span
{
    padding-bottom: 4px;
    border-bottom: 1px solid #DAA520;
}

#auth2 .form-wrap .auth-tabs-content
{
    padding: 1.5em 3em;
    text-align: left;
    width: auto;
}

#auth2 .help-action
{
    padding: .4em 0 0;
    font-size: .93em;
}

#auth2 .form-wrap .auth-tabs-content div[id$="tab-content"]
{
    display: none;
}

#auth2 .form-wrap .auth-tabs-content .active
{
    display: block !important;
}

#auth2 .form-wrap form .auth-input
{
    display: inline-block;
    width: 100%;
    margin: 0 0 .8em 0;
    padding: .8em 2em 10px 0;
    background: transparent;
    border: 0;
    border-bottom: 1px solid #707684;
    outline: 0;
    -moz-box-sizing: border-box;
         box-sizing: border-box;
    color: inherit;
    font-family: inherit;
    color: #fff;
}

#auth2 .form-wrap form .button
{
    display: block;
    width: auto;
    margin: 1em 0;
    padding: .2em 3em;
    background-color: #B8860B; /* Fallback */
    border: none;
    color: #fff;
    cursor: pointer;
    font-size: 1em;
    border-radius: 30px;
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #B8860B), color-stop(100%, #DAA520));
    background: -webkit-linear-gradient(270deg, #B8860B 0%, #DAA520 100%);
    background:    -moz-linear-gradient(270deg, #B8860B 0%, #DAA520 100%);
    background:         linear-gradient(180deg, #B8860B 0%, #DAA520 100%);
    -webkit-box-shadow: 0px 0px 37px -9px rgba(0,0,0,0.75);
       -moz-box-shadow: 0px 0px 37px -9px rgba(0,0,0,0.75);
            box-shadow: 0px 0px 37px -9px rgba(0,0,0,0.75);
}

#auth2 .form-wrap form .button:hover
{
    background-color: #4FDA8C;
}

#auth2 .form-wrap form .checkbox
{
    margin: 1em 0;
    padding: 20px;
    visibility: hidden;
    text-align: left;
}

#auth2 .form-wrap form #auth_subscribe_me.checkbox:checked ~ label[for="auth_subscribe_me"]:after
{
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
        filter: alpha(opacity=100);
    opacity: 1;
}

#auth2 .form-wrap form label[for]
{
    position: relative;
    padding-left: 20px;
    cursor: pointer;
}

#auth2 .form-wrap form label[for]:before
{
    content: '';
    position: absolute;
    top: 5px;
    left: -14px;
    width: 17px;
    height: 17px;
    border: 1px solid #5A6374;
}

#auth2 .form-wrap form label[for]:after
{
    content: '';
    position: absolute;
    top: 3px;
    left: -10px;
    width: 15px;
    height: 8px;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
    filter: alpha(opacity=0);
    opacity: 0;
    background-color: transparent;
    border: solid #DAA520;
    border-width: 0 0 3px 3px;
    -webkit-transform: rotate(-45deg);
       -moz-transform: rotate(-45deg);
         -o-transform: rotate(-45deg);
            transform: rotate(-45deg);
}

#auth2 .form-wrap .help-text
{
    margin-top: .6em;
}

#auth2 .form-wrap .help-text p
{
    text-align: left;
    font-size: 14px;
}

#auth2 .fa
{
    display: none;
}

/* NOTE: Loader */
#auth2 .login-loader
{
    display: flex;
    position: relative;
    justify-content: center;
    align-items: center;
}

#auth2 .login-loader::before
{
    content: "";
    position: absolute;
    z-index: 20;
    width: 140px;
    height: 55px;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.2));
    backdrop-filter: blur(3px);
    border-radius: 0 0 10px 10px;
    border: 1px solid rgba(255, 255, 255, 0.274);
    border-top: none;
    box-shadow: 0 15px 20px rgba(0, 0, 0, 0.082);
    animation: anim2 2s infinite;
}

#auth2 .login-loader div
{
    z-index: -1;
    width: 25px;
    height: 25px;
    margin: 0.2em;
    background: rgb(228, 228, 228);
    border-radius: 50%;
    animation: anim 2s infinite linear;
    animation-delay: calc(-0.3s * var(--ll-ball));
    transform: translateY(5px);
    /* Light blue gradient */
    background: linear-gradient(135deg, #3498db 30%, #85c1e9 70%);
    opacity: 0.8;
}

@keyframes anim
{
    0%,
    100%
    {
        transform: translateY(5px);
    }
    50%
    {
        transform: translateY(-65px) scale(1.1); /* Slight scale for emphasis */
    }
}

@keyframes anim2
{
    0%,
    100%
    {
        transform: rotate(-10deg);
    }
    50%
    {
        transform: rotate(10deg);
    }
}

@media (max-width: 720px)
{
    #auth2 .auth-account-closed .farewell__card
    {
        top: auto;
        right: 4%;
        bottom: 5%;
        left: 4%;
        width: auto;
        max-width: none;
        padding: 1rem 1.1rem;
    }

    #auth2 .auth-account-closed .farewell__title
    {
        font-size: 1.1rem;
    }

    #auth2 .auth-account-closed .farewell__brand
    {
        font-size: 1.05rem;
    }

    #auth2 .auth-account-closed .farewell__tagline
    {
        font-size: 0.9rem;
    }

    #auth2 .auth-account-closure-confirm .account-closure-confirm__card
    {
        width: calc(100% - 1.5rem);
        margin: 0.75rem auto;
        padding: 1.1rem;
    }

    #auth2 .auth-account-closure-confirm .account-closure-confirm__actions
    {
        flex-direction: column;
    }

    #auth2 .auth-account-closure-confirm .account-closure-confirm__actions button
    {
        width: 100%;
    }
}

@media (max-width: 470px)
{
    #auth2
    {
        width: calc( 100% - 20px );
    }

    #auth2 .login-welcome h2
    {
        top: 30%;
    }

    #auth2 .auth-logout-bye h2,
    #auth2 .auth-mail-sent h2
    {
        top: 20%;
        font-size: 1.5rem;
        font-weight: 600;
    }

    #auth2 .auth-mail-sent h2
    {
        top: 10%;
    }

    #auth2 .login-welcome h2,
    #auth2 .login-welcome p,
    #auth2 .auth-logout-bye h2,
    #auth2 .auth-logout-bye p,
    #auth2 .auth-mail-sent h2,
    #auth2 .auth-mail-sent p
    {
        font-size: 1.1rem;
    }

    #auth2 .login-welcome p,
    #auth2 .auth-logout-bye p,
    #auth2 .auth-mail-sent p
    {
        top: 30%;
        margin-left: 10px;
        margin-right: 10px;
        text-align: left;
        background: linear-gradient(90deg, rgba(0, 0, 0, 0.5), transparent);
    }

    #auth2 .login-welcome button,
    #auth2 .auth-logout-bye button,
    #auth2 .auth-mail-sent button
    {
        top: 12%;
        left: 10%;
    }

    #auth2 .auth-content-pane
    {
        border-radius: 10px 10px 0px 0px;
    }

    #auth2 .auth-user-pane
    {
        border-radius: 0px 0px 10px 10px;
    }

    #auth2 .auth-logout-bye button,
    #auth2 .auth-mail-sent button
    {
/*         top: 85%; */
        bottom: 0;
    }
}

@media (max-width: 600px)
{
    #auth2 .login-loader::before
    {
        width: 100px;
        height: 40px;
    }

    #auth2 .login-loader div
    {
        width: 20px;
        height: 20px;
    }
}

@media only screen and (min-width: 22em)
{
    #auth2 a.button
    {
        padding: 1.0rem 2.8rem;
        font-size: 1.0rem;
    }

    #auth2 .auth-user-pane
    {
        padding-top: 0;
    }
}

/* NOTE: Medium viewport */
@media only screen and (min-width: 40em)
{
    /* Wrap */
    #auth2 .wrap
    {
        width: 600px;
        height: 500px;
        margin: auto;
        border-radius: 10px;
    }

    /* Logo */
    #auth2 .logo
    {
        top: 10px;
        left: 10px;
        width: 40px;
        height: 40px;
        background: none;
    }

    #auth2 .logo img
    {
        width: 100%;
    }

    @keyframes show_close
    {
        0%
        {
            opacity: 0;
            -webkit-transform: translate(-6px, -100px);
               -moz-transform: translate(-6px, -100px);
                 -o-transform: translate(-6px, -100px);
                    transform: translate(-6px, -100px);
        }
        100%
        {
            opacity: 1;
            -webkit-transform: translate(-6px, 18px);
               -moz-transform: translate(-6px, 18px);
                 -o-transform: translate(-6px, 18px);
                    transform: translate(-6px, 18px);
        }
    }

    /* Toggle wrap */
    #toggle-wrap
    {
        top: 60px;
        right: calc(50% + 17px);
        height: 80px;
        overflow: hidden;
    }
    
    #toggle-wrap.closed
    {
        width: 50%;
    }

    /* Toggle terms */
    #toggle-terms
    {
        opacity: 1;
        -webkit-transform: translate(-6px, -100px);
           -moz-transform: translate(-6px, -100px);
             -o-transform: translate(-6px, -100px);
                transform: translate(-6px, -100px);
    }

    #toggle-terms.closed
    {
        opacity: 1;
        -webkit-transform: translate(-6px, 18px);
           -moz-transform: translate(-6px, 18px);
             -o-transform: translate(-6px, 18px);
                transform: translate(-6px, 18px);
    }

    /* Slideshow */
    #auth-slideshow h2,
    #auth2 .login-welcome h2,
    #auth2 .auth-logout-bye h2,
    #auth2 .auth-mail-sent h2
    {
        margin: 4.5em 0 1em;
        font-size: 2em;
    }

    #auth-slideshow .loader-section h2
    {
        margin: 1.5em 0 1em;
    }

    #auth-slideshow h2 span,
    #auth2 .login-welcome h2 span,
    #auth2 .auth-logout-bye h2 span,
    #auth2 .auth-mail-sent h2 span
    {
        padding: 5px 0;
        border: solid #ffffff;
        border-width: 1px 0;
    }

    #auth-slideshow p,
    #auth2 .login-welcome p,
    #auth2 .auth-logout-bye p,
    #auth2 .auth-mail-sent p
    {
        display: block;
        font-size: 1.5rem;
    }

    #auth-slideshow .loader-section p
    {
        margin-top: 9em;
        font-size: 1.3em;
    }

    #auth-slideshow > div
    {
        -webkit-background-size: auto;
           -moz-background-size: auto;
             -o-background-size: auto;
                background-size: auto;
    }

    #auth-slideshow .one
    {
        background-position: 50% 100%;
    }

    #auth-slideshow .two
    {
        background-position: 50% 100%;
    }

    #auth-slideshow .three
    {
        background-position: 50% 100%;
    }

    #auth-slideshow .four
    {
        background-position: 50% 100%;
    }

    /* Content */
    #auth2 .auth-content-pane,
    #auth2 .auth-content-pane.full
    {
        position: relative;
        float: left;
        width: 50%;
        height: 500px;
        -webkit-box-shadow: -3px 0px 45px -6px rgba(56,75,99,0.61);
           -moz-box-shadow: -3px 0px 45px -6px rgba(56,75,99,0.61);
                box-shadow: -3px 0px 45px -6px rgba(56,75,99,0.61);
        border-radius: 10px 0 0 10px;
    }

    /* Terms */
    #auth2 .auth-terms
    {
        position: absolute;
        width: calc( 50% - 2em );
        height: 440px;
        float: left;
        margin: 60px 0 0;
        -webkit-box-shadow: -3px 0px 45px -6px rgba(56,75,99,0.61);
           -moz-box-shadow: -3px 0px 45px -6px rgba(56,75,99,0.61);
                box-shadow: -3px 0px 45px -6px rgba(56,75,99,0.61);
        border-radius: 0 0 0 10px;
    }

    /* User (form wrapperR) */
    #auth2 .auth-user-pane
    {
        padding-top: 0;
        float: left;
        width: 50%;
        height: 500px;
        -webkit-box-shadow: -3px 0px 45px -6px rgba(56,75,99,0.61);
           -moz-box-shadow: -3px 0px 45px -6px rgba(56,75,99,0.61);
                box-shadow: -3px 0px 45px -6px rgba(56,75,99,0.61);
        border-radius: 0 10px 10px 0;
        border: 0;
    }

    #auth2 .auth-user-pane .actions
    {
        margin: 0;
        text-align: right;
    }

    /* Form elements */
    #auth2 .form-wrap
    {
        margin: 3em auto 0;
    }

    #auth2 .form-wrap .auth-tabs-content
    {
        padding: 1.5em 2.5em;
    }

    #auth2 .auth-tabs-content p
    {
        position: relative;
    }

    /* Arrow */
    #auth2 .auth-tabs-content .fa
    {
        display: block;
        position: absolute;
        top: 8px;
        left: -16px;
        font-size: .8em;
        color: #fff;
        opacity: .3;
        -webkit-transform: translate(0, 0);
           -moz-transform: translate(0, 0);
             -o-transform: translate(0, 0);
                transform: translate(0, 0);
        -webkit-transition: transform .3s .3s ease, opacity .6s .0s ease;
           -moz-transition: transform .3s .3s ease, opacity .6s .0s ease;
             -o-transition: transform .3s .3s ease, opacity .6s .0s ease;
                transition: transform .3s .3s ease, opacity .6s .0s ease;
    }

    #auth2 .auth-tabs-content .fa.active
    {
        -webkit-transform: translate(-3px, 0);
           -moz-transform: translate(-3px, 0);
             -o-transform: translate(-3px, 0);
                transform: translate(-3px, 0);
        opacity: .8;
    }

    #auth2 .auth-tabs-content .fa.inactive
    {
        -webkit-transform: translate(0, 0);
           -moz-transform: translate(0, 0);
             -o-transform: translate(0, 0);
                transform: translate(0, 0);
        opacity: .3;
    }
}

/* NOTE: Large viewport */
@media only screen and (min-width: 60em)
{
    /* wrap */
    #auth2 .wrap
    {
        width: 900px;
        height: 550px;
    }

    /* Content */
    #auth2 .auth-content-pane,
    #auth2 .auth-content-pane.full
    {
        height: 550px;
    }

    /* Slideshow */
    #auth-slideshow h2,
    #auth2 .login-welcome h2,
    #auth2 .auth-logout-bye h2,
    #auth2 .auth-mail-sent h2
    {
        margin: 4em 0 1em;
        font-size: 3em;
    }

    /* We make it a bit smaller for Japanese */
    :root[lang=ja-JP] #auth-slideshow h2,
    :root[lang=ja-JP] #auth2 .login-welcome h2,
    :root[lang=ja-JP] #auth2 .auth-logout-bye h2,
    :root[lang=ja-JP] #auth2 .auth-mail-sent h2
    {
        font-size: 2em;
    }

    #auth-slideshow .loader-section h2
    {
        margin: 2em 0 1em;
        font-size: 2em;
    }

    #auth-slideshow .four
    {
        background-position: 50% 100%;
    }

    /* User (from wrapper) */
    #auth2 .auth-user-pane
    {
        height: 550px;
    }

    #auth2 .form-wrap
    {
        margin: 5em auto 0;
    }

    #auth2 .form-wrap .auth-tabs-content
    {
        padding: 1.5em 4.9em;
    }
}

/* CSS */
#auth2 .element
{
    opacity: 0.0;
    transform: scale(0.95) translate3d(0,100%,0);
    transition: transform 400ms ease, opacity 400ms ease;
}

#auth2 .element.active
{
    opacity: 1.0;
    transform: scale(1.0) translate3d(0,0,0);
}

#auth2 .element.inactive
{
    opacity: 0.0;
    transform: scale(1) translate3d(0,0,0);
}

@-webkit-keyframes shake 
{
	0%, 100% {-webkit-transform: translateX(0);}
	10%, 30%, 50%, 70%, 90% {-webkit-transform: translateX(-10px);}
	20%, 40%, 60%, 80% {-webkit-transform: translateX(10px);}
}

@-moz-keyframes shake 
{
	0%, 100% {-moz-transform: translateX(0);}
	10%, 30%, 50%, 70%, 90% {-moz-transform: translateX(-10px);}
	20%, 40%, 60%, 80% {-moz-transform: translateX(10px);}
}

@-o-keyframes shake 
{
	0%, 100% {-o-transform: translateX(0);}
	10%, 30%, 50%, 70%, 90% {-o-transform: translateX(-10px);}
	20%, 40%, 60%, 80% {-o-transform: translateX(10px);}
}

@keyframes shake 
{
	0%, 100% {transform: translateX(0);}
	10%, 30%, 50%, 70%, 90% {transform: translateX(-10px);}
	20%, 40%, 60%, 80% {transform: translateX(10px);}
}

.shake 
{
	-webkit-animation-name: shake;
	   -moz-animation-name: shake;
	     -o-animation-name: shake;
	        animation-name: shake;
}

/* NOTE: Dark theme */
@media (prefers-color-scheme: dark)
{
    #auth2 .auth-content-pane
    {
        background: linear-gradient(0deg, #2F2F2F 0%, #3C3C3C 100%);
        color: #D3D3D3;
    }

    #auth2 .auth-content-pane h2,
    #auth2 .auth-content-pane p,
    #auth2 .login-welcome h2,
    #auth2 .login-welcome p,
    #auth2 .auth-logout-bye h2,
    #auth2 .auth-logout-bye p,
    #auth2 .auth-mail-sent h2,
    #auth2 .auth-mail-sent p
    {
        color: #E0E0E0; /* Softer white */
    }

    #auth2 .auth-user-pane
    {
        background: linear-gradient(42deg, #1E1E1E 0%, #333333 100%);
        color: #CCCCCC; /* Softer white */
    }

    #auth2 .form-wrap form .auth-input
    {
        background: #2A2A2A;
        color: #CCCCCC;
    }

    #auth2 .form-wrap form .button
    {
        background: linear-gradient(180deg, #A47E00 0%, #C1A234 100%); /* Deeper gold */
        color: #E0E0E0;
    }

    #auth2 .form-wrap form .button:hover
    {
        background-color: #4FDA8C; /* Consistent with our existing highlight */
    }

    #auth2 .form-wrap a
    {
        color: #9E9E9E; /* Lighter gray for links */
    }

    #auth2 .form-wrap a:hover
    {
        color: #FFD700; /* Gold hover color for links */
    }

    #auth2 .auth-error-message
    {
        /* Darker background for better contrast */
        background-color: #303030;
        /* Lighter border in dark mode */
        border: 1px solid rgba(255, 77, 77, 0.5);
        /* Softer red for text */
        color: #ff8888;
        box-shadow: inset 0 3px 6px rgba(0, 0, 0, 0.5), 0 2px 6px rgba(0, 0, 0, 0.3);
    }

    #auth2 .auth-error-message p,
    #auth2 .auth-error-message h2,
    #auth2 .auth-error-message h3
    {
        /* Softer red text for dark mode */
        color: #ff8888;
    }
}

/* Same rules, but using a different approach */
:root[data-theme="dark"]
    #auth2 .auth-content-pane
    {
        background: linear-gradient(0deg, #2F2F2F 0%, #3C3C3C 100%);
        color: #D3D3D3;
    }

:root[data-theme="dark"]
    #auth2 .auth-content-pane h2,
:root[data-theme="dark"]
    #auth2 .auth-content-pane p,
:root[data-theme="dark"]
    #auth2 .login-welcome h2,
:root[data-theme="dark"]
    #auth2 .login-welcome p,
:root[data-theme="dark"]
    #auth2 .auth-logout-bye h2,
:root[data-theme="dark"]
    #auth2 .auth-logout-bye p,
:root[data-theme="dark"]
    #auth2 .auth-mail-sent h2,
:root[data-theme="dark"]
    #auth2 .auth-mail-sent p
    {
        /* Softer white */
        color: #E0E0E0;
    }

:root[data-theme="dark"]
    #auth2 .auth-user-pane
    {
        background: linear-gradient(42deg, #1E1E1E 0%, #333333 100%);
        /* Softer white */
        color: #CCCCCC;
    }

:root[data-theme="dark"]
    #auth2 .form-wrap form .auth-input
    {
        background: #2A2A2A;
        color: #CCCCCC;
    }

:root[data-theme="dark"]
    #auth2 .form-wrap form .button
    {
        background: linear-gradient(180deg, #A47E00 0%, #C1A234 100%); /* Deeper gold */
        color: #E0E0E0;
    }

:root[data-theme="dark"]
    #auth2 .form-wrap form .button:hover
    {
        /* Consistent with our existing highlight */
        background-color: #4FDA8C;
    }

:root[data-theme="dark"]
    #auth2 .form-wrap a
    {
        /* Lighter gray for links */
        color: #9E9E9E;
    }

:root[data-theme="dark"]
    #auth2 .form-wrap a:hover
    {
        /* Gold hover color for links */
        color: #FFD700;
    }

:root[data-theme="dark"]
    #auth2 .auth-error-message
    {
        /* Darker background for better contrast */
        background-color: #303030;
        /* Lighter border in dark mode */
        border: 1px solid rgba(255, 77, 77, 0.5);
        /* Softer red for text */
        color: #ff8888;
        box-shadow: inset 0 3px 6px rgba(0, 0, 0, 0.5), 0 2px 6px rgba(0, 0, 0, 0.3);
    }

:root[data-theme="dark"]
    #auth2 .auth-error-message p,
:root[data-theme="dark"]
    #auth2 .auth-error-message h2,
:root[data-theme="dark"]
    #auth2 .auth-error-message h3
    {
        /* Softer red text for dark mode */
        color: #ff8888;
    }

/* NOTE: Passkeys */
#auth2 .auth-passkey-alt[hidden],
#auth2 .auth-passkey-offer[hidden],
#auth2 .auth-passkey-success[hidden]
{
    display: none !important;
}

#auth2 .form-wrap form .auth-passkey-or
{
    margin: 0.15em 0 0.35em;
    padding: 0;
    text-align: center;
    font-size: 0.85em;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.55);
    letter-spacing: 0.04em;
}

#auth2 .form-wrap form .button.auth-button-passkey
{
    margin-top: 0.2em;
    background: transparent;
    background-image: none;
    border: 1px solid rgba(255, 255, 255, 0.7);
    color: #fff;
    box-shadow: none;
}

#auth2 .form-wrap form .button.auth-button-passkey:hover
{
    background: rgba(255, 255, 255, 0.12);
    background-color: rgba(255, 255, 255, 0.12);
    border-color: #fff;
    color: #fff;
}

#auth2 .login-welcome .auth-passkey-offer
{
    position: absolute;
    left: 50%;
    bottom: 8%;
    z-index: 4;
    width: 90%;
    max-width: 28em;
    padding: 1em 1.2em 1.2em;
    transform: translateX(-50%);
    text-align: center;
    box-sizing: border-box;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 12px;
}

#auth2 .login-welcome .auth-passkey-offer p
{
    display: block;
    position: static;
    left: auto;
    right: auto;
    top: auto;
    margin: 0 0 0.85em;
    transform: none;
    font-size: 0.95rem;
    font-weight: 500;
    line-height: 1.4;
    color: #fff;
    text-align: center;
    background: none;
}

#auth2 .login-welcome .auth-passkey-offer button
{
    display: inline-block;
    position: static;
    top: auto;
    left: auto;
    width: auto;
    height: auto;
    min-width: 12em;
    padding: 0.35em 2em;
    margin: 0 auto;
    border: none;
    border-radius: 30px;
    font-size: 1em;
    font-weight: 600;
    line-height: 1.6;
    color: #fff;
    cursor: pointer;
    background-color: #B8860B;
    background-image: linear-gradient(180deg, #B8860B 0%, #DAA520 100%);
    box-shadow: 0px 0px 37px -9px rgba(0, 0, 0, 0.75);
    align-items: unset;
    justify-content: unset;
}

#auth2 .login-welcome .auth-passkey-offer button::before,
#auth2 .login-welcome .auth-passkey-offer button:hover::before,
#auth2 .login-welcome .auth-passkey-offer button:active::before
{
    content: none;
}

#auth2 .login-welcome .auth-passkey-offer button:hover,
#auth2 .login-welcome .auth-passkey-offer button:focus,
#auth2 .login-welcome .auth-passkey-offer button:active
{
    background-color: #4FDA8C;
    background-image: none;
    transform: none;
    box-shadow: 0px 0px 37px -9px rgba(0, 0, 0, 0.75);
}

@media (prefers-color-scheme: dark)
{
    #auth2 .form-wrap form .button.auth-button-passkey
    {
        background: transparent;
        background-image: none;
        border: 1px solid rgba(224, 224, 224, 0.7);
        color: #E0E0E0;
        box-shadow: none;
    }

    #auth2 .form-wrap form .button.auth-button-passkey:hover
    {
        background: rgba(255, 255, 255, 0.12);
        background-color: rgba(255, 255, 255, 0.12);
        border-color: #E0E0E0;
        color: #E0E0E0;
    }
}

:root[data-theme="dark"]
    #auth2 .form-wrap form .button.auth-button-passkey
{
    background: transparent;
    background-image: none;
    border: 1px solid rgba(224, 224, 224, 0.7);
    color: #E0E0E0;
    box-shadow: none;
}

:root[data-theme="dark"]
    #auth2 .form-wrap form .button.auth-button-passkey:hover
{
    background: rgba(255, 255, 255, 0.12);
    background-color: rgba(255, 255, 255, 0.12);
    border-color: #E0E0E0;
    color: #E0E0E0;
}

#auth2 .login-welcome .auth-passkey-success
{
    position: absolute;
    left: 50%;
    bottom: 8%;
    z-index: 4;
    width: 90%;
    max-width: 28em;
    padding: 1em 1.2em;
    transform: translateX(-50%);
    text-align: center;
    box-sizing: border-box;
    background: rgba(45, 206, 137, 0.18);
    border: 1px solid rgba(45, 206, 137, 0.55);
    border-radius: 12px;
}

#auth2 .login-welcome .auth-passkey-success p
{
    display: block;
    position: static;
    left: auto;
    right: auto;
    top: auto;
    margin: 0;
    transform: none;
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.4;
    color: #fff;
    text-align: center;
    background: none;
}

/* NOTE: Account closure confirm */
#auth2 .auth-account-closure-confirm .account-closure-confirm__card
{
    width: calc(100% - 3rem);
    max-width: 46rem;
    margin: 2rem auto;
    padding: 1.75rem 2rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    background: rgba(8, 18, 32, 0.82);
    color: #f4fbff;
    text-align: left;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.28);
}

#auth2 .auth-account-closure-confirm h2
{
    margin: 0 0 1.25rem;
    color: #fff;
    line-height: 1.3;
    text-align: center;
}

#auth2 .auth-account-closure-confirm p
{
    position: static;
    margin: 0 0 1rem;
    color: #e6edf5;
    font-size: 1rem;
    line-height: 1.55;
    transform: none;
}

#auth2 .auth-account-closure-confirm .account-closure-confirm__warning
{
    padding: 0.9rem 1rem;
    border-left: 3px solid #f5365c;
    background: rgba(245, 54, 92, 0.10);
}

#auth2 .auth-account-closure-confirm .account-closure-confirm__acknowledgement
{
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin: 1.25rem 0;
    color: #fff;
    cursor: pointer;
}

#auth2 .auth-account-closure-confirm .account-closure-confirm__acknowledgement input
{
    flex: 0 0 auto;
    margin-top: 0.35rem;
}

#auth2 .auth-account-closure-confirm .auth-account-closure-confirm-status
{
    margin: 1rem 0;
    padding: 0.75rem 0.9rem;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.08);
}

#auth2 .auth-account-closure-confirm .account-closure-status
{
    display: none;
    margin: 0;
}

#auth2 .auth-account-closure-confirm-status.status-checking .account-closure-status--checking,
#auth2 .auth-account-closure-confirm-status.status-verified .account-closure-status--verified,
#auth2 .auth-account-closure-confirm-status.status-signin .account-closure-status--signin,
#auth2 .auth-account-closure-confirm-status.status-dry-run .account-closure-status--dry-run,
#auth2 .auth-account-closure-confirm-status.status-error .account-closure-status--error
{
    display: block;
}

#auth2 .auth-account-closure-confirm .account-closure-confirm__actions
{
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

#auth2 .auth-account-closure-confirm .account-closure-confirm__actions button
{
    position: static;
    width: auto;
    height: auto;
    min-width: 9rem;
    padding: 0.7rem 1.1rem;
    border-radius: 6px;
    font-size: 1rem;
    line-height: 1.2;
    cursor: pointer;
}

#auth2 .auth-account-closure-confirm .account-closure-confirm__submit
{
    border: 1px solid #f5365c;
    background: #f5365c;
    color: #fff;
}

#auth2 .auth-account-closure-confirm .account-closure-confirm__submit:disabled
{
    border-color: #6c7584;
    background: #535b68;
    color: #b8bec7;
    cursor: not-allowed;
    opacity: 0.72;
}

#auth2 .auth-account-closure-confirm .account-closure-confirm__cancel
{
    border: 1px solid rgba(255, 255, 255, 0.35);
    background: transparent;
    color: #fff;
}

#auth2.account-closure-confirm .auth-content-pane,
#auth2.account-closure-confirm .auth-user-pane
{
    visibility: hidden;
}

/* NOTE: Signup consent and unobtrusive b.o.t t.r.a.p */
#auth2 .auth-consent
{
    margin: 0.7em 0;
    text-align: left;
}
#auth2 .auth-consent label
{
    display: inline;
    cursor: pointer;
}
#auth2 .auth-website
{
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
}

/* NOTE: Consistent checkbox alignment for the signup consent fields */
#auth2 .signup-form .auth-consent
{
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 0.8em 0;
    text-align: left;
}

#auth2 .signup-form .auth-consent input.checkbox
{
    position: static;
    display: block;
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
    margin: 4px 0 0;
    padding: 0;
    visibility: visible;
    accent-color: #DAA520;
    cursor: pointer;
}

#auth2 .signup-form .auth-consent label[for]
{
    position: static;
    display: block;
    flex: 1 1 auto;
    margin: 0;
    padding: 0;
    line-height: 1.45;
    cursor: pointer;
}

#auth2 .signup-form .auth-consent label[for]::before,
#auth2 .signup-form .auth-consent label[for]::after
{
    content: none;
}
