/* ─────────────────────────────────────────────────
   LemonHosting Billing Panel – panel.css
   Brand palette:
     Background dark:  #0a0c10
     Surface:          #13161d
     Surface elevated: #1a1e28
     Border:           #252a36
     Primary (lemon):  #FFD629
     Text primary:     #f0f2f7
     Text muted:       #7c8498
   ───────────────────────────────────────────────── */

html:root {
    --primary-color:        #FFD629 !important;
    --secondary-color:      #e6c000 !important;
    --link-color:           #FFD629 !important;
    --link-hover-color:     #e6c000 !important;
    --pagination-active-bg: #FFD629 !important;
    --lh-bg:          #0a0c10;
    --lh-surface:     #13161d;
    --lh-surface-2:   #1a1e28;
    --lh-border:      #252a36;
    --lh-text:        #f0f2f7;
    --lh-muted:       #7c8498;
    --lh-yellow:      #FFD629;
    --lh-yellow-dim:  rgba(255,214,41,0.12);
    --lh-yellow-glow: 0 0 20px rgba(255,214,41,0.15);
}

html, body, .wrapper { background-color: var(--lh-bg) !important; color: var(--lh-text) !important; }

/* Sidebar */
.sidebar { background: var(--lh-surface) !important; border-right: 1px solid var(--lh-border) !important; box-shadow: none !important; }
.main-header { background: var(--lh-surface) !important; border-bottom: 1px solid var(--lh-border) !important; }
.main-header #header-logo .logo-custom { color: var(--lh-yellow) !important; font-family: 'Inter','Poppins',sans-serif !important; font-weight: 800 !important; font-size: 1.2rem !important; letter-spacing: -0.03em !important; text-shadow: 0 0 12px rgba(255,214,41,0.35) !important; }
#main-menu .menu .menu-item-label, #main-menu .menu .menu-icon { color: var(--lh-muted) !important; font-family: 'Inter',sans-serif !important; font-weight: 500 !important; }
#main-menu .menu .menu-item { border-radius: 8px !important; margin: 2px 8px !important; transition: background 0.15s, color 0.15s !important; }
#main-menu .menu .menu-item:hover { background: var(--lh-surface-2) !important; }
#main-menu .menu .menu-item:hover .menu-item-label, #main-menu .menu .menu-item:hover .menu-icon { color: var(--lh-yellow) !important; }
#main-menu .menu .menu-item.active { background: var(--lh-yellow-dim) !important; border-left: 3px solid var(--lh-yellow) !important; }
#main-menu .menu .menu-item.active .menu-item-label, #main-menu .menu .menu-item.active .menu-icon { color: var(--lh-yellow) !important; font-weight: 600 !important; }
.menu-item .icon.submenu-toggle-icon { color: var(--lh-muted) !important; }

/* Content */
.main-content, .content-wrapper, .content { background-color: var(--lh-bg) !important; color: var(--lh-text) !important; }
.content-top { background-color: var(--lh-surface) !important; border-bottom: 1px solid var(--lh-border) !important; }

/* Cards */
.card { background-color: var(--lh-surface) !important; border: 1px solid var(--lh-border) !important; color: var(--lh-text) !important; }
.card-header { background-color: var(--lh-surface-2) !important; border-bottom: 1px solid var(--lh-border) !important; }
.dashboard-header { background: var(--lh-surface) !important; border: 1px solid var(--lh-border) !important; border-left: 3px solid var(--lh-yellow) !important; }

/* Buttons */
.btn.primary, .btn-primary,
.btn-primary:not(:disabled):not(.disabled):not(.btn-link):not(.btn-danger):active,
.btn-primary:not(:disabled):not(.disabled):not(.btn-link):not(.btn-danger):focus {
    background: var(--lh-yellow) !important; border-color: var(--lh-yellow) !important; color: #0a0c10 !important; font-weight: 700 !important; box-shadow: 0 2px 8px rgba(255,214,41,0.25) !important;
}
.btn.primary:hover, .btn-primary:hover,
.btn-primary:not(:disabled):not(.disabled):not(.btn-link):not(.btn-danger):hover {
    background: var(--lh-yellow) !important; border-color: var(--lh-yellow) !important; color: #0a0c10 !important; filter: brightness(1.08) !important; box-shadow: var(--lh-yellow-glow) !important;
}
.btn.secondary, .btn-secondary { background: var(--lh-surface-2) !important; border-color: var(--lh-border) !important; color: var(--lh-text) !important; }
.btn.secondary:hover, .btn-secondary:hover { background: var(--lh-border) !important; color: var(--lh-yellow) !important; }
.btn-outline-secondary { border-color: var(--lh-border) !important; color: var(--lh-muted) !important; }
.btn-outline-secondary:hover { background: var(--lh-surface-2) !important; color: var(--lh-text) !important; border-color: var(--lh-border) !important; }

