.td-register-page {
    width: 100%;
    min-height: 100vh;

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

    padding: 32px 16px;

    background: #fff;
}

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

    padding: 40px;

    background: #fff;

    border: 1px solid #e5e7eb;
    border-radius: 12px;

    box-shadow: 0 10px 25px rgba(0, 0, 0, .08);
}


/* Header */

.td-register-header {
    display: flex;
    flex-direction: column;
    align-items: center;

    margin-bottom: 32px;

    text-align: center;
}

.td-register-logo {
    margin-bottom: 8px;
}

.td-register-logo a {
    display: block;
}

.td-register-logo-image {
    display: block;

    width: auto;
    max-width: 150px;
    height: 60px;

    object-fit: contain;
}

.td-register-header h1 {
    margin: 8px 0 0;

    color: #0f172a;

    font-size: 20px;
    line-height: 28px;

    font-weight: 600;
}

.td-register-header p {
    margin: 4px 0 0;

    color: #64748b;

    font-size: 14px;
    line-height: 20px;
}


/* Form */

.td-register-form {
    margin: 0;
    padding: 0;
}

.td-register-field {
    margin-bottom: 16px;
}

.td-register-field > label {
    display: block;

    margin-bottom: 6px;

    color: #334155;

    font-size: 14px;
    line-height: 20px;

    font-weight: 500;
}


/* Input */

.td-register-input-wrap {
    position: relative;
}

.td-register-input {
    display: block;
    width: 100%;
    height: 46px;
    margin: 0;
    padding: 10px 12px 10px 44px!important;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #fff;
    color: #0f172a;
    font-size: 14px;
    outline: none;
    box-sizing: border-box;
    transition:
        border-color .2s ease,
        box-shadow .2s ease;
    box-shadow: unset!Important;
}

.td-register-input::placeholder {
    color: #94a3b8;
}

.td-register-input:focus {
    border-color: var(--primary-color, #000);

    box-shadow:
        0 0 0 2px rgba(0, 0, 0, .08);
}

.td-register-input-icon {
    position: absolute;
    top: 0;
    left: 0;
    width: 44px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    pointer-events: none;
}

.td-register-input-icon svg {
    width: 20px;
    height: 20px;
}


/* Password */

.td-password {
    padding-right: 44px;
}

.td-password-toggle {
    position: absolute;
    top: 50%;
    right: 0;
    width: 44px;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    background: transparent;
    color: #94a3b8;
    cursor: pointer;
    margin: 0;
    line-height: unset;
    transform: translateY(-50%);
}

.td-password-toggle svg {
    height: 20px;
    width: 20px;
}

.td-password-toggle:hover {
    color: #475569;
}

.td-eye-hide {
    display: none;
}

.td-password-toggle.is-visible .td-eye-show {
    display: none;
}

.td-password-toggle.is-visible .td-eye-hide {
    display: inline;
}


/* Password strength */

.td-password-strength {
    display: none;

    margin-top: 8px;
}

.td-strength-bar {
    width: 100%;
    height: 6px;

    overflow: hidden;

    border-radius: 999px;

    background: #e2e8f0;
}

.td-strength-progress {
    width: 0;
    height: 100%;

    border-radius: inherit;

    transition:
        width .3s ease,
        background-color .3s ease;
}

.td-strength-text {
    margin-top: 4px;

    color: #64748b;

    font-size: 12px;
}

.td-strength-text span {
    font-weight: 500;
}


/* Password match */

.td-password-match {
    display: none;

    margin: 4px 0 0;

    font-size: 12px;
}

.td-match-success {
    color: #22c55e;
}

.td-match-error {
    color: #ef4444;
}


/* Terms */

.td-register-terms {
    margin-top: 4px;
    margin-bottom: 16px;
}

.td-register-terms label {
    display: flex;
    align-items: center;

    gap: 8px;

    cursor: pointer;

    color: #475569;

    font-size: 14px;
}

.td-register-terms input {
    width: 16px;
    height: 16px;

    margin: 0;

    accent-color: var(--primary-color, #000);
}


/* Register button */

.td-register-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 10px 16px;
    border: 1px solid transparent;
    border-radius: 8px;
    background: var(--primary-color, #000);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition:
        opacity .2s ease,
        transform .15s ease;
    margin: 0!important;
    line-height: unset;
}

.td-register-submit:hover {
    opacity: .9;
}

.td-register-submit:active {
    transform: scale(.98);
}

.td-register-submit:disabled {
    opacity: .5;
    cursor: not-allowed;
}


/* Google */

.td-social-register {
    margin-top: 24px;
}

.td-social-divider {
    position: relative;

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

    font-size: 14px;

    color: #64748b;
}

.td-social-divider::before {
    content: "";

    position: absolute;

    left: 0;
    right: 0;

    top: 50%;

    height: 1px;

    background: #e5e7eb;
}

.td-social-divider span {
    position: relative;

    padding: 0 8px;

    background: #fff;

    z-index: 1;
}

.td-social-button-wrap {
    margin-top: 24px;
}

.td-google-button {
    width: 100%;

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

    gap: 12px;

    padding: 10px 16px;

    border: 1px solid #e5e7eb;
    border-radius: 8px;

    background: #fff;

    color: #334155;

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

    text-decoration: none;

    box-shadow: 0 1px 2px rgba(0, 0, 0, .05);

    box-sizing: border-box;

    transition: all .2s ease;
}

.td-google-button:hover {
    background: #f8fafc;
    color: #334155;

    border-color: #d1d5db;
}

.td-google-icon {
    width: 20px;
    height: 20px;

    flex-shrink: 0;
}


/* Login */

.td-register-login {
    margin-top: 32px;

    text-align: center;
}

.td-register-login p {
    margin: 0;

    color: #475569;

    font-size: 14px;
    line-height: 20px;
}

.td-register-login a {
    color: var(--primary-color, #000);

    font-weight: 600;

    text-decoration: none;
}

.td-register-login a:hover {
    text-decoration: underline;
}

.td-register-policy {
    max-width: 320px;

    margin: 16px auto 0 !important;

    color: #94a3b8 !important;

    font-size: 12px !important;
}

.td-register-policy a {
    font-size: inherit;
}


/* Mobile */

@media (max-width: 640px) {

    .td-register-page {
        min-height: auto;

        padding: 24px 16px;
    }

    .td-register-box {
        padding: 28px 20px;

        border-radius: 10px;

        box-shadow: 0 6px 18px rgba(0, 0, 0, .06);
    }

    .td-register-header {
        margin-bottom: 28px;
    }

    .td-register-logo-image {
        max-width: 130px;
        height: 52px;
    }

}

@media (min-width: 1366px) {

    .td-register-input {
        display: block;
        width: 100% !important;
        height: 42px!important;
        margin: 0!important;
        padding: 10px 12px 10px 44px!important;
        border: 1px solid #e5e7eb!important;
        border-radius: 8px!important;
        background: #fff!important;
        color: #0f172a!important;
    }

}

footer{
    margin-top: 0!important;
}
