/* Reset & Base Styles */

:root {
    --primary-content-width: 46.5%;
    --secondary-content-width: calc(100% - var(--primary-content-width));
}

.d-none {
    display: none;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Lato', sans-serif;
    color: #FFFFFF;
    height: 100vh;
    overflow: hidden;
}

a {
    color: #ff4465;
    background-color: transparent;
    cursor: pointer;
    text-decoration: none;
}

a:hover {
    color: #E30A32;
}

strong {
    color: #FFFFFF;
}

.container {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

@media screen and (min-height: 642px) {
    body:not(.legal-page) .primary-content {
        padding-top: 92px;
        padding-bottom: 60px;
    }
}
@media screen and (max-height: 641px) {
    body:not(.legal-page) .primary-content {
        padding-top: 16px;
        padding-bottom: 16px;
    }
}

.primary-content {
    overflow: scroll;
    height: 100%;
    padding-left: 20px;
    padding-right: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: var(--primary-content-width);
    background: linear-gradient(to bottom right, #B03535, #510000);
    backdrop-filter: blur(100px);
}

body:not(.legal-page) .primary-content {
    justify-content: space-between;
}

@media screen and (min-width: 769px) and (min-height: 642px) {
    body:not(.legal-page) .primary-content {
        justify-content: center;
    }
    .primary-content {
        overflow: unset;
    }
}

.primary-content-footer {
    left: 20px;
    right: 20px;
    bottom: 0;
    display: flex;
    align-items: end;
    justify-content: center;
}

@media screen and (min-width: 769px) and (min-height: 642px) {
    .primary-content-footer {
        position: absolute;
    }
}

/* Registration Request */
.registration-request {
    margin-top: 16px;
    font-size: 14px;
    color: #C9CACC;
}

@media screen and (min-width: 769px) and (min-height: 642px) {
    .registration-request {
        margin-bottom: 60px;
    }
}

@media screen and (max-height: 641px) {
    .registration-request {
        margin-bottom: 0;
    }
}

.registration-request a {
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    text-decoration: underline;
    text-decoration-style: solid;
}

.registration-request a:hover {
    color: #E30A32;
}

/* hide secondary content on mobile */
@media (min-width: 769px) {
    .secondary-content {
        display: flex;
        flex-direction: column;
        align-items: end;
        justify-content: flex-end;
        width: var(--secondary-content-width);
        height: 100%;
        background-image: url('img/background-image-visible.png');
        background-size: cover;
        background-position: top right;
        mix-blend-mode: overlay;
    }
}

@media (max-width: 768px) {
    .primary-content {
        width: 100%;
    }
    .secondary-content {
        width: 0;
    }
}

/* Registration Container */
.auth-container {
    max-width: 305px;
    display: flex;
    flex-direction: column;
    gap: 51px;
    color: #C9CACC;
}

.content-wrapper {
    display: flex;
    flex-direction: column;
    gap: 26px;
    width: 100%;
    max-width: 498px;
}

/* Logo */
.logo {
    width: 120px;
    display: flex;
    flex-direction: column;
    gap: 4.5px;
}

.logo-text-beta {
    margin-left: 44px;
    font-size: 8px;
    font-weight: 400;
    color: #FFFFFF;
}

/* Registration Form */
.registration-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: 100%;
}

.form-header {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.form-header h1 {
    font-size: 28px;
    font-weight: 300;
    color: #FFFFFF;
}

.form-header p {
    font-size: 15px;
    font-weight: 300;
    line-height: 1.3;
    color: #C9CACC;
}

.form-fields {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-self: stretch;
}

.input-field {
    position: relative;
    width: 100%;
}

.input-field input {
    width: 100%;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.05);
    border: none;
    border-radius: 3px;
    padding: 0 15px;
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.4);
}

.input-field input:focus {
    outline: none;
    background-color: rgba(255, 255, 255, 0.1);
}

.input-field input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.validation-error {

    font-size: 12px;
    color: #FF4465;
}

.forgot-password {
    align-self: flex-end;
    font-size: 12px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.4);
    text-decoration: underline;
    margin-top: 8px;
}


