* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: #333;
    line-height: 1.6;
}

/* Login */
.login-container {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    min-height: 100vh;
    background: url('/images/bg-login.svg') no-repeat center center fixed;
    background-size: cover;
    position: relative;
    overflow: hidden;
    padding-right: 12%;
}

/* 遮罩层 */
.login-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(2, 6, 20, 0.45);
    z-index: 1;
}

.login-card {
    background: rgba(8, 18, 48, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 16px;
    padding: 48px;
    width: 420px;
    max-width: 90%;
    position: relative;
    z-index: 2;
    border: 1px solid rgba(66, 165, 245, 0.2);
    box-shadow:
        0 8px 40px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(66, 165, 245, 0.1);
}

/* 科技边框装饰 */
.login-card::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 40px;
    right: 40px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(66, 165, 245, 0.4), transparent);
}

.login-card::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 40px;
    right: 40px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(66, 165, 245, 0.2), transparent);
}

/* 四角装饰点 */
.login-card .corner-tl,
.login-card .corner-tr,
.login-card .corner-bl,
.login-card .corner-br {
    position: absolute;
    width: 8px;
    height: 8px;
    border: 1px solid rgba(66, 165, 245, 0.3);
}
.login-card .corner-tl { top: -1px; left: -1px; border-right: none; border-bottom: none; }
.login-card .corner-tr { top: -1px; right: -1px; border-left: none; border-bottom: none; }
.login-card .corner-bl { bottom: -1px; left: -1px; border-right: none; border-top: none; }
.login-card .corner-br { bottom: -1px; right: -1px; border-left: none; border-top: none; }

.login-header {
    text-align: center;
    margin-bottom: 36px;
}

.login-header h1 {
    font-size: 30px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 6px;
    letter-spacing: 2px;
}

.login-header p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
    letter-spacing: 4px;
    text-transform: uppercase;
}

/* Form */
.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 0.5px;
}

.form-group input {
    width: 100%;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(66, 165, 245, 0.15);
    border-radius: 8px;
    font-size: 15px;
    color: #fff;
    transition: all 0.25s;
    outline: none;
}

.form-group input::placeholder {
    color: rgba(255, 255, 255, 0.25);
}

.form-group input:focus {
    border-color: rgba(66, 165, 245, 0.5);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 3px rgba(66, 165, 245, 0.1);
}

/* Captcha */
.captcha-group .captcha-input-row {
    display: flex;
    gap: 10px;
    align-items: center;
}

.captcha-group .captcha-input-row input {
    flex: 1;
}

.captcha-image {
    height: 40px;
    width: 120px;
    border-radius: 6px;
    border: 1px solid rgba(66, 165, 245, 0.15);
    cursor: pointer;
    flex-shrink: 0;
    background: rgba(10, 18, 40, 0.6);
}

.captcha-image:hover {
    border-color: rgba(66, 165, 245, 0.4);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 10px 24px;
    border: none;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s;
}

.btn-primary {
    background: #1a73e8;
    color: #fff;
}

.btn-primary:hover {
    background: #1557b0;
}

.btn-block {
    width: 100%;
}

