.ux-admin-page {
    position: relative;
    isolation: isolate;
}

.ux-admin-page .card:not(.ux-hero):not(.ux-table-card):not(.ux-panel):not(.ux-detail-card) {
    border: 0;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

.ux-admin-page .card-header {
    background: linear-gradient(135deg, #0f172a 0%, #1d4ed8 55%, #0f766e 100%);
    color: #fff;
    border-bottom: 0;
}

.ux-admin-page .card-header .card-title,
.ux-admin-page .card-header h1,
.ux-admin-page .card-header h2,
.ux-admin-page .card-header h3,
.ux-admin-page .card-header h4,
.ux-admin-page .card-header h5,
.ux-admin-page .card-header h6 {
    color: #fff;
}

.ux-admin-page::before {
    content: "";
    position: absolute;
    inset: -70px auto auto -110px;
    width: 300px;
    height: 300px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.18), rgba(59, 130, 246, 0));
    filter: blur(8px);
    pointer-events: none;
    z-index: -1;
}

.ux-hero {
    position: relative;
    overflow: hidden;
    border: 0;
    border-radius: 28px;
    color: #fff;
    background: linear-gradient(135deg, #0f172a 0%, #1d4ed8 55%, #0f766e 100%);
    box-shadow: 0 22px 55px rgba(15, 23, 42, 0.15);
}

.ux-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top right, rgba(110, 231, 255, 0.2), transparent 30%),
        radial-gradient(circle at bottom left, rgba(34, 197, 94, 0.14), transparent 32%);
    pointer-events: none;
}

.ux-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.42rem 0.82rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.78rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    white-space: nowrap;
}

.ux-hero__title {
    color: #fff;
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.05;
}

.ux-hero__text {
    color: rgba(255, 255, 255, 0.78);
    max-width: 54rem;
}

.ux-action {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    min-height: 46px;
    padding: 0.8rem 1rem;
    border: 0;
    border-radius: 16px;
    font-weight: 700;
    letter-spacing: -0.01em;
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.16);
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
    color: #fff !important;
}

.ux-action:hover,
.ux-action:focus {
    transform: translateY(-1px);
    color: #fff !important;
}

.ux-action__icon {
    width: 28px;
    height: 28px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.16);
    flex: 0 0 auto;
}

