body.auth-shell,
body.app-shell,
body.login-shell {
    min-height: 100vh;
    background:
        radial-gradient(circle at 12% 18%, rgba(255, 73, 73, 0.18), transparent 24%),
        radial-gradient(circle at 84% 14%, rgba(50, 104, 255, 0.14), transparent 26%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(135deg, #030507 0%, #070c12 45%, #0a1018 100%);
    background-size: auto, auto, 36px 36px, 36px 36px, auto;
    color: #edf2ff;
    font-family: "SFMono-Regular", "Menlo", "Monaco", "Consolas", monospace;
}

body.app-shell {
    background-attachment: fixed;
}

body.auth-shell .text-muted,
body.app-shell .text-muted,
body.app-shell .text-400,
body.app-shell .text-500,
body.app-shell .text-600 {
    color: rgba(213, 222, 239, 0.72) !important;
}

.login-backdrop {
    position: relative;
    overflow: hidden;
}

.login-backdrop::before,
.login-backdrop::after {
    content: "";
    position: absolute;
    pointer-events: none;
}

.login-backdrop::before {
    width: 420px;
    height: 420px;
    left: -120px;
    top: -100px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(255, 74, 74, 0.18) 0%, transparent 68%);
    filter: blur(12px);
}

.login-backdrop::after {
    width: 360px;
    height: 360px;
    right: -100px;
    bottom: -120px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(56, 116, 255, 0.16) 0%, transparent 70%);
    filter: blur(16px);
}

.login-panel {
    border: 1px solid rgba(120, 146, 182, 0.18);
    border-radius: 30px;
    overflow: hidden;
    background: rgba(5, 9, 14, 0.88);
    box-shadow: 0 26px 80px rgba(0, 0, 0, 0.46);
    backdrop-filter: blur(14px);
}

.login-brand-side {
    position: relative;
    background:
        linear-gradient(180deg, rgba(255, 78, 78, 0.09) 0%, rgba(255, 78, 78, 0) 24%),
        linear-gradient(180deg, rgba(49, 106, 255, 0.1) 0%, rgba(49, 106, 255, 0) 38%),
        rgba(5, 10, 15, 0.92);
}

.login-brand-side::after {
    content: "";
    position: absolute;
    inset: 18px;
    border: 1px solid rgba(102, 124, 155, 0.1);
    border-radius: 22px;
    pointer-events: none;
}

.login-brand-chip {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 9px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #f5f7ff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.login-brand-chip span {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: #ff5151;
    box-shadow: 0 0 14px rgba(255, 81, 81, 0.75);
}

.login-brand-title {
    font-size: clamp(30px, 4vw, 42px);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.03em;
    color: #fff;
}

.login-brand-copy {
    color: rgba(220, 227, 243, 0.74);
    font-size: 14px;
    line-height: 1.8;
}

.login-form-side {
    position: relative;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.02) 0%, rgba(255, 255, 255, 0) 100%),
        rgba(7, 11, 17, 0.98);
    color: #ecf3ff;
}

.login-form-title {
    font-size: 34px;
    font-weight: 800;
    line-height: 1.1;
    color: #f8fbff;
    margin-bottom: 10px;
    letter-spacing: -0.03em;
}

.login-form-copy {
    color: rgba(213, 222, 239, 0.66);
    margin-bottom: 26px;
    line-height: 1.75;
}

.login-input-shell {
    position: relative;
    margin-bottom: 18px;
}

