/* Fixora — custom UI layer on top of the Enlink admin template */

/* ---------- header logo ---------- */
.header .fx-logo > a {
    display: flex;
    align-items: center;
    height: 100%;
    padding: 0 20px;
    text-decoration: none;
}
.header .fx-logo .fx-logo-full {
    max-height: 42px;
    max-width: 210px;
    width: auto;
}
.header .fx-logo .logo-fold {
    max-height: 40px;
    width: auto;
}
.header .fx-store-name {
    font-family: Poppins, sans-serif;
    font-weight: 700;
    font-size: 18px;
    color: var(--fx-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 230px;
}
.header .fx-store-initial {
    display: none;
    width: 40px;
    height: 40px;
    line-height: 40px;
    border-radius: 10px;
    text-align: center;
    background: var(--fx-primary);
    color: #fff;
    font-weight: 700;
    font-size: 20px;
}
.is-folded .header .fx-store-name { display: none; }
.is-folded .header .fx-store-initial { display: inline-block; }

/* ---------- accents ---------- */
.side-nav .side-nav-inner .side-nav-menu li.active > a,
.side-nav .side-nav-inner .side-nav-menu li a:hover { color: var(--fx-primary); }
.badge-orange { background: var(--fx-accent, #F7941D); color: #fff; }
.text-fx-accent { color: var(--fx-accent, #F7941D) !important; }
.thead-dark th { background-color: #1d2b3a !important; border-color: #2a3b4d !important; }
.fx-powered { font-size: 12px; color: #8a94a6; }
.fx-powered img { height: 16px; vertical-align: -3px; margin-left: 4px; }

/* job type selector (new service job) */
.fx-jobtype .btn { white-space: normal; line-height: 1.35; }
.fx-jobtype .btn small { color: inherit; opacity: .8; }
.fx-jobtype .btn input { position: absolute; clip: rect(0, 0, 0, 0); pointer-events: none; }

/* store branding preview (profile settings) */
.fx-brand-preview {
    display: flex; align-items: center; gap: 14px; padding: 14px 16px;
    border: 1px solid #e6ebf1; border-radius: 8px; background: #fafbfd;
}
.fx-brand-preview img { max-height: 48px; max-width: 180px; }
.fx-brand-preview .swatch { width: 28px; height: 28px; border-radius: 6px; border: 1px solid rgba(0,0,0,.1); }

/* ---------- public pages (landing / login / register) ---------- */
.fx-public {
    min-height: 100vh;
    background:
        radial-gradient(1200px 600px at -10% -10%, rgba(3,173,238,.18), transparent 60%),
        radial-gradient(900px 500px at 110% 110%, rgba(247,148,29,.18), transparent 60%),
        #f6f9fc;
    font-family: Poppins, -apple-system, "Segoe UI", Roboto, sans-serif;
}
.fx-public .fx-nav {
    display: flex; align-items: center; justify-content: space-between;
    padding: 18px 0;
}
.fx-public .fx-nav img { height: 44px; }
.fx-public .fx-nav a.fx-link { color: #1d2b3a; font-weight: 500; margin-left: 22px; }
.fx-hero h1 {
    font-size: 2.6rem; line-height: 1.15; font-weight: 700; color: #14212e; margin-bottom: 16px;
}
.fx-hero h1 span { color: var(--fx-primary); }
.fx-hero h1 em { font-style: normal; color: var(--fx-accent, #F7941D); }
.fx-hero p.lead { font-size: 1.1rem; color: #4a5568; max-width: 540px; }
.fx-features { list-style: none; padding: 0; margin: 26px 0 0; }
.fx-features li {
    display: flex; gap: 12px; align-items: flex-start; margin-bottom: 14px; color: #2d3748;
}
.fx-features li i {
    flex: 0 0 34px; height: 34px; line-height: 34px; text-align: center; border-radius: 8px;
    background: rgba(17,118,188,.1); color: var(--fx-primary); font-size: 16px;
}
.fx-features li:nth-child(2n) i { background: rgba(247,148,29,.12); color: #d97a07; }
.fx-auth-card { border: 0; border-radius: 14px; box-shadow: 0 18px 50px rgba(20,33,46,.12); }
.fx-auth-card .card-body { padding: 34px; }
.fx-auth-card h2 { font-weight: 700; color: #14212e; }
.fx-public footer { color: #8a94a6; font-size: 13px; padding: 30px 0 20px; }
@media (max-width: 991px) {
    .fx-hero { text-align: center; margin-bottom: 30px; }
    .fx-hero p.lead { margin: 0 auto; }
    .fx-features { display: inline-block; text-align: left; }
    .fx-hero h1 { font-size: 2rem; }
}

/* store not GST registered: hide every GST field on the invoice screen */
.fx-nogst .fx-gst-only { display: none !important; }