.ux-action--primary {
    background: linear-gradient(135deg, #1d4ed8 0%, #3b82f6 58%, #60a5fa 100%);
}

.ux-action--secondary {
    background: linear-gradient(135deg, #0f766e 0%, #14b8a6 58%, #34d399 100%);
}

.ux-action--warning {
    background: linear-gradient(135deg, #b45309 0%, #f59e0b 58%, #fbbf24 100%);
}

.ux-action--neutral {
    background: linear-gradient(135deg, #334155 0%, #475569 58%, #64748b 100%);
}

.ux-stat {
    position: relative;
    overflow: hidden;
    height: 100%;
    border: 0;
    border-radius: 22px;
    color: #fff;
    box-shadow: 0 18px 36px rgba(15, 23, 42, 0.12);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.ux-stat:hover {
    transform: translateY(-3px);
    box-shadow: 0 24px 48px rgba(15, 23, 42, 0.16);
}

.ux-stat::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top right, rgba(255, 255, 255, 0.18), transparent 32%),
        radial-gradient(circle at bottom left, rgba(255, 255, 255, 0.08), transparent 28%);
    pointer-events: none;
}

.ux-stat--blue {
    background: linear-gradient(135deg, #2563eb 0%, #3b82f6 55%, #60a5fa 100%);
}

.ux-stat--teal {
    background: linear-gradient(135deg, #0f8b67 0%, #12b981 56%, #35d6a6 100%);
}

.ux-stat--rose {
    background: linear-gradient(135deg, #b4234f 0%, #e24a64 56%, #ff7e73 100%);
}

.ux-stat__icon {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.14);
    margin-bottom: 1rem;
}

.ux-stat__label {
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    opacity: 0.82;
    margin-bottom: 0.35rem;
}

.ux-stat__value {
    font-size: clamp(1.15rem, 2vw, 1.8rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.05;
}

.ux-stat__meta {
    font-size: 0.88rem;
    opacity: 0.8;
    margin-top: 0.45rem;
}

.ux-search {
    border: 0;
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.98));
    box-shadow: 0 16px 32px rgba(15, 23, 42, 0.08);
}

.ux-search .form-control,
.ux-search .custom-select,
.ux-search select {
    min-height: 48px;
    border-color: #e5e7eb;
    box-shadow: none;
}

.ux-search .input-group-text {
    background: #fff;
    border-color: #e5e7eb;
    color: #64748b;
}

.ux-panel,
.ux-table-card {
    border: 0;
    border-radius: 24px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

.ux-panel--overflow-visible {
    overflow: visible;
}

.ux-table-card .table thead th {
    border-top: 0;
    border-bottom: 0;
    background: #f8fafc;
    color: #334155;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.85rem 0.75rem;
    white-space: nowrap;
}

.ux-table-card .table tbody td {
    vertical-align: middle;
    padding: 0.8rem 0.75rem;
    border-color: #edf2f7;
}

.ux-table-card .table tbody tr {
    transition: background-color 0.18s ease, transform 0.18s ease;
}

.ux-table-card .table tbody tr:hover {
    background: #f8fbff;
}

.ux-table-card .table tbody tr:nth-child(even) {
    background: rgba(248, 250, 252, 0.45);
}

.ux-mobile-list {
    display: block;
}

.ux-mobile-card {
    border: 1px solid #e5e7eb;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 14px 32px rgba(15, 23, 42, 0.08);
    overflow: hidden;
}

.ux-mobile-card__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
}

.ux-mobile-card__title {
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.2;
    color: #0f172a;
}

.ux-mobile-card__code {
    margin-top: 0.18rem;
    font-size: 0.8rem;
    color: #64748b;
}

.ux-mobile-card__meta {
    margin-top: 0.85rem;
    font-size: 0.82rem;
    color: #475569;
}

.ux-mobile-card__meta > div + div {
    margin-top: 0.35rem;
}

.ux-mobile-card__footer {
    margin-top: 0.95rem;
    padding-top: 0.95rem;
    border-top: 1px solid #e5e7eb;
}

.ux-mobile-card__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.ux-mobile-action {
    flex: 1 1 0;
    min-width: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.7rem 0.85rem;
    border: 0;
    border-radius: 14px;
    font-size: 0.84rem;
    font-weight: 700;
    text-decoration: none !important;
    color: #fff !important;
    background: linear-gradient(135deg, #1d4ed8 0%, #3b82f6 58%, #60a5fa 100%);
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.14);
}

.ux-mobile-action:hover,
.ux-mobile-action:focus {
    color: #fff !important;
    transform: translateY(-1px);
}

.ux-mobile-action--secondary {
    background: linear-gradient(135deg, #0f766e 0%, #14b8a6 58%, #34d399 100%);
}

.ux-mobile-action--warning {
    background: linear-gradient(135deg, #b45309 0%, #f59e0b 58%, #fbbf24 100%);
}

.ux-mobile-action--neutral {
    background: linear-gradient(135deg, #334155 0%, #475569 58%, #64748b 100%);
}

.ux-mobile-action--danger {
    color: #dc2626 !important;
    background: rgba(220, 38, 38, 0.08);
    box-shadow: none;
}

.ux-mobile-action--danger:hover,
.ux-mobile-action--danger:focus {
    color: #991b1b !important;
    background: rgba(220, 38, 38, 0.12);
}

.ux-inline-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
}

.ux-inline-badge--active {
    background: rgba(34, 197, 94, 0.12);
    color: #15803d;
}

.ux-inline-badge--inactive {
    background: rgba(239, 68, 68, 0.12);
    color: #b91c1c;
}

.ux-action-toggle {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 12px;
    color: #fff !important;
    background: linear-gradient(135deg, #1d4ed8 0%, #3b82f6 58%, #60a5fa 100%);
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.14);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ux-action-toggle:hover,
.ux-action-toggle:focus {
    transform: translateY(-1px);
    color: #fff !important;
    box-shadow: 0 16px 28px rgba(15, 23, 42, 0.2);
}

.ux-action-menu {
    border: 0;
    border-radius: 16px;
    padding: 0.4rem;
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.16);
}

.ux-action-menu .dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    border-radius: 10px;
    padding: 0.65rem 0.8rem;
    font-weight: 600;
}

.ux-action-menu .dropdown-item:hover {
    background: #f8fafc;
}

.ux-action-menu .dropdown-item--danger {
    color: #dc2626;
}

.ux-action-menu .dropdown-item--danger:hover {
    background: rgba(220, 38, 38, 0.08);
    color: #b91c1c;
}

.modal.backdrop {
    position: fixed;
    inset: 0;
    z-index: 10050;
}

.modal.backdrop .modal-backdrop {
    position: fixed !important;
    inset: 0 !important;
    z-index: 10051 !important;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 1rem 0;
    overflow-y: auto;
}

.ux-modal-backdrop {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    z-index: 10051;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 1rem 0;
    overflow-y: auto;
}

.ux-modal-shell {
    width: min(1040px, calc(100% - 1rem));
    margin: 0 auto;
}

.ux-modal-shell .modal-content {
    border-radius: 28px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: calc(100vh - 2rem);
    max-height: calc(100vh - 2rem);
    border: 0;
}

.ux-modal-shell .modal-content > form {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    min-height: 0;
}

.ux-modal-shell .modal-content > form > .modal-body {
    flex: 1 1 auto;
    min-height: 0;
}

.ux-modal-shell .modal-body {
    overflow-y: auto;
}

.ux-modal-shell .modal-footer {
    flex-shrink: 0;
    margin-top: auto;
}

.ux-modal-sidebar {
    min-height: 100%;
}

.ux-modal-hero {
    color: #fff;
    background: linear-gradient(135deg, #0f172a 0%, #1d4ed8 55%, #0f766e 100%);
}

.ux-modal-panel {
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.06);
}

.ux-modal-preview {
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.06);
}

.ux-modal-preview img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
}

.ux-modal-help {
    font-size: 0.82rem;
    color: #64748b;
}

.modal.backdrop .modal-dialog {
    width: min(1040px, calc(100% - 1rem));
    margin: 0 auto;
    position: relative;
    z-index: 10052;
}

.modal.backdrop .modal-content {
    border: 0;
    border-radius: 28px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: calc(100vh - 2rem);
    max-height: calc(100vh - 2rem);
    box-shadow: 0 22px 55px rgba(15, 23, 42, 0.15);
}

.modal.backdrop .modal-header {
    min-height: 140px;
    padding: 1.5rem 2rem;
    border-bottom: 0;
    background: linear-gradient(135deg, #0f172a 0%, #1d4ed8 55%, #0f766e 100%);
    color: #fff;
    text-align: center;
    position: relative;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 0.35rem;
}

.modal.backdrop .modal-header .modal-title {
    color: #fff !important;
    font-weight: 700;
    line-height: 1.2;
}

.modal.backdrop .modal-header h3,
.modal.backdrop .modal-header h4,
.modal.backdrop .modal-header h5,
.modal.backdrop .modal-header p,
.modal.backdrop .modal-header small {
    color: inherit;
}

.modal.backdrop .modal-header .close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    color: #fff;
    opacity: 1;
    text-shadow: none;
}

.modal.backdrop .modal-body {
    flex: 1 1 auto;
    min-height: 0;
    padding: 1.5rem;
    background: #f8fafc;
    overflow-y: auto;
}

.modal.backdrop .modal-footer {
    flex-shrink: 0;
    margin-top: auto;
    padding: 1.25rem 1.5rem 1.5rem;
    background: #f8fafc;
    border-top: 1px solid #e5e7eb;
}

.modal.backdrop .modal-body .card,
.modal.backdrop .modal-body .shadow {
    border: 0;
    border-radius: 22px;
    box-shadow: 0 14px 32px rgba(15, 23, 42, 0.08);
    overflow: hidden;
}

.modal.backdrop .modal-body .card-header {
    background: linear-gradient(135deg, #0f172a 0%, #1d4ed8 55%, #0f766e 100%);
    color: #fff;
    border-bottom: 0;
}

.modal.backdrop .modal-body .card-header .card-title,
.modal.backdrop .modal-body .card-header h1,
.modal.backdrop .modal-body .card-header h2,
.modal.backdrop .modal-body .card-header h3,
.modal.backdrop .modal-body .card-header h4,
.modal.backdrop .modal-body .card-header h5 {
    color: #fff;
    margin-bottom: 0;
}

.modal.backdrop .modal-content > .card-body,
.modal.backdrop .modal-content > .card.shadow {
    flex: 1 1 auto;
    min-height: 0;
    background: #f8fafc;
}

.modal.backdrop .modal-content > .card-body {
    padding: 1.5rem;
    overflow-y: auto;
}

.modal.backdrop .modal-content > .card.shadow > .card-body {
    padding: 1.5rem;
}

.modal.backdrop .modal-body .form-control,
.modal.backdrop .modal-body .custom-select,
.modal.backdrop .modal-body select {
    border-radius: 14px;
}

.modal.backdrop .modal-body label {
    color: #334155;
    font-weight: 600;
}

.stockcard-modal-shell .modal-backdrop {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 0.5rem;
    overflow-y: auto;
}

.stockcard-modal-shell .modal-dialog {
    width: min(1120px, calc(100vw - 1rem));
    max-width: calc(100vw - 1rem);
    margin: 0;
    position: relative;
    z-index: 10052;
}

.stockcard-modal-shell .modal-content {
    height: calc(100vh - 1rem);
    max-height: calc(100vh - 1rem);
    border-radius: 1.25rem;
    overflow: hidden;
}

.ux-detail-card {
    border: 0;
    border-radius: 24px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

.ux-detail-hero {
    padding: 1.5rem;
    color: #fff;
    background: linear-gradient(135deg, #0f172a 0%, #1d4ed8 55%, #0f766e 100%);
}

.ux-detail-hero .badge {
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.12);
}

.ux-detail-body {
    padding: 1.5rem;
}

.ux-detail-table th {
    color: #64748b;
    font-weight: 600;
    border-top: 0;
}

.ux-detail-table td,
.ux-detail-table th {
    padding-top: 0.7rem;
    padding-bottom: 0.7rem;
}

.auth-page {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    background:
        radial-gradient(circle at 16% 18%, rgba(59, 130, 246, 0.28), transparent 24%),
        radial-gradient(circle at 85% 82%, rgba(20, 184, 166, 0.14), transparent 22%),
        linear-gradient(135deg, #071223 0%, #09152a 42%, #07131f 100%);
}

.auth-page::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 120px 120px;
    opacity: 0.32;
    pointer-events: none;
}

.auth-shell {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.auth-card {
    width: min(1360px, 100%);
    margin: 0 auto;
    border-radius: 32px;
    overflow: hidden;
    background: transparent;
    box-shadow: none;
    border: 0;
}

.auth-visual {
    color: #fff;
    min-height: 100%;
    padding: 2rem 1rem 2rem 1.25rem;
    background: transparent;
    position: relative;
    overflow: hidden;
}

.auth-visual::before {
    content: "";
    position: absolute;
    inset: 18px 18px 18px 18px;
    background:
        radial-gradient(circle at 14% 28%, rgba(59, 130, 246, 0.18), transparent 20%),
        radial-gradient(circle at 72% 18%, rgba(251, 191, 36, 0.12), transparent 18%),
        radial-gradient(circle at 84% 78%, rgba(34, 197, 94, 0.12), transparent 16%);
    pointer-events: none;
    border-radius: 34px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.auth-visual__art {
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.98;
}

.auth-visual__art::before,
.auth-visual__art::after {
    content: "";
    position: absolute;
    border-radius: 999px;
}

.auth-visual__art::before {
    width: 290px;
    height: 290px;
    left: -80px;
    top: 28px;
    background:
        radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.06) 0 48%, transparent 49%),
        linear-gradient(135deg, rgba(59, 130, 246, 0.12), rgba(59, 130, 246, 0.04));
    box-shadow:
        420px 68px 0 0 rgba(59, 130, 246, 0.08),
        710px 210px 0 0 rgba(251, 191, 36, 0.08),
        220px 368px 0 0 rgba(34, 197, 94, 0.08);
    filter: blur(1px);
}

.auth-visual__art::after {
    width: 420px;
    height: 14px;
    right: 8%;
    top: 18%;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0));
    box-shadow:
        -190px 104px 0 0 rgba(255, 255, 255, 0.12),
        -88px 254px 0 0 rgba(255, 255, 255, 0.1),
        -308px 370px 0 0 rgba(255, 255, 255, 0.08);
}

.auth-visual__line {
    position: absolute;
    left: -4%;
    right: 8%;
    top: 55%;
    height: 4px;
    background: linear-gradient(90deg, rgba(59, 130, 246, 0), rgba(59, 130, 246, 0.48), rgba(34, 197, 94, 0.68), rgba(251, 191, 36, 0.58), rgba(251, 191, 36, 0));
    border-radius: 999px;
    transform: rotate(-11deg);
    filter: drop-shadow(0 0 18px rgba(59, 130, 246, 0.18));
}

.auth-visual__line::before,
.auth-visual__line::after {
    content: "";
    position: absolute;
    top: -14px;
    width: 18px;
    height: 18px;
    border-radius: 999px;
    box-shadow: 0 0 0 10px rgba(34, 197, 94, 0.12);
}

.auth-visual__line::before {
    left: 28%;
    background: #22c55e;
}

.auth-visual__line::after {
    left: 63%;
    background: #f59e0b;
    box-shadow: 0 0 0 10px rgba(245, 158, 11, 0.12);
}

.auth-visual > * {
    position: relative;
    z-index: 1;
}

.auth-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
    margin-bottom: 1.5rem;
}

.auth-brand__logo {
    width: 78px;
    height: 78px;
    border-radius: 22px;
    object-fit: contain;
    background: #fff;
    border: 1px solid rgba(255, 255, 255, 0.16);
    padding: 0.45rem;
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.22);
}

.auth-brand__text {
    font-weight: 800;
    letter-spacing: -0.03em;
    font-size: 1.05rem;
    opacity: 0.92;
}

.auth-visual__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.45rem 0.8rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 0.76rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.auth-visual__title {
    max-width: 10.5ch;
    font-size: clamp(2.8rem, 5vw, 5rem);
    line-height: 0.95;
    font-weight: 800;
    letter-spacing: -0.06em;
    margin-top: 1.35rem;
    margin-bottom: 1rem;
}

.auth-visual__text {
    color: rgba(255, 255, 255, 0.7);
    max-width: 42rem;
    font-size: 1rem;
    line-height: 1.7;
}

.auth-visual__list {
    margin-top: 2rem;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.85rem;
}

.auth-visual__item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1rem;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.auth-visual__item-icon {
    width: 36px;
    height: 36px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.12);
    flex: 0 0 auto;
}