/* Tables */
.table, table { --bs-table-bg: var(--lh-surface) !important; --bs-table-color: var(--lh-text) !important; --bs-table-striped-bg: var(--lh-surface-2) !important; --bs-table-hover-bg: var(--lh-surface-2) !important; color: var(--lh-text) !important; }
.table thead th { background: var(--lh-surface-2) !important; border-color: var(--lh-border) !important; color: var(--lh-muted) !important; font-weight: 600 !important; text-transform: uppercase !important; font-size: 0.7rem !important; letter-spacing: 0.06em !important; }
.table tbody tr, .table tbody tr td { background-color: var(--lh-surface) !important; border-color: var(--lh-border) !important; color: var(--lh-text) !important; }
.table tbody tr:hover, .table tbody tr:hover td { background-color: var(--lh-surface-2) !important; }

/* Forms */
.form-control, .form-select { background-color: var(--lh-surface-2) !important; border-color: var(--lh-border) !important; color: var(--lh-text) !important; }
.form-control:focus, .form-select:focus { background-color: var(--lh-surface-2) !important; border-color: var(--lh-yellow) !important; box-shadow: 0 0 0 3px rgba(255,214,41,0.15) !important; color: var(--lh-text) !important; }
.form-control::placeholder { color: var(--lh-muted) !important; }
.form-label { color: var(--lh-text) !important; font-weight: 500 !important; }
.input-group-text { background-color: var(--lh-surface-2) !important; border-color: var(--lh-border) !important; color: var(--lh-muted) !important; }

