/* Login / Register page polish */
.sign-in-area-wrapper {
    position: relative;
    padding-top: 90px !important;
    padding-bottom: 90px !important;
    background:
        radial-gradient(circle at top left, rgba(13, 110, 253, .08), transparent 34%),
        linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

.sign-in-area-wrapper::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(15, 23, 42, .035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(15, 23, 42, .035) 1px, transparent 1px);
    background-size: 36px 36px;
    pointer-events: none;
}

.sign-in-area-wrapper .container {
    position: relative;
    z-index: 1;
}

.sign-in.register {
    width: 100%;
    background: #ffffff;
    border: 1px solid #e8edf5;
    border-radius: 24px;
    padding: 36px;
    box-shadow: 0 24px 70px rgba(15, 23, 42, .10);
}

.sign-in.register .title {
    color: #111827;
    font-size: 30px;
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 26px;
    text-align: center;
    letter-spacing: -.02em;
}

.sign-in.register .form-wrapper {
    width: 100%;
}

.sign-in.register .form-group {
    margin-bottom: 18px;
}

.sign-in.register label {
    color: #334155;
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 8px;
}

.sign-in.register .form-control {
    width: 100%;
    height: 56px;
    border: 1px solid #dbe3ef !important;
    border-radius: 16px !important;
    background: #ffffff;
    color: #111827;
    font-size: 15px;
    padding: 0 16px;
    box-shadow: none !important;
    outline: none;
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.sign-in.register .form-control::placeholder {
    color: #94a3b8;
}

.sign-in.register .form-control:focus {
    border-color: #0d6efd !important;
    box-shadow: 0 0 0 5px rgba(13, 110, 253, .10) !important;
    background: #fff;
}

.sign-in.register .form-check {
    padding-left: 0;
}

.sign-in.register .box-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-top: 4px;
    margin-bottom: 22px;
}

.sign-in.register .box-wrap .left {
    display: inline-flex;
    align-items: center;
    gap: 9px;
}

.sign-in.register .form-check-input {
    position: static;
    width: 18px !important;
    height: 18px !important;
    min-height: 18px !important;
    margin: 0 !important;
    float: none;
    border: 1px solid #cbd5e1;
    border-radius: 5px;
    cursor: pointer;
    accent-color: #0d6efd;
}

.sign-in.register .form-check-label {
    margin: 0;
    color: #475569;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

.sign-in.register a {
    color: #0d6efd;
    font-weight: 700;
    text-decoration: none;
    transition: color .2s ease;
}

.sign-in.register a:hover {
    color: #0b5ed7;
    text-decoration: underline;
}

.sign-in.register .btn-wrapper {
    width: 100%;
    gap: 12px !important;
}

.sign-in.register .btn-default,
.sign-in.register button[type="submit"],
.sign-in.register #otp_login_btn {
    width: 100%;
    height: 54px;
    border: 0 !important;
    border-radius: 16px !important;
    background: #0d6efd !important;
    color: #ffffff !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 800;
    line-height: 1;
    box-shadow: 0 14px 30px rgba(13, 110, 253, .22);
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.sign-in.register .btn-default:hover,
.sign-in.register button[type="submit"]:hover,
.sign-in.register #otp_login_btn:hover {
    background: #0b5ed7 !important;
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 18px 38px rgba(13, 110, 253, .28);
    text-decoration: none;
}

.sign-in.register #otp_login_btn {
    background: #111827 !important;
    box-shadow: 0 14px 30px rgba(15, 23, 42, .18);
}

.sign-in.register #otp_login_btn:hover {
    background: #020617 !important;
}

.sign-in.register .info {
    margin-top: 22px;
    margin-bottom: 0;
    text-align: center;
    color: #64748b;
    font-size: 15px;
}

.sign-in.register .error-wrap:not(:empty),
.sign-in.register .alert {
    border-radius: 14px;
    margin-bottom: 18px;
}

/* Page title / breadcrumb area if used by frontend-page-master */
.breadcrumb-area,
.page-header-area,
.page-title-area {
    background: #ffffff;
    padding-top: 60px;
    padding-bottom: 20px;
}

.breadcrumb-contents,
.breadcrumb-content,
.page-title-content {
    text-align: center;
}

.breadcrumb-contents .title,
.breadcrumb-content .title,
.page-title-content .title,
.page-title {
    color: #111827 !important;
    font-size: 44px !important;
    font-weight: 900 !important;
    line-height: 1.15;
    letter-spacing: -.035em;
}

.breadcrumb,
.breadcrumb-list {
    justify-content: center;
}

.breadcrumb a,
.breadcrumb-item a,
.breadcrumb-list a {
    color: #0d6efd;
    font-weight: 700;
}

/* Header icons polish visible in screenshot */
.nav-right-content,
.header-right-content,
.navbar-right-content,
.header-cart-wrapper,
.navbar-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-right-content a,
.header-right-content a,
.navbar-right-content a,
.header-cart-wrapper a,
.navbar-right a {
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.nav-right-content a:hover,
.header-right-content a:hover,
.navbar-right-content a:hover,
.header-cart-wrapper a:hover,
.navbar-right a:hover {
    transform: translateY(-2px);
}

/* Fix oversized checkbox caused by global form-control/input rules */
input[type="checkbox"],
input[type="radio"] {
    min-height: auto !important;
}

/* Mobile */
@media (max-width: 767px) {
    .sign-in-area-wrapper {
        padding-top: 55px !important;
        padding-bottom: 65px !important;
    }

    .sign-in.register {
        padding: 26px 20px;
        border-radius: 20px;
    }

    .sign-in.register .title {
        font-size: 26px;
    }

    .sign-in.register .box-wrap {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
    }

    .sign-in.register .btn-wrapper {
        flex-direction: column;
    }

    .breadcrumb-contents .title,
    .breadcrumb-content .title,
    .page-title-content .title,
    .page-title {
        font-size: 34px !important;
    }
}