/* Login Button */
.login-form .btn {
    padding: 14px 24px;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 3px;
    border-radius: 8px;
    background: linear-gradient(135deg, #1a73e8, #0d47a1);
    border: 1px solid rgba(66, 165, 245, 0.2);
    color: #fff;
    margin-top: 8px;
    position: relative;
    overflow: hidden;
}

.login-form .btn:hover {
    background: linear-gradient(135deg, #2196f3, #1565c0);
    box-shadow: 0 4px 20px rgba(26, 115, 232, 0.3);
    transform: translateY(-1px);
}

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

/* Alert */
.alert {
    padding: 10px 14px;
    border-radius: 6px;
    margin-bottom: 16px;
    font-size: 14px;
}

.alert-error {
    background: rgba(198, 40, 40, 0.2);
    color: #ef9a9a;
    border: 1px solid rgba(198, 40, 40, 0.3);
}

.alert-info {
    background: rgba(13, 71, 161, 0.2);
    color: #90caf9;
    border: 1px solid rgba(13, 71, 161, 0.3);
}

/* Admin Layout - Sidebar */
.admin-layout {
    display: flex;
    min-height: 100vh;
}

.sidebar {
    width: 220px;
    background: rgba(26, 31, 46, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: #fff;
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    z-index: 100;
    border-right: 1px solid rgba(13, 110, 253, 0.08);
    transition: width 0.3s ease;
}

.sidebar.collapsed {
    width: 60px;
}

.sidebar.collapsed .brand-text,
.sidebar.collapsed .nav-text,
.sidebar.collapsed .sidebar-footer span {
    opacity: 0;
    width: 0;
    overflow: hidden;
}

.sidebar.collapsed .sidebar-link {
    justify-content: center;
    padding: 10px 0;
}

.sidebar.collapsed .sidebar-toggle {
    padding: 0;
}

.sidebar.collapsed .toggle-icon {
    transform: rotate(180deg);
}

.sidebar-brand {
    padding: 24px 20px 20px;
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    white-space: nowrap;
    transition: opacity 0.3s ease, padding 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.sidebar.collapsed .sidebar-brand {
    padding: 24px 0 20px;
    justify-content: center;
}

.sidebar-toggle {
    background: none;
    border: none;
    color: rgba(255,255,255,0.4);
    cursor: pointer;
    padding: 0;
    font-size: 16px;
    line-height: 1;
    transition: color 0.2s;
    flex-shrink: 0;
}
.sidebar-toggle:hover {
    color: rgba(255,255,255,0.8);
}
.toggle-icon {
    display: inline-block;
    transition: transform 0.3s ease;
}

.sidebar-brand .brand-text {
    color: #60a5fa;
}

.sidebar-nav {
    flex: 1;
    padding: 12px 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.sidebar-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.15s;
    border-left: 3px solid transparent;
}

.sidebar-link:hover {
    color: #fff;
    background: rgba(255,255,255,0.06);
}

.sidebar-link.active {
    color: #fff;
    background: rgba(96,165,250,0.12);
    border-left-color: #60a5fa;
}

.sidebar-link .icon {
    width: 18px;
    text-align: center;
    font-size: 16px;
    flex-shrink: 0;
}

.sidebar-footer {
    padding: 16px 20px;
    border-top: 1px solid rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
    color: rgba(255,255,255,0.5);
}

.sidebar-footer a {
    color: rgba(255,255,255,0.5);
    text-decoration: none;
}

.sidebar-footer a:hover {
    color: #fff;
}

.sidebar-footer a .icon {
    display: none;
}

.sidebar.collapsed .sidebar-footer a .icon {
    display: inline-block;
}

.sidebar.collapsed .sidebar-footer a {
    padding: 0;
    display: flex;
    justify-content: center;
}

.admin-content {
    margin-left: 220px;
    flex: 1;
    padding: 32px;
    min-height: 100vh;
    position: relative;
    z-index: 2;
    transition: margin-left 0.3s ease;
}

.sidebar.collapsed + .admin-content,
.sidebar.collapsed ~ .admin-content {
    margin-left: 60px;
}

.admin-content h2 {
    font-size: 22px;
    margin-bottom: 24px;
    color: #222;
}

/* Stats */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

.stat-card {
    background: #fff;
    border-radius: 10px;
    padding: 24px;
    box-shadow: 0 1px 6px rgba(0,0,0,0.06);
    text-align: center;
}

.stat-number {
    font-size: 36px;
    font-weight: 700;
    color: #1a73e8;
}

.stat-label {
    font-size: 14px;
    color: #888;
    margin-top: 4px;
}

/* Table */
.table {
    width: 100%;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 1px 6px rgba(0,0,0,0.06);
    border-collapse: collapse;
}

.table th,
.table td {
    padding: 12px 16px;
    text-align: left;
    font-size: 14px;
    border-bottom: 1px solid #f0f0f0;
}

.table th {
    background: #fafafa;
    font-weight: 600;
    color: #555;
}

.table tr:last-child td {
    border-bottom: none;
}

.table tr:hover td {
    background: #f8f9ff;
}

/* Badge */
.badge {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
}

.badge-success {
    background: #e8f5e9;
    color: #2e7d32;
}

.badge-danger {
    background: #fdecea;
    color: #c62828;
}

/* Consent */
.consent-container {
    background:
        radial-gradient(ellipse 90% 65% at 20% 50%, rgba(13, 110, 253, 0.10) 0%, transparent 65%),
        radial-gradient(ellipse 70% 60% at 80% 30%, rgba(10, 77, 164, 0.08) 0%, transparent 60%);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    position: relative;
}

.consent-card {
    background: rgba(8, 18, 48, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 12px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.4);
    position: relative;
    z-index: 2;
    padding: 40px;
    width: 480px;
    max-width: 90%;
}

.consent-header {
    margin-bottom: 24px;
}

.consent-header h2 {
    font-size: 22px;
    margin-bottom: 8px;
}

.consent-header p {
    color: #666;
    font-size: 15px;
}

.scopes-list {
    margin-bottom: 32px;
}

.scope-item {
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 15px;
}

.consent-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

.help-text {
    margin-top: 16px;
    font-size: 14px;
    color: #888;
}

.help-text code {
    background: #f0f2f5;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 13px;
}

/* Key Info */
.key-info {
    background: #fff;
    border-radius: 10px;
    padding: 24px;
    box-shadow: 0 1px 6px rgba(0,0,0,0.06);
}

/* Create panel */
.create-panel {
    margin-bottom: 20px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 1px 6px rgba(0,0,0,0.06);
    overflow: hidden;
}

.create-panel summary {
    cursor: pointer;
    font-weight: 600;
    padding: 12px 16px;
    font-size: 14px;
    color: #1a73e8;
    user-select: none;
}

.create-panel summary:hover {
    background: #f8f9ff;
}

.create-panel-body {
    padding: 16px;
    border-top: 1px solid #f0f0f0;
}

.create-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 400px;
}

.form-input {
    padding: 8px 10px;
    border: 1px solid #d9d9d9;
    border-radius: 6px;
    font-size: 14px;
    transition: border-color 0.2s;
}

.form-input:focus {
    outline: none;
    border-color: #1a73e8;
    box-shadow: 0 0 0 2px rgba(26,115,232,0.2);
}

/* Pagination */
.pagination-wrap {
    position: sticky;
    bottom: 0;
    background: #f0f2f5;
    padding: 16px 0 8px;
    z-index: 10;
    margin-top: 16px;
}

.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    flex-wrap: wrap;
}

.page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 32px;
    padding: 0 8px;
    border: 1px solid #d9d9d9;
    border-radius: 6px;
    background: #fff;
    color: #333;
    font-size: 13px;
    text-decoration: none;
    transition: all 0.2s;
}

.page-link:hover {
    border-color: #1a73e8;
    color: #1a73e8;
}

.page-link.active {
    background: #1a73e8;
    border-color: #1a73e8;
    color: #fff;
    cursor: default;
}

.page-info {
    margin-left: 12px;
    font-size: 13px;
    color: #888;
}

/* ==================== Light Theme — matches login page ==================== */

body {
    background: #f0f4f8;
    color: #333;
    line-height: 1.6;
}

/* Admin layout — light background matching login */
.admin-layout {
    display: flex;
    min-height: 100vh;
    background: #f0f4f8;
    position: relative;
}

/* No grid overlay on light theme */
.admin-layout::before { display: none; }

/* Particle canvas hidden on light theme */
#particleCanvas { display: none; }

.overflow-hidden {
    overflow: hidden;
}

.admin-content {
    background: transparent;
}

.admin-content h2 {
    color: #1a1a2e;
    font-weight: 700;
}

/* Stats */
.stat-card {
    background: #fff;
    box-shadow: 0 1px 6px rgba(0,0,0,0.06);
}

.stat-number {
    color: #1565c0;
}

.stat-label {
    color: #888;
}

/* Table */
.table {
    background: #fff;
    box-shadow: 0 1px 6px rgba(0,0,0,0.06);
}

.table th {
    background: #f8fafc;
    color: #555;
}

.table td {
    border-bottom: 1px solid #f0f0f0;
    color: #555;
}

.table tr:hover td {
    background: #f0f7ff;
}

/* Badge */
.badge-success {
    background: #e8f5e9;
    color: #2e7d32;
}

.badge-danger {
    background: #fdecea;
    color: #c62828;
}

/* Alert Success (admin flash) */
.alert-success {
    background: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #c8e6c9;
}

.alert-danger {
    background: #fdecea;
    color: #c62828;
    border: 1px solid #f5c6cb;
}

/* Consent page light theme */
.consent-container {
    background: #f0f4f8;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    position: relative;
}

.consent-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 12px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.10);
    position: relative;
    z-index: 2;
    padding: 40px;
    width: 480px;
    max-width: 90%;
}