.auth-visual__item-title {
    font-weight: 700;
    margin-bottom: 0.15rem;
}

.auth-visual__item-text {
    color: rgba(255, 255, 255, 0.66);
    font-size: 0.84rem;
    line-height: 1.55;
}

.auth-form {
    padding: 1rem 1rem 1rem 0;
    background: transparent;
    display: flex;
    align-items: center;
}

.auth-form > * {
    width: 100%;
}

.auth-form__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.4rem 0.8rem;
    border-radius: 999px;
    background: rgba(37, 99, 235, 0.08);
    color: #1d4ed8;
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 700;
}

.auth-form__title {
    margin-top: 1rem;
    margin-bottom: 0.35rem;
    font-size: clamp(1.55rem, 2.6vw, 2.15rem);
    line-height: 1.05;
    font-weight: 800;
    letter-spacing: -0.04em;
    color: #0f172a;
}

.auth-form__text {
    color: #64748b;
    margin-bottom: 1.5rem;
}

.auth-form__panel {
    max-width: 430px;
    margin-left: auto;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: 32px;
    box-shadow: 0 28px 70px rgba(15, 23, 42, 0.18);
    padding: 2.15rem 2.1rem;
}

.auth-form .form-group {
    margin-bottom: 1rem;
}

.auth-form .form-control {
    min-height: 48px;
    border-radius: 14px;
    border-color: #d7e0eb;
    box-shadow: none;
}

