* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html,
body {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

body {
    font-family: "Segoe UI", sans-serif;
}

.register-page {
    width: 100%;
    height: 100vh;
    height: 100dvh;
    overflow: hidden;
    background:
        linear-gradient(
            rgba(0, 0, 0, 0.55),
            rgba(0, 0, 0, 0.55)
        ),
        url("https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?auto=format&fit=crop&w=1600&q=80");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* =========================================
   BOOTSTRAP CONTAINER
========================================= */

.register-page .container-fluid {
    width: 100%;
    height: 100%;
    padding: 0;
}


/* =========================================
   CENTER ROW
========================================= */

.register-page .row {
    width: 100%;
    height: 100vh;
    height: 100dvh;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* =========================================
   REGISTER COLUMN
========================================= */

.register-page .col-12 {
    width: auto;
    padding: 0;
}


.register-card {
    width: 450px;
    max-width: calc(100vw - 30px);
    min-height: 1050px;
    max-height: 1050px;
    padding: 28px 28px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 20px;
    color: #ffffff;
    box-shadow:0 15px 35px rgba(0, 0, 0, 0.35);
    overflow: hidden;
}

/* =========================================
   TITLE
========================================= */

.register-card h2 {
    font-size: 22px;
    font-weight: 700;
    line-height: 1.2;
    margin: 0;
}

/* =========================================
   SUBTITLE
========================================= */

.register-card p {
    color: #dddddd;
    font-size: 12px;
    margin: 3px 0 8px;
}

/* =========================================
   FORM
========================================= */

.register-fields {
    width: 100%;
}

/* =========================================
   FIELD
========================================= */

.field {
    margin-bottom: 6px;
}

/* =========================================
   LABEL
========================================= */

.form-label {
    display: block;
    color: #ffffff;
    font-size: 12px;
    margin: 0 0 2px;
}

/* =========================================
   INPUT GROUP
========================================= */
.input-group {
    width: 100%;
    height: 37px;
}

/* =========================================
   INPUT ICON
========================================= */

.input-group-text {
    width: 39px;
    min-width: 39px;
    height: 37px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0d6efd;
    color: #ffffff;
    border: none;
    font-size: 13px;
}

/* =========================================
   INPUT / SELECT
========================================= */

.form-control,
.form-select {
    height: 37px;
    min-height: 37px;
    padding: 5px 10px;
    border: none;
    font-size: 13px;
    border-radius: 0;
}

/* =========================================
   FOCUS
========================================= */

.form-control:focus,
.form-select:focus {
    border: none;
    outline: none;
    box-shadow:
        0 0 0 2px rgba(13, 110, 253, 0.30);
}

/* =========================================
   PASSWORD TOGGLE
========================================= */

.password-toggle {
    width: 39px;
    min-width: 39px;
    height: 37px;
    padding: 0;
    border: none;
    background: #ffffff;
    color: #555555;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

.password-toggle:hover {
    background: #eeeeee;
    color: #0d6efd;
}

/* =========================================
   TERMS
========================================= */

.terms {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 5px;
    margin-bottom: 8px;
}

.terms .form-check-input {
    width: 14px;
    height: 14px;
    margin: 0;
    flex-shrink: 0;
}


.terms-label {
    color: #eeeeee;
    font-size: 11px;
    line-height: 1;
}

.terms-label a {
    color: #ffc107;
    text-decoration: none;
}

.terms-label a:hover {
    color: #ffffff;
}

/* =========================================
   REGISTER BUTTON
========================================= */

.register-btn {
    width: 100%;
    height: 40px;
    padding: 5px;
    border-radius: 7px;
    font-size: 14px;
    font-weight: 500;
}

.register-btn i {
    margin-right: 5px;
}

/* =========================================
   LOGIN TEXT
========================================= */

.login-text {
    text-align: center;
    margin-top: 10px;
    color: #eeeeee;
    font-size: 11px;
}


.login-text a {
    color: #ffc107;
    text-decoration: none;
    font-weight: 500;
}

.login-text a:hover {
    color: #ffffff;
}

/* =========================================
   DIVIDER
========================================= */

.register-card hr {
    margin: 10px 0;
    border: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.20);
}


/* =========================================
   FOOTER
========================================= */

.footer-text {
    text-align: center;
    color: #dddddd;
    font-size: 10px;
}

/* =========================================
   TABLET
========================================= */
@media (max-width: 768px) {
    .register-card {
        width: 400px;
        max-width: calc(100vw - 25px);
        min-height: 570px;
        max-height: 590px;
        padding: 18px 21px;
    }

}

/* =========================================
   MOBILE
========================================= */

@media (max-width: 576px) {
    .register-card {
        width: 360px;
        max-width: calc(100vw - 20px);
        min-height: 540px;
        max-height: 570px;
        padding: 15px 18px;
        border-radius: 17px;
    }

    .register-icon {
        font-size: 28px;
    }

    .register-card h2 {
        font-size: 18px;
    }

    .register-card p {
        font-size: 10px;
        margin-bottom: 5px;
    }

    .field {
        margin-bottom: 5px;
    }

    .form-label {
        font-size: 11px;
    }

    .input-group {
        height: 34px;
    }


    .input-group-text {
        width: 36px;
        min-width: 36px;
        height: 34px;
        font-size: 11px;
    }

    .form-control,
    .form-select {
        height: 34px;
        min-height: 34px;
        font-size: 11px;
    }


    .password-toggle {
        width: 36px;
        min-width: 36px;
        height: 34px;
    }


    .register-btn {
        height: 36px;
        font-size: 12px;
    }

    .login-text {
        font-size: 10px;
        margin-top: 7px;
    }

    .register-card hr {
        margin: 7px 0;
    }

    .footer-text {
        font-size: 9px;
    }

}

/* =========================================
   SHORT SCREEN
========================================= */

@media (max-height: 700px) {
    .register-card {
        min-height: 0;
        max-height: calc(100vh - 12px);
        padding-top: 12px;
        padding-bottom: 12px;
    }

    .register-header {
        margin-bottom: 5px;
    }

    .register-icon {
        font-size: 27px;
        margin-bottom: 2px;
    }

    .register-card h2 {
        font-size: 18px;
    }

    .register-card p {
        margin-top: 2px;
        margin-bottom: 5px;
    }

    .field {
        margin-bottom: 4px;
    }

    .input-group,
    .input-group-text,
    .form-control,
    .form-select,
    .password-toggle {
        height: 33px;
        min-height: 33px;
    }

    .terms {
        margin-top: 3px;
        margin-bottom: 5px;
    }

    .register-btn {
        height: 35px;
    }

    .login-text {
        margin-top: 6px;
    }

    .register-card hr {
        margin: 5px 0;
    }

}

/* =========================================
   VERY SHORT SCREEN
========================================= */

@media (max-height: 600px) {
    .register-card {
        max-height: calc(100vh - 8px);
        padding: 8px 15px;
    }

    .register-icon {
        font-size: 21px;
    }

    .register-card h2 {
        font-size: 15px;
    }

    .register-card p {
        display: none;
    }

    .field {
        margin-bottom: 2px;
    }

    .form-label {
        font-size: 9px;
    }

    .input-group,
    .input-group-text,
    .form-control,
    .form-select,
    .password-toggle {
        height: 27px;
        min-height: 27px;
    }

    .form-control,
    .form-select {
        font-size: 9px;
    }

    .input-group-text {
        width: 30px;
        min-width: 30px;
    }

    .password-toggle {
        width: 30px;
        min-width: 30px;
    }

    .terms {
        margin-top: 2px;
        margin-bottom: 3px;
    }

    .terms-label {
        font-size: 8px;
    }

    .register-btn {
        height: 29px;
        font-size: 10px;
    }

    .login-text {
        font-size: 8px;
        margin-top: 4px;
    }

    .register-card hr {
        margin: 3px 0;
    }

    .footer-text {
        font-size: 7px;
    }

}