.consent-header h2 {
    color: #1a1a2e;
    font-size: 22px;
    margin-bottom: 8px;
}

.consent-header p {
    color: #888;
    font-size: 15px;
}

.scope-item {
    border-bottom: 1px solid #f0f0f0;
    color: #555;
}

/* Help Text */
.help-text {
    color: #888;
}

.help-text code {
    background: #f0f2f5;
    color: #666;
}

.help-text a {
    color: #1565c0;
}

/* Key Info */
.key-info {
    background: #fff;
    box-shadow: 0 1px 6px rgba(0,0,0,0.06);
}

/* Create panel */
.create-panel {
    background: #fff;
    box-shadow: 0 1px 6px rgba(0,0,0,0.06);
}

.create-panel summary {
    color: #1565c0;
}

.create-panel summary:hover {
    background: #f0f7ff;
}

.create-panel-body {
    border-top: 1px solid #f0f0f0;
}

/* Form Input (admin) */
.form-input {
    background: #f5f7fa;
    border: 1.5px solid #e8ecf0;
    color: #333;
}

.form-input::placeholder {
    color: #bbb;
}

.form-input:focus {
    border-color: #42a5f5;
    box-shadow: 0 0 0 2px rgba(66, 165, 245, 0.15);
}

/* Pagination */
.pagination-wrap {
    background: transparent;
}