/* Badges */
.badge-success  { background-color: #1a3d2b !important; color: #4ade80 !important; border: 1px solid #22543d; }
.badge-warning  { background-color: #3d2b00 !important; color: #fbbf24 !important; border: 1px solid #7c5200; }
.badge-danger   { background-color: #3d1a1a !important; color: #f87171 !important; border: 1px solid #7c2020; }
.badge-secondary{ background-color: var(--lh-surface-2) !important; color: var(--lh-muted) !important; border: 1px solid var(--lh-border); }

/* bg helpers */
.bg-primary { background-color: var(--lh-yellow-dim) !important; color: var(--lh-yellow) !important; border: 1px solid rgba(255,214,41,0.2) !important; }
.bg-primary i, .bg-primary .fas, .bg-primary .fab { color: var(--lh-yellow) !important; }
.bg-light { background-color: var(--lh-surface-2) !important; color: var(--lh-text) !important; }
.bg-white { background-color: var(--lh-surface) !important; }

/* Alerts */
.alert-info    { background-color: rgba(255,214,41,0.08) !important; border-color: rgba(255,214,41,0.25) !important; color: var(--lh-text) !important; }
.alert-danger  { background-color: rgba(248,113,113,0.08) !important; border-color: rgba(248,113,113,0.3) !important; color: #f87171 !important; }
.alert-warning { background-color: rgba(251,191,36,0.08) !important; border-color: rgba(251,191,36,0.3) !important; color: #fbbf24 !important; }
.alert-success { background-color: rgba(74,222,128,0.08) !important; border-color: rgba(74,222,128,0.3) !important; color: #4ade80 !important; }
.alert { border-radius: 8px !important; }

/* Dropdowns */
.dropdown-menu { background-color: var(--lh-surface) !important; border: 1px solid var(--lh-border) !important; box-shadow: 0 8px 24px rgba(0,0,0,0.4) !important; }
.dropdown-item { color: var(--lh-text) !important; }
.dropdown-item:hover, .dropdown-item:focus { background-color: var(--lh-surface-2) !important; color: var(--lh-yellow) !important; }

/* Modals */
.modal-content { background-color: var(--lh-surface) !important; border: 1px solid var(--lh-border) !important; color: var(--lh-text) !important; }
.modal-header, .modal-footer { border-color: var(--lh-border) !important; background-color: var(--lh-surface-2) !important; }

/* Pagination */
.page-item .page-link { background-color: var(--lh-surface) !important; border-color: var(--lh-border) !important; color: var(--lh-muted) !important; }
.page-item.active .page-link { background-color: var(--lh-yellow) !important; border-color: var(--lh-yellow) !important; color: #0a0c10 !important; font-weight: 700 !important; }
.page-item .page-link:hover { background-color: var(--lh-surface-2) !important; color: var(--lh-yellow) !important; }

/* Text & links */
.text-muted { color: var(--lh-muted) !important; }
.text-primary { color: var(--lh-yellow) !important; }
a:not(.btn):not(.badge):not(.dropdown-item):not(.page-link) { color: var(--lh-yellow) !important; }
a:not(.btn):not(.badge):not(.dropdown-item):not(.page-link):hover { color: var(--lh-yellow) !important; filter: brightness(1.15) !important; }
h1,h2,h3,h4,h5,h6 { color: var(--lh-text) !important; }
hr { border-color: var(--lh-border) !important; opacity: 1 !important; }

/* Server cards */
.server-card { background: var(--lh-surface) !important; border: 1px solid var(--lh-border) !important; transition: border-color 0.2s, box-shadow 0.2s !important; }
.server-card:hover { border-color: rgba(255,214,41,0.35) !important; box-shadow: 0 4px 20px rgba(255,214,41,0.1) !important; }

/* Footer */
.global-footer { background-color: var(--lh-surface) !important; border-top: 1px solid var(--lh-border) !important; color: var(--lh-muted) !important; }
.content-header { background: var(--lh-surface) !important; border-bottom: 1px solid var(--lh-border) !important; }
.breadcrumb-item, .breadcrumb-item a { color: var(--lh-muted) !important; }
.breadcrumb-item.active { color: var(--lh-yellow) !important; }

/* Scrollbar */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--lh-bg); }
::-webkit-scrollbar-thumb { background: var(--lh-border); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--lh-muted); }

/* ─────────────────────────────────────────────────
   LemonHosting – Split-Screen Login / Register
   ───────────────────────────────────────────────── */

/* Reset EasyAdmin wrapper for login pages */
.page-login-split .wrapper {
    min-height: 100vh !important;
    padding: 0 !important;
    margin: 0 !important;
    display: block !important;
}

.page-login-split .content-wrapper {
    padding: 0 !important;
    margin: 0 !important;
}

.page-login-split,
.ea-dark-scheme.page-login-split {
    background: #0a0c10 !important;
    overflow-x: hidden;
    overflow-y: auto;
    padding: 0 !important;
    margin: 0 !important;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
}

/* Two-column container */
.login-split-container {
    display: flex;
    min-height: 100vh;
}

/* ── Left brand panel ── */
.login-split-left {
    flex: 0 0 42%;
    background: #0d0f14;
    border-right: 1px solid #252a36;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    position: relative;
}

/* Subtle yellow glow strip on right edge of left panel */
.login-split-left::after {
    content: '';
    position: absolute;
    right: -1px;
    top: 20%;
    height: 60%;
    width: 2px;
    background: linear-gradient(180deg, transparent 0%, #FFD629 50%, transparent 100%);
    opacity: 0.5;
}

.login-brand-content {
    max-width: 420px;
    color: #f0f2f7;
}

.login-logo {
    margin-bottom: 2.5rem;
}

.login-logo img {
    max-height: 80px;
    filter: brightness(1.1);
}

.login-brand-title {
    font-family: 'Inter', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
    color: #FFD629 !important;
    letter-spacing: -0.03em;
    text-shadow: 0 0 20px rgba(255, 214, 41, 0.3);
}

.login-brand-subtitle {
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.6;
    margin-bottom: 2.5rem;
    color: #7c8498;
}

.login-features {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.login-feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: #c4cad8;
}

.login-feature-item i {
    font-size: 1rem;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 214, 41, 0.1);
    border: 1px solid rgba(255, 214, 41, 0.2);
    border-radius: 8px;
    color: #FFD629;
    flex-shrink: 0;
}

/* ── Right form panel ── */
.login-split-right,
.ea-dark-scheme.page-login-split .login-split-right {
    flex: 0 0 58%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    background: #0a0c10 !important;
}

.login-form-container {
    width: 100%;
    max-width: 440px;
}

.login-form-wrapper,
.ea-dark-scheme.page-login-split .login-form-wrapper {
    background: transparent !important;
}

/* Titles inside form panel */
.login-form-wrapper h1,
.login-form-wrapper h2,
.login-form-wrapper h4,
.ea-dark-scheme.page-login-split .text-dark {
    color: #f0f2f7 !important;
    font-family: 'Inter', sans-serif;
    letter-spacing: -0.02em;
}

.ea-dark-scheme.page-login-split .text-muted {
    color: #7c8498 !important;
}

/* Form inputs in login panels */
.page-login-split .form-control,
.page-login-split .form-select,
.ea-dark-scheme.page-login-split .form-control {
    background-color: #13161d !important;
    border-color: #252a36 !important;
    color: #f0f2f7 !important;
    border-radius: 8px !important;
    padding: 0.7rem 1rem !important;
    font-size: 0.95rem !important;
}

.page-login-split .form-control:focus,
.ea-dark-scheme.page-login-split .form-control:focus {
    background-color: #1a1e28 !important;
    border-color: #FFD629 !important;
    box-shadow: 0 0 0 3px rgba(255, 214, 41, 0.15) !important;
    color: #f0f2f7 !important;
}

.page-login-split .form-control::placeholder,
.ea-dark-scheme.page-login-split .form-control::placeholder {
    color: #7c8498 !important;
}

/* Login button */
.page-login-split .btn-primary,
.page-login-split .btn.primary {
    background: #FFD629 !important;
    border-color: #FFD629 !important;
    color: #0a0c10 !important;
    font-weight: 700 !important;
    font-size: 0.95rem !important;
    padding: 0.75rem 2rem !important;
    border-radius: 8px !important;
    width: 100% !important;
    box-shadow: 0 2px 12px rgba(255, 214, 41, 0.25) !important;
    transition: filter 0.15s, box-shadow 0.15s !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.5rem !important;
}

.page-login-split .btn-primary:hover,
.page-login-split .btn.primary:hover {
    filter: brightness(1.08) !important;
    box-shadow: 0 4px 20px rgba(255, 214, 41, 0.4) !important;
}

/* Input group icons */
.page-login-split .input-group-text,
.page-login-split .input-group-lg .input-group-text {
    background-color: #13161d !important;
    border-color: #252a36 !important;
    color: #7c8498 !important;
}

/* Labels */
.page-login-split .form-label,
.page-login-split label {
    color: #c4cad8 !important;
    font-weight: 500 !important;
    font-size: 0.875rem !important;
    margin-bottom: 0.4rem !important;
}

/* Checkboxes */
.page-login-split .form-check-input {
    background-color: #1a1e28 !important;
    border-color: #252a36 !important;
}

.page-login-split .form-check-input:checked {
    background-color: #FFD629 !important;
    border-color: #FFD629 !important;
}

/* Flash message positioning */
body.page-login-split #flash-messages {
    position: relative !important;
    margin-bottom: 1rem;
}

/* ── Responsive ── */
@media (max-width: 992px) {
    .login-split-container { flex-direction: column; }
    .login-split-left { flex: 0 0 auto; min-height: auto; padding: 2.5rem 2rem; border-right: none; border-bottom: 1px solid #252a36; }
    .login-split-left::after { display: none; }
    .login-split-right, .ea-dark-scheme.page-login-split .login-split-right { flex: 1; padding: 2.5rem 2rem; }
    .login-features { flex-direction: row; flex-wrap: wrap; gap: 1rem; }
    .login-feature-item { flex: 0 0 auto; }
}

@media (max-width: 576px) {
    .login-split-left, .login-split-right,
    .ea-dark-scheme.page-login-split .login-split-right {
        padding: 1.5rem 1.25rem;
    }
    .login-brand-title { font-size: 1.6rem; }
    .login-features { gap: 0.75rem; }
}

/* ─── Product spec grid ─── */
.product-image-container {
    height: 176px !important;
    min-height: 176px !important;
    aspect-ratio: 16 / 9;
    overflow: hidden !important;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #10141a !important;
    background-image: none !important;
    border: 1px solid var(--lh-border);
    border-radius: 8px;
}
.product-image {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;
    object-position: center !important;
    padding: 10px;
    background: #10141a !important;
}
.lh-spec-row {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.6rem 0.75rem;
    background: #1a1e28;
    border: 1px solid #252a36;
    border-radius: 8px;
    margin-bottom: 0;
}
.lh-spec-icon {
    color: #FFD629;
    font-size: 0.85rem;
    width: 18px;
    text-align: center;
    flex-shrink: 0;
}
.lh-spec-label {
    color: #7c8498;
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    flex: 1;
}
.lh-spec-value {
    color: #f0f2f7;
    font-size: 0.9rem;
    font-weight: 600;
}

/* ─── Order card summary boxes ─── */
.product-summary-box {
    background: #1a1e28 !important;
    border: 1px solid #252a36 !important;
}
.product-summary-box .text-success { color: #FFD629 !important; }

/* Main-site panel skin: restrained surfaces, fixed logo sizing, and no glow. */
html:root { --lh-bg:#0d1014; --lh-surface:#151a20; --lh-surface-2:#1b2128; --lh-border:#303740; --lh-text:#f1f3f5; --lh-muted:#a4adb8; --lh-yellow:#f3d51d; }
html, body, .wrapper, .main-content, .content-wrapper, .content { background-color:var(--lh-bg) !important; color:var(--lh-text) !important; }
.sidebar, .main-header, .content-top { background:var(--lh-surface) !important; border-color:var(--lh-border) !important; box-shadow:none !important; }
#header-logo .logo, #responsive-header-logo .responsive-logo { display:flex !important; align-items:center !important; gap:9px !important; color:var(--lh-text) !important; text-decoration:none !important; }
#header-logo .logo-custom img, #responsive-header-logo .responsive-logo img { width:34px !important; height:34px !important; max-width:34px !important; max-height:34px !important; object-fit:contain !important; vertical-align:middle; }
#header-logo .logo-custom, #responsive-header-logo .responsive-logo { color:var(--lh-text) !important; font-family:'Inter',sans-serif !important; font-weight:700 !important; font-size:1rem !important; letter-spacing:.01em !important; text-shadow:none !important; }
#header-logo .logo-compact { color:var(--lh-yellow) !important; }
#main-menu .menu .menu-item { border-radius:7px !important; margin:2px 8px !important; }
#main-menu .menu .menu-item.active { background:rgba(243,213,29,.12) !important; border-left:3px solid var(--lh-yellow) !important; }
.card, .dashboard-header, .server-card, .box, .panel { background:var(--lh-surface) !important; border-color:var(--lh-border) !important; box-shadow:none !important; border-radius:9px !important; }
.card-header, .content-header { background:var(--lh-surface-2) !important; border-color:var(--lh-border) !important; }
.btn-primary, .btn.primary { background:var(--lh-yellow) !important; border-color:var(--lh-yellow) !important; color:#171717 !important; box-shadow:none !important; }
.btn-primary:hover, .btn.primary:hover { filter:none !important; background:#ffe32e !important; box-shadow:none !important; }
.global-footer { background:var(--lh-surface) !important; border-color:var(--lh-border) !important; }

/* Wallet top-up layout */
#topup-form .dashboard-header { padding:1.25rem 1.5rem !important; margin-bottom:1.5rem !important; }
#topup-form > .row { align-items:flex-start; }
#topup-form > .row > .col-lg-8,
#topup-form > .row > .col-lg-4 { display:flex; flex-direction:column; gap:1rem; }
#topup-form > .row > .col-lg-8 > .card { margin-bottom:0 !important; }
#topup-form .card-header { padding:.85rem 1.1rem !important; }
#topup-form .card-body { padding:1.25rem !important; }
#topup-form .payment-gateway-input { position:absolute; opacity:0; pointer-events:none; }
#topup-form .payment-gateway-card { min-height:142px !important; margin:0 !important; cursor:pointer; border:1px solid var(--lh-border) !important; background:var(--lh-surface-2) !important; transition:border-color .15s,background .15s !important; }
#topup-form .payment-gateway-card:hover { border-color:var(--lh-yellow) !important; background:#20262d !important; }
#topup-form .payment-gateway-input:checked + .payment-gateway-card { border:2px solid var(--lh-yellow) !important; background:rgba(243,213,29,.1) !important; }
#topup-form .payment-gateway-card .card-body { display:flex; min-height:140px; flex-direction:column; align-items:center; justify-content:center; gap:.35rem; }
#topup-form .payment-gateway-card i { margin-bottom:.3rem !important; font-size:2rem !important; }
#topup-form .payment-gateway-card .card-title { font-size:1rem !important; }
#topup-form #order-submit { background:var(--lh-yellow) !important; border-color:var(--lh-yellow) !important; color:#171717 !important; box-shadow:none !important; }
#topup-form .card-header.bg-success { background:var(--lh-surface-2) !important; color:var(--lh-text) !important; }
#topup-form #selected-summary { color:var(--lh-yellow) !important; }
#topup-form .text-success { color:var(--lh-yellow) !important; }
#topup-form .sticky-top { top:1.25rem !important; }
@media (max-width: 991px) {
    #topup-form > .row > .col-lg-8,
    #topup-form > .row > .col-lg-4 { display:block; }
    #topup-form > .row > .col-lg-4 { margin-top:1rem; }
}