.login-input-shell .form-label {
    font-size: 12px;
    font-weight: 700;
    color: rgba(232, 238, 249, 0.82);
    margin-bottom: 8px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.login-input-shell .form-control {
    height: 56px;
    border-radius: 16px;
    border: 1px solid rgba(105, 126, 155, 0.24);
    background: rgba(255, 255, 255, 0.03);
    color: #f5f8ff;
    padding: 0 16px;
    box-shadow: none;
}

.login-input-shell .form-control::placeholder {
    color: rgba(198, 208, 226, 0.42);
}

.login-input-shell .form-control:focus {
    border-color: rgba(88, 136, 255, 0.72);
    box-shadow: 0 0 0 4px rgba(62, 112, 255, 0.12);
    background: rgba(255, 255, 255, 0.05);
}

.login-submit {
    height: 58px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    background: linear-gradient(135deg, #111824 0%, #162335 58%, #1c2b45 100%);
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 16px 36px rgba(0, 0, 0, 0.3);
}

.login-submit:hover,
.login-submit:focus {
    background: linear-gradient(135deg, #162235 0%, #1b2c46 58%, #23375a 100%);
}

.login-divider {
    display: flex;
    align-items: center;
    gap: 14px;
    color: rgba(204, 214, 231, 0.48);
    font-size: 11px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    margin: 22px 0 18px;
}

.login-divider::before,
.login-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
}

.login-quick-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.login-quick-card {
    display: block;
    padding: 14px 16px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    color: #eef4ff;
    text-decoration: none;
    transition: 0.2s ease;
}

.login-quick-card:hover {
    transform: translateY(-2px);
    border-color: rgba(95, 142, 255, 0.34);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.16);
    color: #fff;
}

.login-quick-card strong {
    display: block;
    margin-bottom: 4px;
    font-size: 13px;
    letter-spacing: 0.04em;
}

.login-quick-card span {
    font-size: 11px;
    color: rgba(209, 218, 235, 0.6);
    line-height: 1.6;
}

.login-footer-link {
    color: #8eb2ff;
    font-weight: 700;
    text-decoration: none;
}

.login-footer-link:hover {
    color: #b3cbff;
    text-decoration: underline;
}

body.app-shell [data-layout] {
    position: relative;
    z-index: 1;
}

body.app-shell .content {
    color: #edf2ff;
}

body.app-shell .navbar-vertical,
body.app-shell .navbar-top,
body.app-shell .dropdown-menu,
body.app-shell .offcanvas,
body.app-shell .modal-content,
body.app-shell .card,
body.app-shell .list-group-item,
body.app-shell .bg-white.dark__bg-1000,
body.app-shell .bg-body-tertiary {
    background: rgba(7, 11, 17, 0.84) !important;
    border-color: rgba(120, 146, 182, 0.16) !important;
    color: #edf2ff;
    backdrop-filter: blur(14px);
}

body.app-shell .card,
body.app-shell .dropdown-menu,
body.app-shell .offcanvas,
body.app-shell .modal-content {
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.28);
}

body.app-shell .navbar-vertical,
body.app-shell .navbar-top {
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.18);
}

body.app-shell .navbar-brand span,
body.app-shell .navbar-vertical-label,
body.app-shell .nav-link,
body.app-shell .dropdown-item,
body.app-shell .card-header-title,
body.app-shell h1,
body.app-shell h2,
body.app-shell h3,
body.app-shell h4,
body.app-shell h5,
body.app-shell h6,
body.app-shell label,
body.app-shell .form-label {
    color: #f5f8ff !important;
}

body.app-shell .nav-link,
body.app-shell .dropdown-item,
body.app-shell .notification-time,
body.app-shell p,
body.app-shell span,
body.app-shell td,
body.app-shell th,
body.app-shell li,
body.app-shell small {
    color: rgba(223, 231, 245, 0.82);
}

body.app-shell .navbar-vertical .nav-link:hover,
body.app-shell .navbar-top .nav-link:hover,
body.app-shell .dropdown-item:hover,
body.app-shell .dropdown-item:focus {
    background: rgba(255, 255, 255, 0.04);
    color: #fff !important;
}

body.app-shell .nav-link.active,
body.app-shell .navbar-vertical .show > .nav-link,
body.app-shell .navbar-vertical .nav-link[aria-expanded="true"] {
    color: #fff !important;
}

body.app-shell .nav-link.active .nav-link-text,
body.app-shell .navbar-vertical .show > .nav-link .nav-link-text,
body.app-shell .navbar-vertical .nav-link[aria-expanded="true"] .nav-link-text {
    color: #fff !important;
}

body.app-shell .nav-link.active {
    background: linear-gradient(135deg, rgba(255, 81, 81, 0.14), rgba(60, 110, 255, 0.14));
    border-radius: 12px;
}

