#box-sign {
    margin: clamp(2rem, 6vw, 5rem) 0;
}

#box-sign .row {
    justify-content: center;
}

#box-sign .box {
    margin: 0 auto 1.5rem;
    width: min(100%, 32rem);
    overflow: hidden;
    background: #fff;
    border: 1px solid #e7e9ee;
    border-radius: 16px;
    padding: 0 0 1.5rem;
    box-shadow: 0 20px 45px -32px rgba(15, 23, 42, 0.45);
}

#box-sign .box .brand-logo {
    padding: 1.75rem 1.75rem 0;
    text-align: center;
}

#box-sign .box .brand-logo img {
    max-width: 11rem;
    max-height: 3.25rem;
    width: auto;
    height: auto;
}

#box-sign .box .head {
    background: transparent;
    border: 0;
    display: block;
    margin: 0;
    padding: 1rem 1.75rem 1.5rem;
    text-align: center;
    width: 100%;
}

#box-sign .box .head h6 {
    font-weight: 600;
    color: #111827;
    font-size: 1.4rem;
    line-height: 1.3;
    margin: 0;
}

#box-sign .box .form {
    margin: 0 auto;
    text-align: left;
    width: calc(100% - 3.5rem);
}

#box-sign .box .form input,
#box-sign .box .form select {
    max-width: 100% !important;
}

#box-sign .box .form .form-group {
    margin-bottom: 1rem;
}

#box-sign .box .form .form-control {
    line-height: 1.4;
    height: 2.95rem;
    border-radius: 10px;
    border: 1px solid #cbd5e1;
    padding: 0.7rem 0.9rem;
    box-shadow: none;
}

#box-sign .box .form .form-control:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
}

#box-sign .box .form .form-control::placeholder {
    color: #8a94a6;
    font-size: 0.95rem;
    font-style: normal;
    font-weight: 400;
}

#box-sign .box .form .checkbox {
    margin-bottom: 0;
}

#box-sign .box .form .form-check-input {
    margin-right: 0.45rem;
}

#box-sign .box .social {
    margin: 0 auto;
    width: calc(100% - 3.5rem);
}

#box-sign .box .social button,
#box-sign .box .social .facebook-login,
#box-sign .box .social .google-login,
#box-sign .box .social .microsoft-login,
#box-sign .box .social .twitter-login {
    color: #fff;
    border: 0;
    border-radius: 10px;
    display: inline-block;
    text-align: center;
    padding: 0.75rem 1rem;
    width: 100%;
    position: relative;
    font-weight: 500;
    transition: transform 0.15s ease, box-shadow 0.2s ease;
    box-shadow: 0 8px 20px -14px rgba(15, 23, 42, 0.65);
}

#box-sign .box .social button:hover,
#box-sign .box .social button:focus {
    transform: translateY(-1px);
    box-shadow: 0 14px 24px -16px rgba(15, 23, 42, 0.9);
}

#box-sign .box .social .facebook-login {
    background: #39599f;
}

#box-sign .box .social .google-login {
    background: #bb4047;
}

#box-sign .box .social .microsoft-login {
    background: #00a4ef;
}

#box-sign .box .social .twitter-login {
    background: #00abf0;
}

#box-sign .box .login-button {
    border: 0;
    border-radius: 10px;
    display: inline-block;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: #fff;
    -webkit-text-fill-color: #fff;
    text-align: center;
    padding: 0.75rem 0;
    width: 100%;
    position: relative;
    font-weight: 600;
    transition: transform 0.15s ease, box-shadow 0.2s ease;
    box-shadow: 0 10px 20px -14px rgba(37, 99, 235, 0.95);
}

#box-sign .box .login-button:hover,
#box-sign .box .login-button:focus {
    transform: translateY(-1px);
    box-shadow: 0 16px 24px -16px rgba(29, 78, 216, 1);
}

#box-sign .box .social #socialLoginList button {
    margin-bottom: 0.75rem;
}

#box-sign .box .social #socialLoginList button:last-child {
    margin-bottom: 0;
}

#box-sign .box .social .division {
    display: inline-block;
    margin: 1rem 0 1.25rem;
    position: relative;
    text-align: center;
    width: 100%;
    color: #667085;
    font-size: 0.9rem;
}

#box-sign .box .social .division hr {
    border-color: #a2a8b0;
    border-width: 1px;
    margin: 0;
    position: absolute;
    width: 40%;
    top: 50%;
}

#box-sign .box .social .division hr:last-child {
    right: 0;
}

#box-sign .already {
    text-align: center;
    font-size: 0.92rem;
    margin-bottom: 0.6rem;
}

#box-sign .already a {
    color: #1f2937;
    font-size: 0.95rem;
    text-decoration: none;
}

#box-sign .already a:hover {
    color: #1d4ed8;
    text-decoration: underline;
}

#box-sign .reset .head h6 {
    color: #111827;
    font-size: 1.1rem;
    margin: 0 auto;
    width: 82%;
}

@media (max-width: 767px) {
    #box-sign {
        margin: 1.5rem 0;
    }

    #box-sign .box {
        width: min(100%, 100%);
        border-radius: 12px;
    }

    #box-sign .box .brand-logo,
    #box-sign .box .head {
        padding-left: 1.1rem;
        padding-right: 1.1rem;
    }

    #box-sign .box .form,
    #box-sign .box .social {
        width: calc(100% - 2.2rem);
    }
}
