/* ==============================
   RESET
============================== */

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

    font-family: 'Manrope', sans-serif;
}


/* ==============================
   HTML / BODY
============================== */

html,
body {
    width: 100%;
    min-height: 100%;
}

body {
    background: #080808;

    color: var(--text-main);

    overflow-x: hidden;
}


/* ==============================
   PANEL
============================== */

.panel {
    min-height: 0;

    padding: 25px 30px;
}


/* ==============================
   TOPBAR
============================== */

.panel-topbar {
    height: 90px;

    display: flex;
    align-items: center;

    gap: 60px;
}


/* ==============================
   LOGO
============================== */

.panel-logo {
    font-size: 32px;
    font-weight: 900;

    line-height: .75;
    letter-spacing: -1px;

    display: flex;
    flex-direction: column;

    width: max-content;

    color: var(--text-main);

    text-decoration: none;

    flex-shrink: 0;
}

.panel-logo span {
    color: var(--accent);
}


/* ==============================
   REGISTER PAGE
============================== */

.register-page {
    width: 100%;

    min-height: calc(100vh - 115px);

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0 30px 40px;

    transform: translateY(-10px);
}


/* ==============================
   REGISTER RIGHT
============================== */

.register-right {
    width: 100%;

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


/* ==============================
   REGISTER BOX
============================== */

.register-box {
    width: 100%;
    max-width: 480px;

    padding: 40px;

    background: var(--bg-card);

    border: 1px solid var(--border);

    border-radius: 22px;

    color: var(--text-main);
}


/* ==============================
   FORM HEADER
============================== */

.form-header {
    margin-bottom: 28px;
}

.form-header h2 {
    font-size: 30px;
    font-weight: 800;

    line-height: 1.2;

    color: var(--text-main);
}


/* ==============================
   INPUT GROUP
============================== */

.input-group {
    margin-bottom: 20px;
}

.input-group label {
    display: block;

    margin-bottom: 8px;

    color: var(--text-muted);

    font-size: 12px;
    font-weight: 800;

    letter-spacing: 1px;
}


/* ==============================
   INPUT
============================== */

.input-group input {
    width: 100%;

    height: 55px;

    padding: 0 16px;

    border-radius: 7px;

    border: 1px solid var(--border);

    background: var(--bg-main);

    color: var(--text-main);

    font-size: 14px;

    outline: none;

    transition:
        border-color .25s ease,
        background .25s ease,
        box-shadow .25s ease;
}

.input-group input::placeholder {
    color: var(--text-muted);

    opacity: .7;
}

.input-group input:focus {
    border-color: var(--accent);

    box-shadow:
        0 0 0 3px
        rgba(37, 99, 235, 0.12);
}


/* ==============================
   PASSWORD WRAPPER
============================== */

.password-wrapper {
    position: relative;

    width: 100%;
}

.password-wrapper input {
    padding-right: 48px;
}


/* ==============================
   PASSWORD TOGGLE
============================== */

.toggle-password {
    position: absolute;

    top: 50%;
    right: 14px;

    width: 22px;
    height: 22px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0;

    border: none;

    background: transparent;

    color: #2563EB;

    cursor: pointer;

    transform: translateY(-50%);

    transition:
        color .2s ease,
        transform .2s ease;
}

.toggle-password:hover {
    color: #2563EB;

    transform:
        translateY(-50%)
        scale(1.05);
}

.eye-icon {
    width: 19px;
    height: 19px;

    display: block;

    color: #2563EB;

    flex-shrink: 0;
}


/* ==============================
   CREATE ACCOUNT BUTTON
============================== */

.create-btn {
    width: 100%;

    height: 55px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0 22px;

    margin-top: 5px;

    border-radius: 7px;

    border: 1px solid var(--accent);

    background: var(--accent);

    color: #FFFFFF;

    font-size: 14px;
    font-weight: 700;

    cursor: pointer;

    transition: .25s ease;
}

.create-btn:hover {
    transform: translateY(-2px);

    opacity: .92;
}

.create-btn:active {
    transform: translateY(0);
}


/* ==============================
   LOGIN LINK
============================== */

.login-link {
    margin-top: 22px;

    text-align: center;

    color: var(--text-secondary);

    font-size: 13px;
}

.login-link a {
    color: var(--accent);

    text-decoration: none;

    font-weight: 700;

    transition: .2s ease;
}

.login-link a:hover {
    opacity: .8;
}


/* ==============================
   ERROR MESSAGE
============================== */

.register-box > div[style] {
    margin-bottom: 20px !important;
}


/* ==============================
   RESPONSIVE
============================== */

@media (max-width: 900px) {

    .panel {
        padding: 20px 25px;
    }

    .panel-topbar {
        gap: 25px;
    }

    .register-page {
        min-height: calc(100vh - 110px);

        padding: 0 25px 35px;
    }

}


/* ==============================
   MOBILE
============================== */

@media (max-width: 700px) {

    .panel {
        padding: 20px;
    }

    .panel-topbar {
        height: 80px;

        gap: 15px;
    }

    .panel-logo {
        font-size: 28px;
    }

    .register-page {
        min-height: calc(100vh - 100px);

        padding: 0 20px 30px;
    }

    .register-box {
        max-width: 100%;

        padding: 30px;
    }

    .form-header h2 {
        font-size: 28px;
    }

}


/* ==============================
   SMALL MOBILE
============================== */

@media (max-width: 450px) {

    .panel {
        padding: 15px;
    }

    .panel-topbar {
        height: 70px;
    }

    .panel-logo {
        font-size: 25px;
    }

    .register-page {
        min-height: calc(100vh - 85px);

        padding: 0 15px 25px;
    }

    .register-box {
        padding: 25px 20px;

        border-radius: 18px;
    }

    .form-header h2 {
        font-size: 26px;
    }

    .input-group input {
        height: 52px;
    }

    .create-btn {
        height: 52px;
    }

}
