:root {
    --primary: #0D9B6A;
    --primary-dark: #087A53;
    --primary-light: #10B981;
    --accent: #D4A843;
    --accent-dark: #B8922E;
    --bg-dark: #0B111B;
    --bg-card: #162332;
    --text-main: #fff;
    --text-muted: #9CA3AF;
    --text-dim: #6B7A8D;
    --border: rgba(255, 255, 255, 0.08);
    --glass: rgba(22, 35, 50, 0.7);
    --glass-border: rgba(255, 255, 255, 0.1);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

.client-layout {
    display: flex;
    min-height: 100vh;
    background: var(--bg-dark);
    font-family: 'Inter', sans-serif;
}

/* =============================================
   SIDEBAR
   ============================================= */
.client-sidebar {
    width: 240px;
    background: #111927;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 100;
    overflow-y: auto;
    transition: all 0.3s ease;
}

.sidebar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    text-decoration: none;
}

.logo-img-sidebar {
    height: 60px;
    width: 60px;
    object-fit: contain;
}

.sidebar-brand .brand-text {
    font-size: 18px;
    font-weight: 800;
    color: #fff;
}

.sidebar-brand .brand-accent {
    color: #D4A843;
}

.sidebar-section {
    padding: 15px 0;
}

.sidebar-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #4B5563;
    padding: 0 20px 10px;
}

.sidebar-nav {
    list-style: none;
}

.sidebar-nav li a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 20px;
    color: #9CA3AF;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
    text-decoration: none;
}

.sidebar-nav li a:hover {
    color: #fff;
    background: rgba(13, 155, 106, 0.08);
}

.sidebar-nav li a.active {
    color: #0D9B6A;
    background: rgba(13, 155, 106, 0.1);
    border-left-color: #0D9B6A;
}

.sidebar-nav li a i {
    width: 20px;
    text-align: center;
    font-size: 16px;
}

.sidebar-nav .submenu {
    list-style: none;
    padding-left: 20px;
}

.sidebar-nav .submenu a {
    padding: 8px 20px;
    font-size: 13px;
}

.sidebar-nav .has-sub>a::after {
    content: '\f078';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 10px;
    margin-left: auto;
    transition: transform 0.2s;
}

.sidebar-nav .has-sub.open>a::after {
    transform: rotate(180deg);
}

.sidebar-nav .has-sub .submenu {
    display: none;
}

.sidebar-nav .has-sub.open .submenu {
    display: block;
}

/* =============================================
   MAIN CONTENT
   ============================================= */
.client-main {
    flex: 1;
    margin-left: 240px;
    min-height: 100vh;
}

.client-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 30px;
    background: #111927;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    position: sticky;
    top: 0;
    z-index: 50;
}

.topbar-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.sidebar-toggle {
    background: none;
    border: none;
    color: #9CA3AF;
    font-size: 20px;
    cursor: pointer;
    padding: 5px;
    display: none;
}

.topbar-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.topbar-icon {
    color: #9CA3AF;
    font-size: 18px;
    cursor: pointer;
    position: relative;
    transition: color 0.2s;
}

.topbar-icon:hover {
    color: #fff;
}

.topbar-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0D9B6A, #087A53);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
}

.client-content {
    padding: 30px;
}

/* =============================================
   PAGE TITLE
   ============================================= */
.page-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
}

.page-title h1 {
    font-size: 24px;
    color: #fff;
    font-weight: 700;
}

.page-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
}

.page-breadcrumb a {
    color: #D4A843;
}

.page-breadcrumb span {
    color: #4B5563;
}

/* =============================================
   DASHBOARD CARDS
   ============================================= */
.dash-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.dash-card {
    background: #162332;
    border-radius: 12px;
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.dash-card:hover {
    border-color: rgba(13, 155, 106, 0.2);
    transform: translateY(-2px);
}

.dash-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.dash-card-label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #6B7A8D;
}

.dash-card-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.dash-card-value {
    font-size: 28px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 4px;
}

.dash-card-sub {
    font-size: 13px;
    color: #6B7A8D;
}