.page-link {
    background: #fff;
    border-color: #d9d9d9;
    color: #555;
}

.page-link:hover {
    border-color: #1565c0;
    color: #1565c0;
}

.page-link.active {
    background: #1565c0;
    border-color: #1565c0;
    color: #fff;
}

.page-info {
    color: #aaa;
}

/* Create form checkboxes */
.create-form label {
    color: #555;
}

/* Buttons - admin context */
.btn-secondary {
    background: #e8ecf0;
    color: #555;
}

.btn-secondary:hover {
    background: #d5d9e0;
    color: #333;
}

.btn-success {
    background: #2e7d32;
    color: #fff;
}

.btn-success:hover {
    background: #388e3c;
}

.btn-danger {
    background: #c62828;
    color: #fff;
}

.btn-danger:hover {
    background: #d32f2f;
}

.btn-info {
    background: #0277bd;
    color: #fff;
}

.btn-info:hover {
    background: #0288d1;
}

/* Create panel text */
.create-panel-body p {
    color: #888 !important;
}

/* Text muted for empty states */
.text-muted {
    color: #aaa;
}

/* Client card grid */
.client-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.client-card {
    background: #fff;
    border: 1px solid #e8ecf0;
    border-radius: 12px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: all 0.25s;
    box-shadow: 0 1px 6px rgba(0,0,0,0.04);
}

