body {
    background-color: #121212;
    color: #FFFFFF;
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;



    -webkit-font-smoothing: antialiased;
    /* For WebKit-based browsers */
    -moz-osx-font-smoothing: grayscale;
    /* For macOS (Firefox) */
    font-smoothing: auto;
    /* Default smoothing for other platforms */

    * {
        box-sizing: border-box;
    }
}


[data-ui-frame="auth"] {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100dvh;

}



.container {
    width: min(98%, 400px);
    /* margin: 50px auto; */
    padding: 20px;
    background-color: #1E1E1E;
    border-radius: 8px;
    height: fit-content;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.tabs {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.tab-button {
    flex: 1;
    padding: 10px;
    background-color: #1E1E1E;
    color: #c5c5c5;
    border: none;
    cursor: pointer;
    font-size: 16px;
    border-bottom: 2px solid transparent;
}




.tab-button:hover,
.tab-button:focus {
    color: #dfdfdf;
    transition: all 0.4s;
}



.tab-button.active {
    color: white;
    border-bottom: 2px solid #275ba9;
    transition: all 0.4s;
}

.form {
    display: none;
}

.form input {
    width: 100%;
    padding: 10px;
    margin-bottom: 12px;
    margin-top: 12px;
    background-color: #2A2A2A;
    border: 1px solid #444444;
    color: #FFFFFF;
    border-radius: 4px;
    outline: transparent;
}

.form input:hover {
    border-color: #666666;
    transition: all 0.4s;
}

.form input:focus {
    border-color: #777;
    transition: all 0.4s;
}


.form button {
    width: 100%;
    padding: 10px;
    background-color: #275ba9;
    border: none;
    color: #FFFFFF;
    font-size: 16px;
    cursor: pointer;
    border-radius: 4px;
}


.form button:hover {
    background-color: #2764be;
    transition: all 0.4s;
}

.form button:focus {
    background-color: #1767df;
    transition: all 0.4s;
}

.form h2 {
    text-align: center;
    margin-bottom: 20px;
}


#info {
    margin: 8px;
    padding: 8px;
    background-color: #00000042;
    text-align: center;
    font-size: 0.9em;
    color: #daa520b5;
}

#info:empty {
    display: none;
}

[data-ui-login] {

    align-items: center;
    gap: 10px;
    /* margin: 8px 0px; */
    flex-direction: row;
    justify-content: center;
    /* background-color: #00000045; */
    /* padding: 4px; */

    display: grid;
    grid-template-columns: auto 1fr;


}

[data-ui-section-title]{
    font-size: 18px;
    margin-bottom: 14px;
    text-align: center;
    font-weight: bold;
}


[data-ui-buttons] {
    display: flex;
}

[data-ui-social-auth] {
    display: flex;
    align-items: center;
    column-gap: 8px;
    border: 1px solid #ffffff1a;
    border-radius: 4px;
    padding: 8px;
    cursor: pointer;
    text-shadow: 1px 0px 2px #000000;

    &>span {
        flex-grow: 1;
        text-align: center;
    }

    &:hover {
        border: 1px solid #ffffff28;
        text-shadow: 1px 0px 2px #878787;
        
        transition: all 0.4s;
    }


}



.icon {

    flex: none;
    aspect-ratio: 1;
    flex-grow: 0 !important;
    position: relative;

    display: inline-block;
    height: 30px;
    aspect-ratio: 1;
    vertical-align: middle;

    /* text-align: center; */


}

.icon {

    &:hover {
        color: white;
        transition: all 0.4s;
    }

}


[data-ui-svg] {
    background-size: 95% 95%;
    background-position: 50% 50%;
    background-repeat: no-repeat;
    display: inline-block;
    vertical-align: middle;
}

[data-ui-captcha] {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    >canvas {
        max-width: 200px;
    }

    >div {
        width: 100%;
        display: flex;
        align-items: center;
        gap: 10px;
    }


}




[data-ui-svg="google"] {
    background-image: url(./../svg/google-fill.svg);
}

[data-ui-svg="refresh"] {
    background-image: url(./../svg/refresh-line.svg);
}