/* Welcome Banner */
.welcome-banner {
    background: linear-gradient(135deg, #1a3a5c 0%, #0D9B6A 50%, #087A53 100%);
    border-radius: 16px;
    padding: 30px;
    color: #fff;
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
}

.welcome-banner::after {
    content: '';
    position: absolute;
    right: -5%;
    top: -50%;
    width: 40%;
    height: 200%;
    background: rgba(255, 255, 255, 0.05);
    transform: rotate(15deg);
}

.welcome-banner h2 {
    font-size: 22px;
    color: #fff;
    margin-bottom: 6px;
}

.welcome-banner p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

/* =============================================
   DATA TABLE
   ============================================= */
.data-table-wrapper {
    background: #162332;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
    margin-bottom: 30px;
}

.data-table-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.data-table-header h3 {
    font-size: 16px;
    color: #fff;
    font-weight: 600;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
}

.data-table th {
    padding: 12px 24px;
    text-align: left;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #6B7A8D;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(0, 0, 0, 0.1);
}

.data-table td {
    padding: 14px 24px;
    font-size: 14px;
    color: #D1D5DB;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.data-table tr:hover td {
    background: rgba(13, 155, 106, 0.03);
}

.data-table .amount-positive {
    color: #10B981;
    font-weight: 600;
}

.data-table .amount-negative {
    color: #EF4444;
    font-weight: 600;
}

/* =============================================
   FORM CARD & PREMIUM INPUTS
   ============================================= */
.form-card {
    background: var(--bg-card);
    border-radius: 20px;
    padding: 42px;
    border: 1px solid var(--border);
    margin-bottom: 34px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.form-card h3 {
    font-size: 20px;
    color: var(--text-main);
    margin-bottom: 25px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-group {
    margin-bottom: 26px;
    min-width: 0;
}

.form-group label {
    color: var(--text-muted);
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 10px;
    display: block;
    transition: all 0.2s;
    line-height: 1.45;
}

.form-control {
    background: rgba(11, 17, 27, 0.6);
    border: 1px solid var(--border);
    color: #fff;
    border-radius: 12px;
    box-sizing: border-box;
    display: block;
    padding: 14px 16px;
    font-size: 14px;
    line-height: 1.45;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    width: 100%;
    min-height: 50px;
}

.form-control:focus {
    background: rgba(11, 17, 27, 0.9);
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(13, 155, 106, 0.15);
    outline: none;
    transform: translateY(-1px);
}

.form-control::placeholder {
    color: #4B5563;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 32px;
    align-items: start;
    margin-bottom: 4px;
}

.form-row > .form-group {
    width: 100%;
}

.form-row .form-group {
    margin-bottom: 24px;
}

textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

select.form-control {
    cursor: pointer;
}

.dash-row {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

.transfer-layout {
    grid-template-columns: minmax(260px, 360px) minmax(0, 1fr);
    align-items: start;
    gap: 24px;
}

.transfer-side {
    gap: 18px !important;
}

.transfer-layout .account-info {
    padding: 18px;
    border-radius: 10px;
}

.transfer-layout .account-info h4 {
    margin-bottom: 8px;
}

.transfer-layout .account-info .balance {
    font-size: 26px;
    margin-bottom: 2px;
}

.transfer-layout .account-info .balance-sub {
    margin-bottom: 12px;
}

.transfer-layout .account-info-row {
    padding: 6px 0;
    gap: 14px;
}

.transfer-layout .account-info-row span:first-child {
    flex: 0 0 86px;
}

.transfer-layout .account-info-row span:last-child {
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.4px;
    text-align: right;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.28);
    overflow-wrap: anywhere;
}

.transfer-layout .account-info-row.iban-row span:last-child {
    font-size: 14px;
}

.transfer-layout .form-card {
    margin-bottom: 0;
}

/* =============================================
   AUTH PAGES (Login/Register)
   ============================================= */
.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    background: radial-gradient(circle at top right, #1a3a5c, #0B111B 40%),
        radial-gradient(circle at bottom left, #087A53, #0B111B 40%);
    position: relative;
    overflow: hidden;
}

.auth-page::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: url('https://www.transparenttextures.com/patterns/carbon-fibre.png');
    opacity: 0.1;
    pointer-events: none;
}

.auth-card {
    width: 100%;
    max-width: 480px;
    background: var(--glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 48px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    animation: authContentIn 0.6s cubic-bezier(0.23, 1, 0.32, 1) both;
}

.auth-card.register-card {
    max-width: 800px;
}

@keyframes authContentIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.auth-header {
    text-align: center;
    margin-bottom: 40px;
}

.auth-header .logo-img-auth {
    height: 70px;
    width: auto;
    margin: 0 auto 15px;
    display: block;
    object-fit: contain;
}

.auth-header h2 {
    font-size: 28px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 8px;
}

.auth-header p {
    color: var(--text-muted);
    font-size: 15px;
}

.auth-footer {
    text-align: center;
    margin-top: 30px;
    color: var(--text-muted);
    font-size: 14px;
}

.auth-footer a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
}

.auth-footer a:hover {
    color: var(--primary-light);
    text-decoration: underline;
}

/* =============================================
   BUTTONS PREMIUM
   ============================================= */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 14px;
    border: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.btn-emerald {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    box-shadow: 0 4px 15px rgba(13, 155, 106, 0.3);
}

.btn-emerald:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(13, 155, 106, 0.4);
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
}

.btn-emerald:active {
    transform: translateY(0);
}

.btn-lg {
    padding: 16px 32px;
    font-size: 16px;
}

.alert {
    padding: 16px 20px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 25px;
    line-height: 1.55;
    display: block;
    position: relative;
    overflow-wrap: anywhere;
    word-break: normal;
}

.alert:has(> i:first-child) {
    padding-left: 52px;
}

.alert>i:first-child {
    position: absolute;
    top: 18px;
    left: 20px;
    width: 18px;
    text-align: center;
    line-height: 1;
}

.alert strong {
    display: block;
    margin-bottom: 4px;
    color: inherit;
}

.alert .btn {
    margin-top: 14px;
    white-space: normal;
    text-align: center;
}

.auth-body .alert {
    border-radius: 14px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
}

.auth-body .alert .btn {
    width: 100%;
    justify-content: center;
}

.alert-danger {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.2);
    color: #FCA5A5;
}

.alert-success {
    background: linear-gradient(135deg, rgba(6, 78, 59, 0.92), rgba(6, 95, 70, 0.86));
    border: 1px solid rgba(52, 211, 153, 0.55);
    color: #ECFDF5 !important;
    box-shadow: 0 10px 24px rgba(13, 155, 106, 0.12);
}

.alert-success i {
    color: #34D399;
}

.alert-warning {
    background: rgba(245, 158, 11, 0.12);
    border: 1px solid rgba(245, 158, 11, 0.25);
    color: #FCD34D;
}

.alert-info {
    background: rgba(59, 130, 246, 0.12);
    border: 1px solid rgba(59, 130, 246, 0.25);
    color: #BFDBFE;
}

/* =============================================
   TRANSFER TYPE CARDS
   ============================================= */
.transfer-types {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 20px;
}

.transfer-type-card {
    background: #0B111B;
    border: 2px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
}

.transfer-type-card:hover {
    border-color: rgba(13, 155, 106, 0.3);
}

.transfer-type-card.selected {
    border-color: #0D9B6A;
    background: rgba(13, 155, 106, 0.05);
}

.transfer-type-card input[type="radio"] {
    display: none;
}

.transfer-type-card h4 {
    font-size: 14px;
    color: #fff;
    margin-bottom: 6px;
}

.transfer-type-price {
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 4px;
}

.transfer-type-price.free {
    color: #10B981;
}

.transfer-type-price.paid {
    color: #D4A843;
}

.transfer-type-time {
    font-size: 12px;
    color: #6B7A8D;
}

/* =============================================
   ACCOUNT INFO CARD
   ============================================= */
.account-info {
    background: linear-gradient(135deg, #0D9B6A, #087A53);
    border-radius: 12px;
    padding: 24px;
    color: #fff;
}

.account-info h4 {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 12px;
    font-weight: 600;
}

.account-info .balance {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 4px;
}

.account-info .balance-sub {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 16px;
}

.account-info-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    font-size: 13px;
}

.account-info-row span:first-child {
    color: rgba(255, 255, 255, 0.6);
}

.account-info-row span:last-child {
    font-weight: 600;
    font-family: monospace;
    font-size: 12px;
}

/* =============================================
   BANK CARD VISUAL
   ============================================= */
.bank-card {
    width: 100%;
    max-width: 380px;
    aspect-ratio: 1.586;
    border-radius: 16px;
    padding: 28px;
    color: #fff;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    perspective: 1000px;
}

.bank-card.emerald {
    background: linear-gradient(135deg, #0D9B6A, #065f41, #0D9B6A);
    box-shadow: 0 15px 40px rgba(13, 155, 106, 0.25);
}

.bank-card.gold {
    background: linear-gradient(135deg, #D4A843, #b8922e, #D4A843);
    color: #0F1923;
    box-shadow: 0 15px 40px rgba(212, 168, 67, 0.25);
}

.bank-card.purple {
    background: linear-gradient(135deg, #7C3AED, #5B21B6, #7C3AED);
    box-shadow: 0 15px 40px rgba(124, 58, 237, 0.25);
}

.bank-card::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -20%;
    width: 70%;
    height: 160%;
    background: radial-gradient(ellipse, rgba(255, 255, 255, 0.1), transparent);
    transform: rotate(15deg);
}

.bank-card-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
    z-index: 2;
}

.bank-card-name {
    font-weight: 700;
    font-size: 16px;
    letter-spacing: 1px;
}

.bank-card-type {
    font-size: 11px;
    background: rgba(255, 255, 255, 0.2);
    padding: 3px 10px;
    border-radius: 4px;
    font-weight: 600;
}

.bank-card-number {
    position: relative;
    z-index: 2;
    margin-top: 30px;
    font-size: 20px;
    letter-spacing: 4px;
    font-weight: 300;
}

.bank-card-bottom {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1.8fr) auto auto;
    gap: 14px;
    margin-top: 20px;
    align-items: end;
}

.bank-card-field {
    min-width: 0;
}

.bank-card-field label {
    font-size: 9px;
    opacity: 0.6;
    display: block;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: inherit;
    margin-bottom: 2px;
}

.bank-card-field span {
    font-size: 13px;
    font-weight: 600;
}

.bank-card-holder span {
    display: block;
    max-width: 100%;
    line-height: 1.15;
    overflow-wrap: anywhere;
    font-size: clamp(10px, 3.2vw, 13px);
    max-height: 2.35em;
    overflow: hidden;
}

/* =============================================
   CRYPTO
   ============================================= */
.crypto-list {
    display: grid;
    gap: 12px;
}

.crypto-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
    background: #162332;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.2s;
}