.primary-button {
    width: 100%;
    height: 48px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(to right, #D21537, #E95C39);
    border: none;
    border-radius: 48px;
    color: #F7F8FF;
    font-size: 13px;
    font-weight: 400;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow: 0px 2px 48px 0px rgba(0, 0, 33, 0.13);
}

.primary-button:hover {
    background: linear-gradient(to right, #f1284c, #fc7251);
}

/* Request Access Section */
.request-access-section {
    display: none;
    align-items: center;
    gap: 18px;
    margin-top: 60px;
    margin-right: 34px;
}

.request-text {
    font-size: 14px;
    font-weight: 300;
    color: #DCDCDC;
}

.request-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(to right, #D21537, #E95C39);
    border: none;
    border-radius: 48px;
    width: 194px;
    height: 34px;
    padding: 8px 20px;
    color: #F7F8FF;
    font-size: 12px;
    font-weight: 400;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow: 0px 2px 48px 0px rgba(0, 0, 33, 0.13);
}

.request-btn:hover {
    background: linear-gradient(to right, #f1284c, #fc7251);
}

/* Social Networks */
.social-networks {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 30px;
}

.social-networks-secondary {
    display: none;
}

@media screen and (min-width: 769px) {
    .social-networks {
        display: none;
    }
    .social-networks-secondary {
        display: flex;
        align-items: center;
        gap: 16px;
        margin-bottom: 60px;
        margin-right: 34px;
    }
}

.social-icon {
    width: 24px;
    height: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.social-icon {
    color: #D8D8D8;
}

.social-icon:hover {
    color: #E30A32;
}

.social-icon svg {
    width: 100%;
    height: 100%;
}

.icon {
    width: 20px;
    height: 20px;
    fill: #D8D8D8;
    opacity: 0.6;
}

.social-icon:first-child .icon {
    fill: #D1D2D4;
}

/* Legal */
.legal-heading {
    font-size: 28px;
    font-weight: 300;
}

.tos-last-update-badge {
    max-width: 239px;
    height: 34px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(to right, #D21537, #E95C39);
    border: none;
    border-radius: 48px;
    color: #F7F8FF;
    font-size: 13px;
    font-weight: 400;
    text-transform: uppercase;
    box-shadow: 0px 2px 48px 0px rgba(0, 0, 33, 0.13);
}

.legal-scrollable-content {
    min-height: 150px;
    overflow-y: scroll;
}

@media screen and (min-height: 642px) {
    body:not(.legal-page) .legal-scrollable-content {
        height: calc(100vh - 502px);
    }
    .legal-scrollable-content {
        height: calc(100vh - 355px);
    }
}
@media screen and (max-height: 641px) {
    body:not(.legal-page) .legal-scrollable-content {
        height: calc(100vh - 382px);
    }
    .legal-scrollable-content {
        height: calc(100vh - 355px);
    }
}

.legal-scrollable-content h3 {
    color: #fff;
    margin-bottom: 8px;
    font-weight: 400
}

.legal-scrollable-content p, .legal-scrollable-content ul {
    margin-bottom: 32px
}

.legal-scrollable-content p, .legal-scrollable-content li {
    color: #c9cacc;
    font-weight: 300
}

.legal-scrollable-content p, .legal-scrollable-content h3, .legal-scrollable-content li {
    font-size: 15px;
    line-height: 1.6
}

@media (max-width: 768px) {
    .legal-scrollable-content p, .legal-scrollable-content h3, .legal-scrollable-content li {
        font-size: 13px;
        line-height: 1.54;
        letter-spacing: .82px
    }

    .legal-scrollable-content p {
        margin-bottom: 8px
    }
}

.back-button-wrapper {
    width: 100%;
    display: flex;
    margin-top: 16px;
    margin-bottom: 16px;
}

.list-point {
    background-color: #FF385F;
    font-weight: 300;
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    border-width: 0;
    border-style: solid;
    border-color: #e5e7eb;
    margin-bottom: .25rem;
    margin-right: .25rem;
    display: inline-block;
    height: .375rem;
    width: .375rem;
    border-radius: 9999px;
    --tw-bg-opacity: 1;
    vertical-align: middle;
}

*::-webkit-scrollbar {
    width: 5px;
    height: 5px
}

*::-webkit-scrollbar-thumb {
    cursor: pointer;
    border-radius: 5px;
    background: #FF4465;
    box-shadow: 0 0 1px #ffffff80
}

::-webkit-scrollbar-corner {
    background: rgba(0,0,0,0);
}

/* Success Popup */
.success-popup {
    position: fixed;
    top: 20px;
    right: 20px;
    background-color: #D4ECD9;
    color: #32623D;
    padding: 15px 20px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 10px;
    opacity: 0;
    transform: translateY(-20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.success-popup.show {
    opacity: 1;
    transform: translateY(0);
}

.success-popup .close-icon {
    cursor: pointer;
    width: 16px;
    height: 16px;
    position: relative;
}

.success-popup .close-icon::before,
.success-popup .close-icon::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 2px;
    background-color: #32623D;
    top: 50%;
    left: 0;
}

.success-popup .close-icon::before {
    transform: rotate(45deg);
}

.success-popup .close-icon::after {
    transform: rotate(-45deg);
}