.client-card:hover {
    border-color: #90caf9;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.client-card.disabled {
    border-color: #e8ecf0;
    opacity: 0.5;
    cursor: not-allowed;
}

.client-card.disabled:hover {
    border-color: #e8ecf0;
    box-shadow: none;
    transform: none;
}

.client-card-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: #eef4fb;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: #1565c0;
}

.client-card.disabled .client-card-icon {
    background: #f5f5f5;
    color: #bbb;
}

.client-card-body {
    flex: 1;
}

.client-card-name {
    font-size: 17px;
    font-weight: 600;
    color: #1a1a2e;
    margin-bottom: 4px;
}

.client-card-id {
    font-size: 13px;
    color: #aaa;
    font-family: monospace;
}

.client-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 12px;
    border-top: 1px solid #f0f0f0;
}

.client-card-btn {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    background: #eef4fb;
    color: #1565c0;
    transition: all 0.2s;
}

.client-card-btn:hover {
    background: #dce8f8;
    color: #0d47a1;
}

.client-card-btn.disabled,
.client-card.disabled .client-card-btn {
    background: #f5f5f5;
    color: #ccc;
    cursor: not-allowed;
    pointer-events: none;
}

.client-card.disabled .badge {
    opacity: 0.6;
}

/* Empty state */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #bbb;
    font-size: 15px;
}

/* ===== Theme Toggle Button ===== */
.theme-toggle {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 16px;
    line-height: 1;
    padding: 4px 6px;
    border-radius: 6px;
    color: rgba(255,255,255,0.5);
    transition: color 0.2s, background 0.2s;
    flex-shrink: 0;
}
.theme-toggle:hover {
    color: #fff;
    background: rgba(255,255,255,0.08);
}
.sidebar-footer-right {
    display: flex;
    align-items: center;
    gap: 8px;
}
.sidebar.collapsed .sidebar-footer-right .nav-text {
    display: none;
}