.crypto-item:hover {
    border-color: rgba(13, 155, 106, 0.2);
}

.crypto-item-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.crypto-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 800;
}

.crypto-name {
    font-size: 15px;
    font-weight: 600;
    color: #fff;
}

.crypto-symbol {
    font-size: 13px;
    color: #6B7A8D;
}

.crypto-price {
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    text-align: right;
}

.crypto-change {
    font-size: 13px;
    text-align: right;
}

.crypto-change.up {
    color: #10B981;
}

.crypto-change.down {
    color: #EF4444;
}

/* =============================================
   BLIK BANNER
   ============================================= */
.blik-banner {
    background: linear-gradient(135deg, #D4A843, #E8C468);
    border-radius: 16px;
    padding: 24px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
    color: #0F1923;
}

.blik-banner h3 {
    font-size: 18px;
    margin-bottom: 4px;
    color: #0F1923;
}

.blik-banner p {
    font-size: 14px;
    opacity: 0.7;
    margin: 0;
}

.blik-features {
    display: flex;
    gap: 24px;
    margin-top: 12px;
}

.blik-features span {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 500;
}

.blik-features i {
    color: #0D9B6A;
}

/* =============================================
   LOAN SIMULATOR
   ============================================= */
.loan-result {
    background: rgba(13, 155, 106, 0.08);
    border: 1px solid rgba(13, 155, 106, 0.2);
    border-radius: 12px;
    padding: 24px;
    margin-top: 20px;
}

.loan-result-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.loan-result-item label {
    font-size: 12px;
    color: #6B7A8D;
    display: block;
    margin-bottom: 4px;
}

.loan-result-item span {
    font-size: 22px;
    font-weight: 800;
    color: #0D9B6A;
}

/* =============================================
   PROFILE
   ============================================= */
.profile-card {
    background: #162332;
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.profile-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0D9B6A, #087A53);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 36px;
    font-weight: 700;
    margin: 0 auto 16px;
    position: relative;
}

.profile-avatar-edit {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 30px;
    height: 30px;
    background: #D4A843;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: #0F1923;
    border: 3px solid #162332;
}

.profile-name {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 4px;
}

.profile-email {
    font-size: 14px;
    color: #6B7A8D;
    margin-bottom: 16px;
}

.profile-badges {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-bottom: 20px;
}

/* =============================================
   SUPPORT TICKETS
   ============================================= */
.ticket-card {
    background: #162332;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
    transition: all 0.2s;
}

.ticket-card:hover {
    border-color: rgba(13, 155, 106, 0.2);
}

.ticket-info h4 {
    font-size: 15px;
    color: #fff;
    margin-bottom: 4px;
}

.ticket-info p {
    font-size: 13px;
    color: #6B7A8D;
    margin: 0;
}

.ticket-meta {
    text-align: right;
}

/* =============================================
   KYC STEPS
   ============================================= */
.kyc-steps {
    display: flex;
    justify-content: center;
    gap: 0;
    margin-bottom: 40px;
}

.kyc-step {
    display: flex;
    align-items: center;
    gap: 10px;
}

.kyc-step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #162332;
    border: 2px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
    color: #6B7A8D;
}