.auth-form .form-control:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 0.2rem rgba(59, 130, 246, 0.12);
}

.auth-form .form-label {
    color: #334155;
    font-weight: 600;
}

.auth-form .custom-checkbox .custom-control-label::before {
    border-radius: 8px;
}

.auth-form__button {
    min-height: 50px;
    border: 0;
    border-radius: 14px;
    font-weight: 700;
    color: #fff !important;
    background: linear-gradient(135deg, #1d4ed8 0%, #3b82f6 58%, #60a5fa 100%);
    box-shadow: 0 16px 30px rgba(15, 23, 42, 0.18);
}

.auth-form__button:hover,
.auth-form__button:focus {
    color: #fff !important;
    transform: translateY(-1px);
}

.auth-form__footer {
    margin-top: 1.35rem;
    padding-top: 1rem;
    border-top: 1px solid #e5e7eb;
    color: #64748b;
    font-size: 0.88rem;
}

@media (max-width: 1199.98px) {
    .ux-modal-shell {
        width: calc(100% - 0.75rem);
    }
}

@media (max-width: 991.98px) {
    .ux-modal-sidebar {
        min-height: auto;
    }

    .ux-modal-shell .modal-content {
        height: calc(100vh - 1rem);
        max-height: calc(100vh - 1rem);
    }
}

@media (max-width: 767.98px) {
    .ux-table-card .table thead th,
    .ux-table-card .table tbody td {
        padding: 0.7rem 0.55rem;
    }

    .ux-mobile-card {
        border-radius: 18px;
    }

    .auth-shell {
        align-items: flex-start;
    }

    .auth-card {
        border-radius: 24px;
    }

    .auth-visual {
        padding: 1rem 0.25rem 1.25rem;
    }

    .auth-form {
        padding: 0.25rem;
    }

    .auth-form__panel {
        max-width: none;
        margin-left: 0;
        border-radius: 24px;
        padding: 1.5rem;
    }
}

@media (min-width: 768px) {
    .ux-mobile-list {
        display: none;
    }
}

@media (max-width: 991.98px) {
    .auth-visual {
        min-height: auto;
    }

    .auth-visual__list {
        grid-template-columns: 1fr;
        max-width: 34rem;
    }
}