/* ===== Dark Theme ===== */
html.dark-theme,
body.dark-theme,
.dark-theme body {
    background: #1e2538;
    color: #ffffff;
}
.dark-theme .admin-layout {
    background: #1e2538;
}
.dark-theme #particleCanvas {
    display: block;
    filter: brightness(1.4) saturate(0.9);
}
.dark-theme .sidebar {
    background: rgba(14,18,30,0.96);
    border-right-color: rgba(255,255,255,0.04);
}
.dark-theme .sidebar-brand {
    border-bottom-color: rgba(255,255,255,0.06);
}
.dark-theme .sidebar-link {
    color: rgba(255,255,255,0.55);
}
.dark-theme .sidebar-link:hover {
    color: #fff;
    background: rgba(255,255,255,0.08);
}
.dark-theme .sidebar-link.active {
    color: #a3c9ff;
    background: rgba(59,130,246,0.18);
    border-left-color: #7eb8f7;
}
.dark-theme .sidebar-footer {
    border-top-color: rgba(255,255,255,0.06);
    color: rgba(255,255,255,0.35);
}
.dark-theme .sidebar-footer a {
    color: rgba(255,255,255,0.35);
}
.dark-theme .sidebar-footer a:hover {
    color: #fff;
}
.dark-theme .admin-content h2 {
    color: #ffffff;
}
.dark-theme .stat-card {
    background: #2a3148;
    box-shadow: 0 1px 6px rgba(0,0,0,0.3);
}
.dark-theme .stat-number {
    color: #8bc4ff;
}
.dark-theme .stat-label {
    color: #cfd5e3;
}
.dark-theme .table {
    background: #2a3148;
    box-shadow: 0 1px 6px rgba(0,0,0,0.3);
}
.dark-theme .table th {
    background: #343c55;
    color: #e0e4ee;
}
.dark-theme .table td {
    border-bottom-color: #3d4662;
    color: #ffffff;
}
.dark-theme .table tr:hover td {
    background: rgba(59,130,246,0.10);
}
.dark-theme .badge-success {
    background: rgba(46,125,50,0.30);
    color: #81c784;
}
.dark-theme .badge-danger {
    background: rgba(198,40,40,0.30);
    color: #ef9a9a;
}
.dark-theme .alert-success {
    background: rgba(46,125,50,0.20);
    color: #a5d6a7;
    border-color: rgba(46,125,50,0.30);
}
.dark-theme .alert-danger {
    background: rgba(198,40,40,0.20);
    color: #ef9a9a;
    border-color: rgba(198,40,40,0.30);
}
.dark-theme .key-info {
    background: #2a3148;
    box-shadow: 0 1px 6px rgba(0,0,0,0.3);
}
.dark-theme .create-panel {
    background: #2a3148;
    box-shadow: 0 1px 6px rgba(0,0,0,0.3);
}
.dark-theme .create-panel summary {
    color: #8bc4ff;
}
.dark-theme .create-panel summary:hover {
    background: rgba(59,130,246,0.10);
}
.dark-theme .create-panel-body {
    border-top-color: #3d4662;
}
.dark-theme .form-input {
    background: #343c55;
    border-color: #4a5475;
    color: #ffffff;
}
.dark-theme .form-input::placeholder {
    color: #9ea7c0;
}
.dark-theme .form-input:focus {
    border-color: #8bc4ff;
    box-shadow: 0 0 0 2px rgba(59,130,246,0.30);
}
.dark-theme .page-link {
    background: #2a3148;
    border-color: #4a5475;
    color: #e0e4ee;
}
.dark-theme .page-link:hover {
    border-color: #8bc4ff;
    color: #8bc4ff;
}
.dark-theme .page-link.active {
    background: #3b82f6;
    border-color: #3b82f6;
    color: #fff;
}
.dark-theme .page-info {
    color: #9ea7c0;
}
.dark-theme .create-form label {
    color: #e0e4ee;
}
.dark-theme .btn-secondary {
    background: #4a5475;
    color: #e0e4ee;
}
.dark-theme .btn-secondary:hover {
    background: #5a6490;
    color: #ffffff;
}
.dark-theme .client-card {
    background: #2a3148;
    border-color: #3d4662;
    box-shadow: 0 1px 6px rgba(0,0,0,0.2);
}
.dark-theme .client-card:hover {
    border-color: #5a9cf5;
    box-shadow: 0 4px 20px rgba(0,0,0,0.4);
}
.dark-theme .client-card.disabled {
    border-color: #3d4662;
}
.dark-theme .client-card-icon {
    background: rgba(59,130,246,0.18);
    color: #8bc4ff;
}
.dark-theme .client-card.disabled .client-card-icon {
    background: rgba(255,255,255,0.04);
    color: #7a84a0;
}
.dark-theme .client-card-name {
    color: #ffffff;
}
.dark-theme .client-card-id {
    color: #9ea7c0;
}
.dark-theme .client-card-footer {
    border-top-color: #3d4662;
}
.dark-theme .client-card-btn {
    background: rgba(59,130,246,0.18);
    color: #8bc4ff;
}
.dark-theme .client-card-btn:hover {
    background: rgba(59,130,246,0.30);
    color: #b0d4ff;
}
.dark-theme .client-card-btn.disabled,
.dark-theme .client-card.disabled .client-card-btn {
    background: rgba(255,255,255,0.04);
    color: #7a84a0;
}
.dark-theme .empty-state {
    color: #9ea7c0;
}
.dark-theme .text-muted {
    color: #9ea7c0;
}
.dark-theme .create-panel-body p {
    color: #cfd5e3 !important;
}
