.login-page-shell,
.register-page-shell {
    max-width: 520px;
    margin: 0 auto 48px;
    padding: 0 12px;
}

.register-page-shell.is-seller-register {
    max-width: 880px;
}

.login-page-panel,
.register-page-panel {
    border: 1px solid #e6ecf2;
    border-radius: 20px;
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.08);
    padding: clamp(22px, 4vw, 34px) clamp(18px, 4vw, 32px);
    background: linear-gradient(180deg, #ffffff 0%, #fbfcfd 100%);
}

.login-page-copy {
    margin-bottom: 26px;
}

.register-page-copy {
    margin-bottom: 22px;
}

.login-page-panel .title,
.register-page-panel .title {
    color: #17202a;
    line-height: 1.15;
}

.login-page-panel .title {
    margin: 14px 0 10px;
    font-size: clamp(26px, 4vw, 32px);
}

.register-page-panel .title {
    margin: 0 0 10px;
    font-size: clamp(26px, 4vw, 32px);
}

.login-page-subtitle,
.register-page-subtitle {
    margin: 0;
    color: #5f6b7a;
    font-size: clamp(13px, 2.2vw, 15px);
    line-height: 1.6;
}

.login-page-label,
.register-field-label {
    display: block;
    margin-bottom: 8px;
    color: #334155;
    font-size: 13px;
    font-weight: 600;
}

.login-page-feedback {
    margin-bottom: 18px;
}

.seller-auth-suspension-notice {
    padding: 18px;
    border: 1px solid rgba(220, 38, 38, 0.18);
    border-radius: 18px;
    background: linear-gradient(180deg, #fff5f5 0%, #fff1f2 100%);
    color: #7f1d1d;
    text-align: left;
    box-shadow: 0 16px 34px rgba(127, 29, 29, 0.08);
}

.seller-auth-suspension-notice h3 {
    margin: 0 0 8px;
    font-size: 18px;
    line-height: 1.35;
    color: #991b1b;
}

.seller-auth-suspension-notice p {
    margin: 0 0 10px;
    font-size: 14px;
    line-height: 1.6;
}

.seller-auth-suspension-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(220, 38, 38, 0.12);
    color: #b91c1c;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.seller-auth-suspension-note {
    color: #9f1239;
}

.seller-auth-suspension-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 180px;
    margin-top: 6px;
}

.login-page-field-feedback {
    display: block;
    min-height: 18px;
    margin-top: 8px;
    color: #d14343;
    font-size: 12px;
    line-height: 1.4;
}

.login-page-panel .auth-form-input,
.register-page-panel .auth-form-input {
    min-height: clamp(46px, 6vw, 52px);
    padding: 10px 14px;
    font-size: clamp(14px, 2vw, 15px);
}

.register-page-panel .form-group {
    margin-bottom: 14px;
}

.auth-form-textarea {
    min-height: 140px;
    padding: 12px 14px;
    font-size: 14px;
    resize: vertical;
}

.seller-register-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.register-field-help {
    color: #64748b;
    font-weight: 400;
}

.seller-location-group {
    margin-bottom: 16px;
}

.seller-file-upload {
    border: 1px dashed #cbd5e1;
    border-radius: 16px;
    padding: 16px;
    background: #f8fafc;
}

.seller-file-upload-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 10px 18px;
    border-radius: 12px;
    background: #14897c;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    margin-bottom: 12px;
}

.seller-file-upload-btn input {
    display: none;
}

.seller-file-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
    color: #475569;
    font-size: 13px;
}

.register-page-panel .select2-container {
    width: 100% !important;
}

.password-field-wrap {
    position: relative;
}

.password-field-wrap .auth-form-input-password {
    padding-right: 48px;
}

.password-toggle-btn {
    position: absolute;
    top: 50%;
    right: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #64748b;
    transform: translateY(-50%);
}

.password-toggle-btn:focus {
    outline: none;
    color: #14897c;
}

.login-page-panel .btn.btn-md,
.register-page-panel .btn.btn-custom {
    min-height: clamp(46px, 6vw, 52px);
    padding: 10px 16px;
}

.auth-form-input.is-invalid,
.was-validated .auth-form-input:invalid {
    border-color: #d14343;
    box-shadow: 0 0 0 0.2rem rgba(209, 67, 67, 0.12);
}

@media (max-width: 991.98px) {
    .login-page-shell,
    .register-page-shell {
        max-width: min(100%, 560px);
        margin-bottom: 28px;
    }

    .register-page-shell.is-seller-register {
        max-width: min(100%, 760px);
    }
}

@media (max-width: 767.98px) {
    .login-page-shell,
    .register-page-shell,
    .register-page-shell.is-seller-register {
        max-width: min(100%, 520px);
    }
}

@media (max-width: 576px) {
    #wrapper {
        padding-top: 76px !important;
    }

    .register-page-breadcrumb {
        display: none;
    }

    .login-page-shell,
    .register-page-shell,
    .register-page-shell.is-seller-register {
        max-width: 100%;
        margin: 0 auto 18px;
        min-height: calc(100vh - 104px);
        min-height: calc(100dvh - 104px);
        display: flex;
        align-items: center;
        padding: 0 8px;
    }

    .login-page-panel,
    .register-page-panel {
        width: 100%;
        padding: 22px 18px;
        border-radius: 16px;
        box-shadow: 0 12px 28px rgba(15, 23, 42, 0.07);
    }

    .login-page-copy,
    .register-page-copy {
        margin-bottom: 18px;
    }

    .login-page-panel .title,
    .register-page-panel .title {
        font-size: 25px;
    }

    .login-page-subtitle,
    .register-page-subtitle {
        font-size: 13px;
        line-height: 1.5;
    }

    .login-page-label {
        margin-bottom: 6px;
        font-size: 12px;
    }

    .login-page-panel .form-group,
    .register-page-panel .form-group {
        margin-bottom: 12px;
    }

    .login-page-panel .auth-form-input,
    .register-page-panel .auth-form-input {
        min-height: 46px;
        height: 46px;
        padding: 10px 14px;
        font-size: 14px;
    }

    .login-page-field-feedback {
        min-height: 14px;
        margin-top: 4px;
        font-size: 11px;
    }

    .login-page-panel .btn.btn-md,
    .register-page-panel .btn.btn-custom {
        min-height: 46px;
        padding: 10px 16px;
    }

    .link-forgot-password,
    .p-social-media,
    .register-page-panel .custom-control-label {
        font-size: 13px;
    }

    .seller-register-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}

@media (max-width: 380px) {
    .login-page-shell,
    .register-page-shell {
        padding: 0 4px;
    }

    .login-page-panel,
    .register-page-panel {
        padding: 18px 14px;
    }

    .login-page-panel .title,
    .register-page-panel .title {
        font-size: 23px;
    }
}