body.app-shell .navbar-vertical-divider,
body.app-shell hr,
body.app-shell .dropdown-divider {
    border-color: rgba(120, 146, 182, 0.14) !important;
    opacity: 1;
}

body.app-shell .form-control,
body.app-shell .form-select {
    border-radius: 14px;
    border: 1px solid rgba(105, 126, 155, 0.24);
    background: rgba(255, 255, 255, 0.03);
    color: #f5f8ff;
    box-shadow: none;
}

body.app-shell .form-control::placeholder {
    color: rgba(198, 208, 226, 0.42);
}

body.app-shell .form-control:focus,
body.app-shell .form-select:focus,
body.app-shell .form-check-input:focus {
    border-color: rgba(88, 136, 255, 0.72);
    box-shadow: 0 0 0 4px rgba(62, 112, 255, 0.12);
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
}

body.app-shell .form-check-input {
    background-color: rgba(255, 255, 255, 0.06);
    border-color: rgba(120, 146, 182, 0.26);
}

body.app-shell .form-switch .udid-switch-input {
    width: 2.7rem;
    height: 1.4rem;
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0.08) !important;
    border-color: rgba(120, 146, 182, 0.32) !important;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03) !important;
}

body.app-shell .form-switch .udid-switch-input:not(:checked) {
    background-color: rgba(255, 255, 255, 0.08) !important;
    border-color: rgba(120, 146, 182, 0.32) !important;
    background-image: var(--bs-form-switch-bg) !important;
}

body.app-shell .form-switch .udid-switch-input:checked {
    background-color: #198754 !important;
    border-color: #198754 !important;
    background-image: var(--bs-form-switch-bg) !important;
    box-shadow: 0 0 0 0.2rem rgba(25, 135, 84, 0.18) !important;
}

body.app-shell .form-switch .udid-switch-input:focus {
    border-color: #2fb36f !important;
    box-shadow: 0 0 0 0.2rem rgba(25, 135, 84, 0.22) !important;
}

body.app-shell .form-switch .udid-switch-input:checked + label {
    color: #7ee2a8 !important;
}

body.app-shell .btn-primary,
body.app-shell .btn-primary:focus,
body.app-shell .btn-primary:active {
    border-color: rgba(255, 255, 255, 0.06);
    background: linear-gradient(135deg, #111824 0%, #162335 58%, #1c2b45 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 16px 36px rgba(0, 0, 0, 0.24);
}

body.app-shell .btn-primary:hover {
    background: linear-gradient(135deg, #162235 0%, #1b2c46 58%, #23375a 100%);
}

body.app-shell .btn-outline-secondary,
body.app-shell .btn-outline-facebook,
body.app-shell .btn-outline-google-plus {
    border-color: rgba(120, 146, 182, 0.28);
    color: #edf2ff;
}

body.app-shell .table {
    --falcon-table-color: rgba(223, 231, 245, 0.88);
    --falcon-table-border-color: rgba(120, 146, 182, 0.14);
}

body.app-shell .table > :not(caption) > * > * {
    background: transparent;
    border-bottom-color: rgba(120, 146, 182, 0.14);
}

body.app-shell .badge-subtle-info,
body.app-shell .badge-subtle-success,
body.app-shell .badge-subtle-warning,
body.app-shell .badge-subtle-primary {
    border: 1px solid rgba(255, 255, 255, 0.07);
}

body.app-shell .money-status {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    margin-right: 12px;
    padding: 0 14px;
    border-radius: 999px;
    border: 1px solid rgba(120, 146, 182, 0.18);
    background: rgba(255, 255, 255, 0.04);
    color: #f5f8ff;
}

body.app-shell .avatar img,
body.app-shell .rounded-circle.img-thumbnail {
    border-color: rgba(120, 146, 182, 0.22);
    background: rgba(255, 255, 255, 0.03);
}

body.app-shell .bg-holder {
    opacity: 0.65;
}

@media (max-width: 767.98px) {
    .login-quick-links {
        grid-template-columns: 1fr;
    }
}