.kyc-step.active .kyc-step-number {
    background: #0D9B6A;
    border-color: #0D9B6A;
    color: #fff;
}

.kyc-step.completed .kyc-step-number {
    background: #10B981;
    border-color: #10B981;
    color: #fff;
}

.kyc-step span {
    font-size: 14px;
    font-weight: 600;
    color: #6B7A8D;
}

.kyc-step.active span {
    color: #0D9B6A;
}

.kyc-step.completed span {
    color: #10B981;
}

/* =============================================
   RESPONSIVE DESIGN
   ============================================= */
@media (max-width: 1024px) {
    .client-sidebar {
        width: 80px;
    }

    .client-sidebar .brand-text,
    .client-sidebar .sidebar-label,
    .client-sidebar .sidebar-nav li a span,
    .client-sidebar .sidebar-nav li a::after {
        display: none;
    }

    .client-sidebar .sidebar-nav li a {
        justify-content: center;
        padding: 15px;
    }

    .client-sidebar .sidebar-nav li a i {
        font-size: 20px;
        margin: 0;
    }

    .client-main {
        margin-left: 80px;
    }
}

@media (max-width: 768px) {
    .sidebar-toggle {
        display: block;
    }

    .client-sidebar {
        left: -240px;
        width: 240px;
        transition: all 0.3s ease;
    }

    .client-sidebar.open {
        left: 0;
    }

    .client-sidebar .brand-text,
    .client-sidebar .sidebar-label,
    .client-sidebar .sidebar-nav li a span {
        display: block;
    }

    .client-sidebar .sidebar-nav li a {
        justify-content: flex-start;
    }

    .client-main {
        margin-left: 0;
    }

    .client-topbar {
        padding: 10px 20px;
    }

    .client-content {
        padding: 20px;
    }

    .dash-grid {
        grid-template-columns: 1fr;
    }

    .form-row,
    .dash-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .form-card {
        padding: 24px;
    }

    .data-table-wrapper {
        overflow-x: auto;
    }

    .data-table {
        min-width: 600px;
    }

    .transfer-types {
        grid-template-columns: 1fr;
    }

    .loan-result-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .welcome-banner {
        padding: 20px;
    }

    .welcome-banner h2 {
        font-size: 18px;
    }

    .dash-card-value {
        font-size: 24px;
    }

    .page-title {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }

    .kyc-steps {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
}

/* =============================================
   DESIGN & RESPONSIVE REFINEMENTS
   ============================================= */
html,
body {
    overflow-x: hidden;
}

.client-layout {
    color: var(--text-main);
}

.client-sidebar {
    box-shadow: 18px 0 45px rgba(0, 0, 0, 0.18);
}

.client-main,
.client-content,
.dash-card,
.form-card,
.transfer-type-card,
.crypto-item,
.ticket-card,
.profile-card,
.bank-card,
.welcome-banner {
    min-width: 0;
}

.client-topbar {
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.sidebar-nav li a,
.btn {
    min-height: 42px;
}

.sidebar-toggle {
    border-radius: 10px;
}

.sidebar-toggle:focus-visible,
.btn:focus-visible,
.sidebar-nav a:focus-visible,
.data-table a:focus-visible {
    outline: 3px solid rgba(212, 168, 67, 0.42);
    outline-offset: 3px;
}

.page-title h1 {
    font-size: clamp(22px, 2.4vw, 30px);
}

.dash-grid {
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.dash-card {
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.015)),
        var(--bg-card);
}

.dash-card-value,
.data-table td,
.ticket-info h4,
.crypto-name,
.crypto-symbol,
.bank-card-number {
    overflow-wrap: anywhere;
}

.data-table-wrapper {
    max-width: 100%;
}

.data-table {
    table-layout: auto;
}

.data-table .form-control {
    min-height: 36px;
    padding-top: 7px;
    padding-bottom: 7px;
}

.data-table form {
    align-items: center;
}

.form-control,
.btn,
select,
textarea,
input {
    max-width: 100%;
}

.bank-card {
    max-width: 100%;
}

body.sidebar-open::before {
    content: '';
    position: fixed;
    inset: 0;
    background: rgba(3, 7, 18, 0.62);
    z-index: 90;
}

@media (max-width: 1024px) {
    .logo-img-sidebar {
        width: 52px;
        height: 52px;
    }

    .client-sidebar .submenu {
        padding-left: 0;
    }

    .client-sidebar .submenu a {
        justify-content: center;
        padding: 12px;
    }
}

@media (max-width: 768px) {
    .client-sidebar {
        z-index: 120;
        box-shadow: 24px 0 70px rgba(0, 0, 0, 0.45);
    }

    .client-sidebar .sidebar-nav li a::after {
        display: inline-block;
    }

    .client-sidebar .submenu {
        padding-left: 20px;
    }

    .client-sidebar .submenu a {
        justify-content: flex-start;
        padding: 9px 20px;
    }

    .client-topbar {
        padding: 12px 16px;
    }

    .topbar-right {
        gap: 12px;
    }

    .topbar-icon {
        width: 38px;
        height: 38px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-radius: 10px;
        background: rgba(255, 255, 255, 0.04);
    }

    .client-content {
        padding: 18px 16px 28px;
    }

    .page-title {
        align-items: flex-start;
        gap: 10px;
    }

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

    .dash-card {
        padding: 18px;
    }

    .dash-card-icon {
        width: 44px;
        height: 44px;
    }

    .welcome-banner {
        padding: 24px;
    }

    .form-row,
    .dash-row,
    .transfer-types,
    .loan-result-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .form-card,
    .profile-card {
        padding: 24px;
        border-radius: 14px;
    }

    .ticket-card {
        align-items: flex-start;
        gap: 14px;
    }

    .bank-card {
        aspect-ratio: 1.58;
        height: auto;
    }
}

@media (max-width: 560px) {
    .dash-grid {
        grid-template-columns: 1fr;
    }

    .client-topbar {
        min-height: 62px;
    }

    .page-title {
        flex-direction: column;
    }

    .page-breadcrumb {
        flex-wrap: wrap;
    }

    .data-table-wrapper {
        border-radius: 12px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .data-table {
        min-width: 620px;
    }

    .ticket-card {
        flex-direction: column;
    }

    .ticket-meta {
        width: 100%;
        text-align: left;
    }

    .crypto-item {
        gap: 12px;
    }

    .crypto-icon {
        width: 40px;
        height: 40px;
    }

    .bank-card {
        padding: 20px;
        border-radius: 16px;
    }

    .bank-card-number {
        font-size: clamp(18px, 6vw, 24px);
        letter-spacing: 2px;
    }
}

@media (max-width: 380px) {
    .client-content {
        padding: 16px 12px 24px;
    }

    .topbar-avatar,
    .topbar-icon {
        width: 34px;
        height: 34px;
    }

    .form-card,
    .profile-card,
    .dash-card,
    .ticket-card {
        padding: 18px;
    }

    .form-group {
        margin-bottom: 22px;
    }

    .form-control {
        min-height: 48px;
    }
}

@media (hover: none) {

    .dash-card:hover,
    .admin-stat:hover,
    .transfer-type-card:hover,
    .crypto-item:hover,
    .btn-emerald:hover {
        transform: none;
    }
}

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}
