.header-login {
    width: 100%;
    display: flex;
    justify-content: center;
}

.header-login-content {
    width: 100%;
    max-width: 1200px;
    padding: 16px 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-login {
    text-align: center;
    padding: 16px 80px;
}

.footer-login a {
    margin: 0 10px;
    color: #a8a8a8;
}

.footer-login a:hover {
    color: rgba(41, 171, 226, 1);
}

/*Login*/
.login_body {
    margin: 0;
    min-height: 100vh;
    font-family: Arial, sans-serif;
    display: flex;
    flex-direction: column;
    background-color: #f5f5f5;
}

.header-login-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.signup-link {
    color: white;
}

.not_a_user_text_size {
    font-size: 20px;
}

.main-login {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding: 16px 80px;
    box-sizing: border-box;
}

.login-container {
    position: relative;
    max-width: 500px;
    width: 90%;
    padding: 70px 74px;
    background: white;
    border-radius: 30px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    text-align: center;
    margin: 0;
}

.desktop-only {
    display: flex;
    align-items: center;
    gap: 10px;
}

.mobile-only {
    display: none;
}

.h1-mrg-btm {
    margin-bottom: 32px;
}

.login-container h1::after {
    content: "";
    display: block;
    width: 130px;
    height: 3px;
    background-color: #29abe2;
    margin: 10px auto 0 auto;
    border-radius: 2px;
}

.login-container h2 {
    text-align: center;
    margin-bottom: 25px;
}

/*Registration*/
.main-register {
    flex: 1;
    padding: 16px 80px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}

.register-container {
    position: relative;
    max-width: 500px;
    width: 90%;
    padding: 55px 74px;
    background: white;
    border-radius: 30px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    text-align: center;
    margin-top: 25px;
}

.register-container h1::after {
    content: "";
    display: block;
    width: 130px;
    height: 3px;
    background-color: #29abe2;
    margin: 10px auto 0 auto;
    border-radius: 2px;
}

.register-container h2 {
    text-align: center;
    margin-bottom: 25px;
}

.button-group {
    display: flex;
    justify-content: center;
    gap: 12px;
    padding-top: 9px;
}

.privacy {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin: 20px 0px 5px 0px;
    text-align: center;
}

.privacy a {
    color: #29abe2;
}

.privacy label {
    text-align: center;
}

.privacy input {
    width: auto;
}

.title-row {
    position: relative;
    text-align: center;
    margin-bottom: 20px;
}

.title-row h1 {
    margin: 0;
}

.back-arrow {
    position: absolute;
    left: -43px;
    top: 37%;
    transform: translateY(-50%);
}

.back-arrow img {
    width: 24px;
    cursor: pointer;
}

.modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(5px);
    display: flex;
    justify-content: center;
    align-items: center;
}

.hidden {
    display: none;
}

.modal-content {
    background: white;
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    animation: pop 0.4s ease;
}

.modal-content h2 {
    font-size: 32px;
    margin-bottom: 20px;
}

#go-login {
    padding: 12px 24px;
    border-radius: 12px;
    border: none;
    background-color: #29abe2;
    color: white;
    cursor: pointer;
    font-size: 16px;
}

#go-login:hover {
    background-color: #4bb8eb;
}

@keyframes pop {
    from {
        transform: scale(0.7);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

@media (max-width: 1115px) {
    .splash_screen {
        background-color: #2a3647;
    }

    .splash_logo {
        display: none;
    }

    .splash_logo_mobile {
        display: block;
        width: 150px;
        animation: zoomIn 1s ease;
        will-change: transform;
    }
}

@media (max-width: 1115px) {
    .privacy {
        margin-top: 32px;
    }


    #signup-btn {
        width: 176px;
        font-size: 16px;
        margin-top: 32px;
    }

    .desktop-only {
        display: none;
    }

    .mobile-only {
        display: flex;
        justify-content: center;
        gap: 10px;
        margin-top: 20px;
    }

    .header-login-content {
        flex-direction: column;
        align-items: flex-start;
        padding: 20px 20px;
    }

    .register-container h1 {
        font-size: 47px;
        margin: 0;
        padding-bottom: 20px;
    }

    input {
        max-width: 400px;
    }

    .logo {
        width: 64px;
        height: 80px;
        margin-left: 0;
    }

    .header-login-right {
        margin-top: 10px;
        width: 100%;
        justify-content: center;
    }

    .main-login {
        padding: 40px 0 16px 0;
        height: auto;
    }

    .button-group {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    #login-btn,
    .guest-btn {
        font-size: 16px;
        width: 176px;
        min-width: 176px;
        max-width: 176px;
    }

    .signup-section {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 10px;
        margin-top: 27px;
        text-align: center;
    }

    .signup-btn {
        font-size: 16px;
        margin: 0;
        padding: 8px 16px;
    }

    .footer {
        text-align: center;
        padding: 40px 0;
    }
}

@media (max-width: 1115px) {
    .login-container h1 {
        font-size: 47px;
        margin: 0;
        padding-bottom: 20px;
    }

    .login-container {
        position: relative;
        max-width: 400px;
        width: 90%;
        padding: 24px 16px;
        background: white;
        border-radius: 30px;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
        text-align: center;
        margin: 0;
    }

    .register-container h1 {
        font-size: 47px;
        margin: 0;
        padding-bottom: 8px;
    }

    .register-container {
        padding: 24px 16px;
        max-width: 400px;
        width: 90%;
    }

    .register-container input {
        padding: 10px 36px 10px 12px;
    }

    .register-container .input-wrapper {
        margin-bottom: 12px;
    }

    .back-arrow {
        position: absolute;
        left: 0;
        top: 37%;
        transform: translateY(-50%);
    }

    .back-arrow img {
        width: 19px;
        cursor: pointer;
    }

    .footer {
        text-align: center;
        margin-top: 30px;
        padding-bottom: 30px;
    }
}