:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --text: #0f172a;
    --muted: #64748b;
    --bg: #f8fafc;
    --white: #ffffff;
    --border: #e2e8f0;
    --soft: #eff6ff;
    --success-bg: #dcfce7;
    --success-text: #166534;
    --shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
    --shadow-lg: 0 20px 50px rgba(15, 23, 42, 0.12);
    --radius: 18px;
    --container: 1200px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: Inter, Arial, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}

ul {
    list-style: none;
}

.container {
    width: min(var(--container), 92%);
    margin: 0 auto;
}

/* HEADER */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}

.header-inner {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.logo {
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -0.8px;
    color: var(--text);
}

.nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav a {
    color: var(--muted);
    font-weight: 600;
    transition: color 0.2s ease;
}

.nav a:hover {
    color: var(--text);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.menu-toggle {
    display: none;
    font-size: 24px;
    line-height: 1;
    background: none;
    border: none;
    color: var(--text);
    cursor: pointer;
}

.mobile-menu {
    display: none;
    flex-direction: column;
    gap: 12px;
    padding: 20px;
    border-top: 1px solid var(--border);
    background: var(--white);
}

.mobile-menu a {
    padding: 10px 0;
    font-weight: 600;
    color: var(--text);
}

.mobile-menu hr {
    border: none;
    border-top: 1px solid var(--border);
    margin: 8px 0;
}

.mobile-menu.active {
    display: flex;
}

/* BUTTONS */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px 20px;
    border-radius: 12px;
    font-weight: 700;
    border: 1px solid transparent;
    transition: all 0.25s ease;
    cursor: pointer;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.18);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

.btn-outline {
    background: var(--white);
    color: var(--text);
    border-color: var(--border);
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
}

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

/* HERO */
.hero {
    padding: 80px 0 70px;
    background:
        radial-gradient(circle at top left, rgba(37, 99, 235, 0.07), transparent 30%),
        radial-gradient(circle at bottom right, rgba(37, 99, 235, 0.04), transparent 30%);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
    align-items: center;
}

.badge {
    display: inline-block;
    padding: 8px 14px;
    border-radius: 999px;
    background: var(--soft);
    color: var(--primary);
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 18px;
}

.hero-content h1 {
    font-size: 58px;
    line-height: 1.05;
    letter-spacing: -1.4px;
    margin-bottom: 20px;
    max-width: 700px;
}

.hero-text {
    font-size: 18px;
    color: var(--muted);
    max-width: 640px;
    margin-bottom: 28px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 24px;
}

.hero-actions.center {
    justify-content: center;
}

.hero-points {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    color: var(--muted);
    font-size: 14px;
    font-weight: 600;
}

.hero-card {
    display: flex;
    justify-content: center;
}

/* INVOICE CARD */
.invoice-widget {
    width: 100%;
    max-width: 460px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 28px;
    box-shadow: var(--shadow-lg);
}

.invoice-widget-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 24px;
}

.invoice-widget-top h3 {
    font-size: 28px;
    margin-top: 4px;
}

.mini-label {
    font-size: 13px;
    color: var(--muted);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.status {
    padding: 8px 12px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
}

.status.paid {
    background: var(--success-bg);
    color: var(--success-text);
}

.invoice-widget-body {
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 12px 0;
}

.invoice-line {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 0;
}

.invoice-line span {
    color: var(--muted);
}

.invoice-widget-bottom {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-top: 22px;
}

.metric-box {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 16px;
}

.metric-box small {
    display: block;
    color: var(--muted);
    margin-bottom: 8px;
}

.metric-box strong {
    font-size: 22px;
}

/* SECTIONS */
.section {
    padding: 85px 0;
}

.alt-section {
    background: #f1f5f9;
}

.section-heading {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 48px;
}

.section-heading h2 {
    font-size: 40px;
    line-height: 1.15;
    letter-spacing: -1px;
    margin-bottom: 16px;
}

.section-heading p {
    color: var(--muted);
    font-size: 17px;
}

/* GRID */
.grid {
    display: grid;
    gap: 24px;
}

.grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

/* CARDS */
.card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    box-shadow: var(--shadow);
}

.feature-card .icon {
    font-size: 30px;
    margin-bottom: 14px;
}

.feature-card h3,
.info-card h3,
.faq-item h3 {
    font-size: 21px;
    margin-bottom: 10px;
}

.feature-card p,
.info-card p,
.faq-item p,
.footer-text {
    color: var(--muted);
}

.testimonial-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 240px;
}

.testimonial-text {
    font-size: 17px;
    color: var(--text);
    margin-bottom: 24px;
}

.testimonial-author strong {
    display: block;
    font-size: 16px;
}

.testimonial-author span {
    font-size: 14px;
    color: var(--muted);
}

/* FAQ */
.faq-container {
    max-width: 900px;
}

.faq-list {
    display: grid;
    gap: 18px;
}

.faq-item {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 24px;
    box-shadow: var(--shadow);
}

.faq-item p {
    margin-top: 8px;
    color: var(--muted);
}

/* CTA */
.cta-section {
    padding-top: 90px;
    padding-bottom: 90px;
}

.cta-box {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    border: 1px solid var(--border);
    border-radius: 28px;
    padding: 50px 28px;
    box-shadow: var(--shadow-lg);
}

.cta-box h2 {
    font-size: 42px;
    line-height: 1.1;
    margin-bottom: 16px;
    letter-spacing: -1px;
}

.cta-box p {
    max-width: 700px;
    margin: 0 auto 26px;
    color: var(--muted);
    font-size: 17px;
}

/* FOOTER */
.site-footer {
    background: #ffffff;
    border-top: 1px solid var(--border);
    padding-top: 60px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 32px;
    padding-bottom: 40px;
}

.footer-logo {
    color: var(--text);
    display: inline-block;
    margin-bottom: 14px;
    font-size: 28px;
    font-weight: 800;
}

.site-footer h4 {
    color: var(--text);
    margin-bottom: 14px;
    font-size: 16px;
}

.footer-text {
    max-width: 420px;
}

.footer-links {
    display: grid;
    gap: 10px;
}

.footer-links a {
    color: var(--muted);
    transition: 0.25s ease;
}

.footer-links a:hover {
    color: var(--text);
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding: 20px 0 30px;
    text-align: center;
    color: var(--muted);
    font-size: 14px;
}

/* RESPONSIVE */
@media (max-width: 1100px) {
    .hero-content h1 {
        font-size: 48px;
    }

    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }

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

@media (max-width: 900px) {
    .nav {
        display: none;
    }

    .header-actions {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .hero-grid,
    .grid-3 {
        grid-template-columns: 1fr;
    }

    .hero {
        padding-top: 60px;
    }

    .hero-content h1 {
        font-size: 42px;
    }

    .section-heading h2,
    .cta-box h2 {
        font-size: 32px;
    }
}

@media (max-width: 640px) {
    .header-inner {
        min-height: auto;
        padding: 14px 0;
    }

    .hero-content h1 {
        font-size: 34px;
    }

    .hero-text,
    .section-heading p,
    .cta-box p {
        font-size: 16px;
    }

    .grid-4,
    .footer-grid,
    .invoice-widget-bottom {
        grid-template-columns: 1fr;
    }

    .hero-actions {
        flex-direction: column;
    }

    .btn,
    .btn-lg {
        width: 100%;
    }

    .section {
        padding: 70px 0;
    }

    .card,
    .faq-item,
    .cta-box,
    .invoice-widget {
        padding: 22px;
    }

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

/* ===== PREMIUM HERO UPGRADE ===== */

.hero {
    position: relative;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 20%, rgba(37, 99, 235, 0.08), transparent 40%),
        radial-gradient(circle at 80% 80%, rgba(37, 99, 235, 0.05), transparent 40%);
    z-index: 0;
}

.hero-grid {
    position: relative;
    z-index: 1;
}

/* HERO TEXT */
.hero-content h1 {
    font-size: 60px;
    font-weight: 800;
    letter-spacing: -1.5px;
}

.hero-text {
    font-size: 19px;
    line-height: 1.7;
}

/* BADGE */
.badge {
    background: rgba(37, 99, 235, 0.08);
    border: 1px solid rgba(37, 99, 235, 0.15);
}

/* CARD PREMIUM */
.invoice-widget.premium {
    background: linear-gradient(180deg, #ffffff 0%, #f9fbff 100%);
    border: 1px solid rgba(37, 99, 235, 0.12);
    box-shadow: 0 25px 60px rgba(15, 23, 42, 0.18);
}

/* METRIC BOX */
.metric-box {
    transition: 0.25s;
}

.metric-box:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.12);
}

/* BUTTON PREMIUM */
.btn-primary {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 30px rgba(37, 99, 235, 0.25);
}

/* NAV PREMIUM */
.nav a {
    position: relative;
}

.nav a::after {
    content: "";
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 2px;
    background: #2563eb;
    transition: 0.25s;
}

.nav a:hover::after {
    width: 100%;
}

/* FORM INPUT */
.input {
    width: 100%;
    padding: 14px;
    border-radius: 10px;
    border: 1px solid var(--border);
    font-size: 15px;
}

.input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.1);
}

/* =========================
   PRICING PAGE
========================= */

.pricing-hero {
    padding-bottom: 30px;
}

.pricing-title {
    font-size: 52px;
    line-height: 1.08;
    letter-spacing: -1.3px;
    margin-bottom: 16px;
}

.pricing-subtitle {
    max-width: 760px;
    margin: 0 auto;
    color: var(--muted);
    font-size: 18px;
}

.pricing-section {
    padding-top: 20px;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: stretch;
}

.pricing-card {
    position: relative;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 30px;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
}

.pricing-card-featured {
    border: 2px solid var(--primary);
    box-shadow: 0 20px 50px rgba(37, 99, 235, 0.14);
    transform: translateY(-8px);
}

.pricing-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: var(--white);
    font-size: 13px;
    font-weight: 700;
    padding: 8px 14px;
    border-radius: 999px;
    white-space: nowrap;
}

.pricing-card-top {
    margin-bottom: 24px;
}

.plan-label {
    display: inline-block;
    margin-bottom: 12px;
    padding: 6px 12px;
    border-radius: 999px;
    background: var(--soft);
    color: var(--primary);
    font-size: 13px;
    font-weight: 700;
}

.pricing-card h3 {
    font-size: 28px;
    margin-bottom: 8px;
}

.plan-description {
    color: var(--muted);
    margin-bottom: 18px;
}

.plan-price {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.price {
    font-size: 46px;
    font-weight: 800;
    line-height: 1;
    color: var(--text);
}

.period {
    color: var(--muted);
    font-size: 16px;
}

.plan-features {
    display: grid;
    gap: 12px;
    margin-bottom: 28px;
    color: var(--text);
    flex: 1;
}

.plan-features li {
    color: var(--muted);
    font-size: 15px;
    line-height: 1.6;
}

.plan-action {
    margin-top: auto;
}

.plan-btn {
    width: 100%;
}

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

    .pricing-card-featured {
        transform: none;
    }

    .pricing-title {
        font-size: 42px;
    }
}

@media (max-width: 640px) {
    .pricing-title {
        font-size: 34px;
    }

    .pricing-subtitle {
        font-size: 16px;
    }

    .pricing-card {
        padding: 22px;
    }

    .price {
        font-size: 38px;
    }
}
/* TOGGLE */
.pricing-toggle {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 14px;
    margin-top: 20px;
}

/* SWITCH */
.switch {
    position: relative;
    width: 50px;
    height: 26px;
}

.switch input {
    display: none;
}

.slider {
    position: absolute;
    inset: 0;
    background: #e5e7eb;
    border-radius: 999px;
    cursor: pointer;
}

.slider::before {
    content: "";
    position: absolute;
    width: 22px;
    height: 22px;
    left: 2px;
    top: 2px;
    background: white;
    border-radius: 50%;
    transition: 0.3s;
}

input:checked + .slider {
    background: #2563eb;
}

input:checked + .slider::before {
    transform: translateX(24px);
}

/* PRICING CARDS */
.pricing-card {
    text-align: left;
    padding: 30px;
    border-radius: 20px;
    border: 1px solid var(--border);
    background: white;
    box-shadow: var(--shadow);
    position: relative;
}

.pricing-card.featured {
    border: 2px solid #2563eb;
    transform: scale(1.05);
}

/* BADGE */
.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #2563eb;
    color: white;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 12px;
}

/* PRICE */
.plan-price {
    margin: 20px 0;
}

.price {
    font-size: 42px;
    font-weight: 800;
}

.period {
    color: var(--muted);
}

/* BUTTON */
.plan-btn {
    margin-top: 20px;
    width: 100%;
}

/* =========================
   CONTACT PAGE PREMIUM
========================= */

.contact-hero {
    padding-bottom: 20px;
}

.contact-heading {
    max-width: 820px;
}

.contact-title {
    font-size: 54px;
    line-height: 1.08;
    letter-spacing: -1.4px;
    margin-bottom: 16px;
}

.contact-subtitle {
    max-width: 760px;
    margin: 0 auto;
    color: var(--muted);
    font-size: 18px;
}

.contact-section {
    padding-top: 20px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 28px;
    align-items: stretch;
}

.contact-info-card,
.contact-form-card {
    background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
    border: 1px solid var(--border);
    border-radius: 24px;
    box-shadow: var(--shadow);
    padding: 32px;
}

.contact-info-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.contact-mini-badge {
    display: inline-block;
    margin-bottom: 16px;
    padding: 7px 12px;
    border-radius: 999px;
    background: var(--soft);
    color: var(--primary);
    font-size: 13px;
    font-weight: 700;
}

.contact-info-top h2,
.contact-form-head h2 {
    font-size: 30px;
    line-height: 1.15;
    margin-bottom: 12px;
}

.contact-info-top p,
.contact-form-head p,
.contact-info-footer p {
    color: var(--muted);
    font-size: 16px;
}

.contact-info-list {
    display: grid;
    gap: 18px;
    margin: 28px 0;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 18px;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.75);
}

.contact-icon {
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: var(--soft);
    color: var(--primary);
    font-size: 18px;
    font-weight: 700;
}

.contact-info-item strong {
    display: block;
    margin-bottom: 4px;
    font-size: 15px;
    color: var(--text);
}

.contact-info-item p {
    color: var(--muted);
    font-size: 15px;
    line-height: 1.6;
}

.contact-form-head {
    margin-bottom: 24px;
}

.contact-form {
    display: grid;
    gap: 18px;
}

.contact-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.form-field {
    display: flex;
    flex-direction: column;
}

.form-field label {
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 700;
    color: var(--text);
}

.input {
    width: 100%;
    padding: 14px 16px;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: var(--white);
    color: var(--text);
    font-size: 15px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.10);
}

.textarea {
    resize: vertical;
    min-height: 160px;
}

.contact-submit-btn {
    width: 100%;
    margin-top: 6px;
}

@media (max-width: 1100px) {
    .contact-title {
        font-size: 44px;
    }
}

@media (max-width: 900px) {
    .contact-grid,
    .contact-form-row {
        grid-template-columns: 1fr;
    }

    .contact-title {
        font-size: 36px;
    }
}

@media (max-width: 640px) {
    .contact-info-card,
    .contact-form-card {
        padding: 22px;
    }

    .contact-title {
        font-size: 32px;
    }

    .contact-subtitle {
        font-size: 16px;
    }
}

/* =========================
   AUTH / REGISTER PAGE
========================= */

.auth-section {
    padding-top: 70px;
    padding-bottom: 90px;
}

.auth-layout {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 32px;
    align-items: start;
}

.auth-side {
    padding-top: 18px;
}

.auth-title {
    font-size: 54px;
    line-height: 1.08;
    letter-spacing: -1.4px;
    margin-bottom: 16px;
}

.auth-subtitle {
    max-width: 620px;
    color: var(--muted);
    font-size: 18px;
    margin-bottom: 30px;
}

.auth-benefits {
    display: grid;
    gap: 18px;
}

.auth-benefit {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 18px;
    background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
    border: 1px solid var(--border);
    border-radius: 18px;
    box-shadow: var(--shadow);
}

.auth-benefit-icon {
    width: 34px;
    height: 34px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: var(--soft);
    color: var(--primary);
    font-weight: 800;
    font-size: 15px;
}

.auth-benefit strong {
    display: block;
    margin-bottom: 4px;
    font-size: 15px;
    color: var(--text);
}

.auth-benefit p {
    color: var(--muted);
    font-size: 15px;
    line-height: 1.6;
}

.auth-card {
    background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
    border: 1px solid var(--border);
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
    padding: 32px;
}

.auth-card-head {
    margin-bottom: 22px;
}

.auth-card-head h2 {
    font-size: 30px;
    line-height: 1.15;
    margin-bottom: 8px;
}

.auth-card-head p {
    color: var(--muted);
    font-size: 16px;
}

.auth-form {
    display: grid;
    gap: 18px;
}

.auth-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.auth-submit-btn {
    width: 100%;
    margin-top: 4px;
}

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

.auth-footer-note a {
    color: var(--primary);
    font-weight: 700;
}

.alert {
    padding: 14px 16px;
    border-radius: 14px;
    margin-bottom: 18px;
    font-size: 15px;
    line-height: 1.5;
}

.alert-success {
    background: #ecfdf3;
    border: 1px solid #bbf7d0;
    color: #166534;
}

.alert-error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #b91c1c;
}

@media (max-width: 1100px) {
    .auth-title {
        font-size: 44px;
    }
}

@media (max-width: 900px) {
    .auth-layout,
    .auth-form-row {
        grid-template-columns: 1fr;
    }

    .auth-title {
        font-size: 36px;
    }
}

@media (max-width: 640px) {
    .auth-card {
        padding: 22px;
    }

    .auth-title {
        font-size: 32px;
    }

    .auth-subtitle {
        font-size: 16px;
    }
}
/* =========================
   ADMIN DASHBOARD
========================= */

.admin-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}

.admin-header-inner {
    min-height: 74px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.admin-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: 800;
    color: var(--text);
}

.admin-logo span {
    color: var(--primary);
}

.admin-logo small {
    font-size: 13px;
    font-weight: 700;
    color: var(--muted);
    padding: 5px 10px;
    background: var(--soft);
    border-radius: 999px;
}

.admin-nav {
    display: flex;
    align-items: center;
    gap: 22px;
}

.admin-nav a {
    color: var(--muted);
    font-weight: 600;
    transition: 0.2s ease;
}

.admin-nav a:hover,
.admin-nav a.active {
    color: var(--text);
}

.admin-logout-link {
    color: #b91c1c !important;
}

.admin-dashboard-section {
    padding-top: 60px;
    padding-bottom: 80px;
}

.admin-page-head {
    margin-bottom: 34px;
}

.admin-page-title {
    font-size: 52px;
    line-height: 1.08;
    letter-spacing: -1.4px;
    margin-bottom: 14px;
}

.admin-page-subtitle {
    color: var(--muted);
    font-size: 18px;
    max-width: 760px;
}

.admin-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin-bottom: 30px;
}

.admin-stat-card {
    background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
    border: 1px solid var(--border);
    border-radius: 22px;
    padding: 26px;
    box-shadow: var(--shadow);
}

.admin-stat-label {
    font-size: 14px;
    font-weight: 700;
    color: var(--muted);
    margin-bottom: 10px;
}

.admin-stat-value {
    font-size: 42px;
    line-height: 1;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 10px;
}

.admin-stat-meta {
    color: var(--muted);
    font-size: 15px;
}

.admin-block {
    margin-bottom: 30px;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 28px;
    box-shadow: var(--shadow);
}

.admin-block-head {
    margin-bottom: 22px;
}

.admin-block-head.compact {
    margin-bottom: 16px;
}

.admin-block-head h2 {
    font-size: 28px;
    margin-bottom: 8px;
}

.admin-block-head p {
    color: var(--muted);
    font-size: 16px;
}

.admin-subscription-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.admin-mini-card {
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 22px;
    background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
}

.admin-mini-label {
    display: block;
    color: var(--muted);
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 8px;
}

.admin-mini-card strong {
    font-size: 30px;
    line-height: 1;
    color: var(--text);
}

.admin-actions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.admin-action-card {
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 22px;
    background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
}

.admin-action-card h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.admin-action-card p {
    color: var(--muted);
    margin-bottom: 18px;
    font-size: 15px;
}

.admin-two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
}

.admin-table-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 24px;
    box-shadow: var(--shadow);
}

.admin-table-wrap {
    overflow-x: auto;
}

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

.admin-table th,
.admin-table td {
    padding: 14px 12px;
    text-align: left;
    border-bottom: 1px solid var(--border);
    font-size: 14px;
}

.admin-table th {
    color: var(--muted);
    font-weight: 700;
}

.admin-table td {
    color: var(--text);
}

.admin-empty {
    color: var(--muted);
    font-size: 15px;
}

@media (max-width: 1100px) {
    .admin-stats-grid,
    .admin-actions-grid,
    .admin-subscription-grid,
    .admin-two-col {
        grid-template-columns: 1fr;
    }

    .admin-page-title {
        font-size: 42px;
    }
}

@media (max-width: 900px) {
    .admin-header-inner {
        flex-direction: column;
        justify-content: center;
        padding: 16px 0;
    }

    .admin-nav {
        flex-wrap: wrap;
        justify-content: center;
    }

    .admin-page-title {
        font-size: 34px;
    }
}

/* =========================
   ADMIN FILTERS
========================= */

.admin-filter-form {
    display: grid;
    gap: 18px;
}

.admin-filter-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 18px;
}

.admin-filter-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

@media (max-width: 900px) {
    .admin-filter-grid {
        grid-template-columns: 1fr;
    }

    .admin-filter-actions {
        flex-direction: column;
    }
}

/* =========================
   ADMIN USERS PAGE
========================= */

.admin-filter-grid-single {
    grid-template-columns: 1fr;
}

.admin-table-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.btn-sm {
    padding: 9px 14px;
    font-size: 13px;
    border-radius: 10px;
}

/* =========================
   ADMIN USER EDIT
========================= */

.admin-user-summary {
    display: grid;
    gap: 14px;
}

.admin-user-summary-item {
    padding: 16px 18px;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
}

.admin-user-summary-label {
    display: block;
    margin-bottom: 6px;
    color: var(--muted);
    font-size: 14px;
    font-weight: 700;
}

.admin-user-summary-item strong {
    color: var(--text);
    font-size: 16px;
}

/* =========================
   USER DASHBOARD / APP LAYOUT
========================= */

.app-shell {
    display: flex;
    min-height: 100vh;
    background: #f8fafc;
}

.user-sidebar {
    width: 270px;
    background: #0f172a;
    color: #ffffff;
    padding: 26px 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: sticky;
    top: 0;
    height: 100vh;
}

.user-sidebar-top {
    margin-bottom: 30px;
}

.user-sidebar-logo {
    display: inline-block;
    font-size: 28px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 6px;
}

.user-sidebar-subtitle {
    color: #94a3b8;
    font-size: 14px;
}

.user-sidebar-nav {
    display: grid;
    gap: 8px;
}

.user-sidebar-nav a {
    display: block;
    padding: 12px 14px;
    border-radius: 12px;
    color: #cbd5e1;
    font-weight: 600;
    transition: 0.2s ease;
}

.user-sidebar-nav a:hover,
.user-sidebar-nav a.active {
    background: #1e293b;
    color: #ffffff;
}

.user-sidebar-bottom {
    margin-top: 28px;
}

.user-sidebar-logout {
    display: block;
    padding: 12px 14px;
    border-radius: 12px;
    color: #fca5a5;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.03);
}

.user-main {
    flex: 1;
    min-width: 0;
    padding: 36px;
}

.user-dashboard-wrap {
    max-width: 1400px;
    margin: 0 auto;
}

.user-welcome-card {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 24px;
    background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
    border: 1px solid var(--border);
    border-radius: 24px;
    box-shadow: var(--shadow);
    padding: 30px;
    margin-bottom: 24px;
}

.user-page-title {
    font-size: 42px;
    line-height: 1.08;
    letter-spacing: -1.2px;
    margin-bottom: 10px;
}

.user-page-subtitle {
    color: var(--muted);
    font-size: 17px;
    max-width: 720px;
}

.user-year-form {
    min-width: 160px;
    display: grid;
    gap: 8px;
}

.user-stats-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 18px;
    margin-bottom: 24px;
}

.user-stat-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 20px;
    box-shadow: var(--shadow);
    padding: 22px;
}

.user-stat-label {
    display: block;
    color: var(--muted);
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 10px;
}

.user-stat-value {
    display: block;
    font-size: 30px;
    line-height: 1;
    color: var(--text);
    margin-bottom: 10px;
}

.user-stat-meta {
    color: var(--muted);
    font-size: 14px;
}

.user-content-grid {
    display: grid;
    grid-template-columns: 1.5fr 0.9fr;
    gap: 22px;
    margin-bottom: 24px;
}

.user-panel-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 24px;
    box-shadow: var(--shadow);
    padding: 26px;
}

.user-panel-card-large {
    min-height: 480px;
}

.user-panel-head {
    margin-bottom: 18px;
}

.user-panel-head h2 {
    font-size: 26px;
    margin-bottom: 8px;
}

.user-panel-head p {
    color: var(--muted);
    font-size: 15px;
}

.user-chart-wrap {
    height: 320px;
}

.user-result-box {
    margin-top: 20px;
    padding: 16px 18px;
    border-radius: 16px;
    font-size: 15px;
    font-weight: 700;
}

.user-result-box.profit {
    background: #ecfdf3;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.user-result-box.loss {
    background: #fef2f2;
    color: #b91c1c;
    border: 1px solid #fecaca;
}

.user-quick-actions {
    display: grid;
    gap: 12px;
}

.user-table-wrap {
    overflow-x: auto;
}

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

.user-table th,
.user-table td {
    padding: 14px 12px;
    text-align: left;
    border-bottom: 1px solid var(--border);
    font-size: 14px;
}

.user-table th {
    color: var(--muted);
    font-weight: 700;
}

.user-positive {
    color: #166534;
    font-weight: 700;
}

.user-negative {
    color: #b91c1c;
    font-weight: 700;
}

@media (max-width: 1250px) {
    .user-stats-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 980px) {
    .app-shell {
        flex-direction: column;
    }

    .user-sidebar {
        width: 100%;
        height: auto;
        position: relative;
    }

    .user-main {
        padding: 20px;
    }

    .user-welcome-card,
    .user-content-grid,
    .user-stats-grid {
        grid-template-columns: 1fr;
        display: grid;
    }
}

@media (max-width: 640px) {
    .user-page-title {
        font-size: 32px;
    }

    .user-welcome-card,
    .user-panel-card,
    .user-stat-card {
        padding: 20px;
    }
}

/* =========================
   USER CLIENTS PAGE
========================= */

.user-content-grid-equal {
    grid-template-columns: 1.1fr 0.9fr;
}

.field-help {
    display: block;
    margin-top: 8px;
    color: var(--muted);
    font-size: 13px;
}

@media (max-width: 980px) {
    .user-content-grid-equal {
        grid-template-columns: 1fr;
    }
}
/* =========================
   USER CLIENTS VAT ROW
========================= */

.vat-row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
    align-items: center;
}

@media (max-width: 640px) {
    .vat-row {
        grid-template-columns: 1fr;
    }
}

/* =========================
   USER INVOICES PAGE
========================= */

.user-stats-grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

.user-chart-wrap-small {
    height: 260px;
    margin-bottom: 20px;
}

.user-client-summary-list {
    display: grid;
    gap: 10px;
}

.user-client-summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 16px;
    border-radius: 14px;
    text-decoration: none;
    color: var(--text);
    font-weight: 600;
    border: 1px solid var(--border);
}

.user-client-summary-item strong {
    font-size: 14px;
}

.user-client-max {
    background: #fee2e2;
}

.user-client-min {
    background: #fef9c3;
}

.user-client-mid {
    background: #ecfdf3;
}

.invoice-status-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 7px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

.status-paid {
    background: #dcfce7;
    color: #166534;
}

.status-unpaid {
    background: #fef3c7;
    color: #92400e;
}

.status-overdue {
    background: #fee2e2;
    color: #991b1b;
}

.status-sent {
    background: #dbeafe;
    color: #1d4ed8;
}

.status-draft {
    background: #e5e7eb;
    color: #334155;
}

.status-default {
    background: #e5e7eb;
    color: #334155;
}

.invoice-status-form {
    margin: 0;
}

.invoice-status-select {
    min-width: 120px;
    padding: 10px 12px;
}

@media (max-width: 1250px) {
    .user-stats-grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 980px) {
    .user-stats-grid-4 {
        grid-template-columns: 1fr;
    }
}

.user-sidebar {
    width: 220px;
    height: 100vh;
    background: linear-gradient(180deg, #0f172a 0%, #111827 100%);
    color: #e5e7eb;

    display: flex;
    flex-direction: column;

    padding: 18px 12px;
    box-sizing: border-box;

    border-right: 1px solid rgba(255,255,255,0.05);

    position: sticky;
    top: 0;
}

/* NAV scrollabil */
.user-sidebar-nav {
    flex: 1;
    overflow-y: auto;
    margin-top: 10px;
    padding-right: 4px;
}

/* SCROLLBAR INVIZIBIL / FIN */
.user-sidebar-nav::-webkit-scrollbar {
    width: 4px;
}

.user-sidebar-nav::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.08);
    border-radius: 10px;
}

.user-sidebar-nav::-webkit-scrollbar-thumb:hover {
    background: rgba(255,255,255,0.18);
}

/* FIX LOGOUT */
.user-sidebar-bottom {
    margin-top: auto; /* 🔥 asta e cheia */
    padding-top: 12px;
    border-top: 1px solid rgba(255,255,255,0.06);
}

.user-sidebar {
    width: 220px;
    height: 100vh;
    background: linear-gradient(180deg, #0f172a 0%, #111827 100%);
    color: #e5e7eb;
    display: flex;
    flex-direction: column;
    padding: 18px 12px;
    box-sizing: border-box;
    border-right: 1px solid rgba(255,255,255,0.05);
    position: sticky;
    top: 0;
    transition: width 0.25s ease, padding 0.25s ease;
    overflow: hidden;
}

.user-sidebar.collapsed {
    width: 78px;
    padding-left: 10px;
    padding-right: 10px;
}

.user-sidebar-top {
    padding: 4px 6px 10px;
}

.user-sidebar-brand {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.user-sidebar-logo {
    display: block;
    color: #fff;
    text-decoration: none;
    font-size: 18px;
    font-weight: 800;
    letter-spacing: -0.02em;
    white-space: nowrap;
}

.user-sidebar-subtitle {
    margin-top: 4px;
    font-size: 11px;
    color: #94a3b8;
    transition: opacity 0.2s ease;
}

.sidebar-toggle {
    border: 0;
    background: rgba(255,255,255,0.06);
    color: #fff;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 15px;
    flex-shrink: 0;
}

.sidebar-toggle:hover {
    background: rgba(255,255,255,0.12);
}

.user-sidebar-nav {
    flex: 1;
    overflow-y: auto;
    margin-top: 10px;
    padding-right: 4px;
}

.user-sidebar-nav::-webkit-scrollbar {
    width: 4px;
}

.user-sidebar-nav::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.08);
    border-radius: 10px;
}

.user-sidebar-nav::-webkit-scrollbar-thumb:hover {
    background: rgba(255,255,255,0.18);
}

.menu-group {
    margin: 12px 8px 6px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #64748b;
    transition: opacity 0.2s ease, height 0.2s ease, margin 0.2s ease;
}

.user-sidebar-link,
.user-sidebar-logout {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 10px;
    border-radius: 10px;
    text-decoration: none;
    font-size: 13px;
    transition: all 0.18s ease;
    white-space: nowrap;
}

.user-sidebar-link {
    color: #cbd5e1;
    font-weight: 500;
}

.user-sidebar-link:hover {
    background: rgba(255,255,255,0.06);
    color: #fff;
    transform: translateX(1px);
}

.user-sidebar-link.active {
    background: linear-gradient(180deg, rgba(59,130,246,0.22), rgba(59,130,246,0.16));
    color: #fff;
    box-shadow: inset 0 0 0 1px rgba(96,165,250,0.18);
}

.user-sidebar-icon {
    width: 18px;
    min-width: 18px;
    text-align: center;
    font-size: 14px;
}

.user-sidebar-text {
    transition: opacity 0.2s ease, width 0.2s ease, margin 0.2s ease;
}

.user-sidebar-bottom {
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid rgba(255,255,255,0.06);
}

.user-sidebar-logout {
    color: #fca5a5;
}

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

/* COLLAPSED MODE */
.user-sidebar.collapsed .user-sidebar-logo,
.user-sidebar.collapsed .user-sidebar-subtitle,
.user-sidebar.collapsed .user-sidebar-text,
.user-sidebar.collapsed .menu-group {
    opacity: 0;
    pointer-events: none;
}

.user-sidebar.collapsed .user-sidebar-logo,
.user-sidebar.collapsed .user-sidebar-subtitle,
.user-sidebar.collapsed .user-sidebar-text {
    width: 0;
    overflow: hidden;
}

.user-sidebar.collapsed .menu-group {
    height: 0;
    margin: 0;
    overflow: hidden;
}

.user-sidebar.collapsed .user-sidebar-link,
.user-sidebar.collapsed .user-sidebar-logout {
    justify-content: center;
    gap: 0;
    padding-left: 0;
    padding-right: 0;
}

.user-sidebar.collapsed .user-sidebar-brand {
    justify-content: center;
}

.user-sidebar.collapsed .sidebar-toggle {
    margin: 0 auto;
}

.user-sidebar.collapsed .user-sidebar-top {
    padding-left: 0;
    padding-right: 0;
}

.accountant-context-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    padding: 16px 18px;
    margin-bottom: 22px;
    border: 1px solid #e2e8f0;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
}

.accountant-context-main {
    display: flex;
    gap: 28px;
    flex-wrap: wrap;
    align-items: center;
}

.accountant-context-block {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 180px;
}

.accountant-context-label {
    font-size: 12px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.accountant-context-value {
    font-size: 16px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.2;
}

.accountant-context-meta {
    font-size: 13px;
    color: #64748b;
}

.accountant-context-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* ==========================================================
   INFYVY USER PANEL - RESPONSIVE MOBILE
========================================================== */

.app-shell {
    display: flex;
    width: 100%;
    min-height: 100vh;
}

.user-main {
    flex: 1;
    min-width: 0;
    width: calc(100% - 220px);
}

.user-dashboard-wrap {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.user-table-wrap {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.user-table {
    width: 100%;
}

.user-chart-wrap {
    position: relative;
    width: 100%;
    min-width: 0;
}


/* ==========================================================
   TABLET
========================================================== */

@media (max-width: 1100px) {

    .user-stats-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr)) !important;
    }

    .user-content-grid {
        grid-template-columns:
            1fr !important;
    }
}


/* ==========================================================
   MOBILE
========================================================== */

@media (max-width: 900px) {

    .user-main {
        width: 100% !important;
        max-width: 100% !important;

        margin: 0 !important;

        padding-top: 62px !important;

        min-width: 0 !important;
    }

    .user-dashboard-wrap {
        width: 100% !important;
        max-width: 100% !important;

        margin: 0 !important;

        padding:
            14px !important;

        box-sizing: border-box;
    }

    .user-welcome-card {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;

        gap: 18px !important;

        padding:
            20px !important;
    }

    .user-page-title {
        font-size:
            clamp(1.55rem, 7vw, 2rem) !important;

        line-height:
            1.15 !important;

        overflow-wrap:
            anywhere;
    }

    .user-page-subtitle {
        font-size:
            0.95rem !important;

        line-height:
            1.55 !important;
    }

    .user-year-form {
        width: 100% !important;
    }

    .user-year-form select,
    .user-year-form .input {
        width: 100% !important;
    }

    .user-stats-grid {
        display: grid !important;

        grid-template-columns:
            repeat(2, minmax(0, 1fr)) !important;

        gap:
            12px !important;
    }

    .user-stat-card {
        min-width: 0 !important;

        padding:
            16px !important;
    }

    .user-stat-value {
        font-size:
            clamp(1.3rem, 6vw, 1.8rem) !important;

        overflow-wrap:
            anywhere;
    }

    .user-content-grid {
        display: grid !important;

        grid-template-columns:
            1fr !important;

        gap:
            14px !important;
    }

    .user-panel-card,
    .user-panel-card-large {
        width: 100% !important;
        min-width: 0 !important;

        box-sizing:
            border-box !important;

        padding:
            18px !important;
    }

    .user-panel-head h2 {
        font-size:
            1.2rem !important;
    }

    .user-quick-actions {
        display: grid !important;

        grid-template-columns:
            1fr !important;

        gap:
            10px !important;
    }

    .user-quick-actions .btn {
        display: flex !important;

        width: 100% !important;

        box-sizing:
            border-box !important;

        justify-content:
            center !important;
    }

    .user-chart-wrap {
        width: 100% !important;
        max-width: 100% !important;

        min-height:
            280px !important;

        overflow:
            hidden !important;
    }

    .user-chart-wrap canvas {
        max-width:
            100% !important;
    }

    .user-table-wrap {
        width: 100% !important;

        overflow-x:
            auto !important;

        border-radius:
            10px;
    }

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

    .user-table th,
    .user-table td {
        white-space:
            nowrap;

        padding:
            11px 12px !important;
    }

    .input,
    input,
    select,
    textarea {
        max-width:
            100%;

        box-sizing:
            border-box;
    }
}


/* ==========================================================
   SMALL PHONE
========================================================== */

@media (max-width: 560px) {

    .user-dashboard-wrap {
        padding:
            10px !important;
    }

    .user-welcome-card,
    .user-panel-card,
    .user-panel-card-large {
        border-radius:
            14px !important;
    }

    .user-stats-grid {
        grid-template-columns:
            1fr !important;
    }

    .user-stat-card {
        padding:
            17px !important;
    }

    .user-chart-wrap {
        min-height:
            240px !important;
    }

    .btn {
        min-height:
            44px;
    }
}

/* ==========================================================
   ACCESSIBILITY - KEYBOARD FOCUS
   ========================================================== */

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
    outline: 3px solid currentColor !important;
    outline-offset: 3px !important;
}


/* ==========================================================
   ACCESSIBILITY - KEYBOARD FOCUS
   ========================================================== */

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
    outline: 3px solid currentColor !important;
    outline-offset: 3px !important;
}



/* ==========================================================
   INFYVY PROFESSIONAL UI REFRESH
   ========================================================== */

:root {
    --primary: #2457a6;
    --primary-dark: #1d4788;
    --text: #172033;
    --muted: #667085;
    --bg: #f5f7fa;
    --white: #ffffff;
    --border: #dde3ea;
    --soft: #eef3f9;

    --shadow:
        0 2px 8px rgba(16, 24, 40, 0.05);

    --shadow-lg:
        0 6px 20px rgba(16, 24, 40, 0.07);

    --radius: 10px;
    --container: 1200px;
}


/* BODY */

body {
    background: #f5f7fa;
    color: #172033;
}


/* PUBLIC HEADER */

.site-header {
    background: rgba(255,255,255,.98);
    backdrop-filter: none;
    border-bottom: 1px solid #e1e6ec;
    box-shadow: 0 1px 3px rgba(16,24,40,.03);
}

.header-inner {
    min-height: 70px;
}

.logo {
    font-size: 26px;
    font-weight: 750;
    letter-spacing: -.6px;
}

.nav {
    gap: 26px;
}

.nav a {
    color: #566174;
    font-size: 14px;
    font-weight: 600;
}

.nav a:hover {
    color: #172033;
}


/* BUTTONS */

.btn {
    padding: 11px 18px;
    border-radius: 7px;
    font-weight: 650;
    transition:
        background .15s ease,
        border-color .15s ease,
        color .15s ease;
}

.btn-primary {
    background: #2457a6;
    box-shadow: none;
}

.btn-primary:hover {
    background: #1d4788;
    transform: none;
}

.btn-outline {
    background: #fff;
    border-color: #d5dce5;
}

.btn-outline:hover {
    border-color: #9caabd;
    color: #172033;
}


/* HERO */

.hero {
    padding: 74px 0 66px;
    background: #ffffff;
    border-bottom: 1px solid #e8ecf1;
}

.hero-grid {
    gap: 64px;
}

.badge {
    padding: 6px 11px;
    border-radius: 6px;
    background: #edf3fb;
    color: #2457a6;
    font-size: 12px;
    letter-spacing: .02em;
}

.hero-content h1 {
    font-size: clamp(42px, 5vw, 56px);
    line-height: 1.08;
    letter-spacing: -1.5px;
    color: #172033;
}

.hero-text {
    color: #667085;
    line-height: 1.7;
}


/* INVOICE PREVIEW */

.invoice-widget {
    background: #ffffff;
    border: 1px solid #dfe5ec;
    border-radius: 12px;
    padding: 26px;
    box-shadow:
        0 10px 30px rgba(16,24,40,.07);
}


/* CARDS */

.card {
    border-radius: 10px;
    border: 1px solid #e0e5eb;
    box-shadow: none;
    background: #fff;
}

.card:hover {
    box-shadow:
        0 5px 16px rgba(16,24,40,.06);
}


/* SECTIONS */

.section {
    padding-top: 72px;
    padding-bottom: 72px;
}

.alt-section {
    background: #f5f7fa;
}

.section-heading h2 {
    color: #172033;
    letter-spacing: -.6px;
}


/* FORMS */

input,
select,
textarea {
    border-radius: 7px !important;
    border-color: #d5dce5 !important;
}

input:focus,
select:focus,
textarea:focus {
    border-color: #7896bf !important;
    box-shadow:
        0 0 0 3px rgba(36,87,166,.08) !important;
}


/* TABLES */

table {
    border-collapse: collapse;
}

th {
    color: #566174;
    font-size: 12px;
    letter-spacing: .025em;
    text-transform: uppercase;
}

td,
th {
    border-color: #e5e9ef;
}


/* DASHBOARD */

.infy-dashboard {
    padding: 28px 32px;
}

.infy-title {
    color: #172033;
    font-size: 31px;
    letter-spacing: -.7px;
}

.infy-eyebrow {
    color: #758195;
    font-size: 11px;
}

.infy-subtitle {
    color: #667085;
}


/* DASHBOARD ACTION */

.infy-primary-action {
    height: 42px;
    padding: 0 16px;
    border-radius: 7px;
    background: #2457a6;
    box-shadow: none;
}

.infy-primary-action:hover {
    background: #1d4788;
    transform: none;
}


/* PLAN BANNER */

.infy-plan-banner {
    background: #172033;
    border-radius: 10px;
    box-shadow: none;
    padding: 17px 20px;
}

.infy-plan-icon {
    border-radius: 7px;
}


/* KPI */

.infy-kpi-grid {
    gap: 14px;
}

.infy-kpi {
    min-height: 132px;
    padding: 18px;
    border-radius: 10px;
    border: 1px solid #e0e5eb;
    box-shadow: none;
}

.infy-kpi::after {
    display: none;
}

.infy-kpi-icon {
    border-radius: 7px;
    background: #f1f4f7;
}

.infy-kpi-value {
    color: #172033;
    font-size: 24px;
}


/* FOOTER */

.site-footer {
    border-top: 1px solid #e1e6ec;
}


/* MOBILE */

@media (max-width: 768px) {

    .hero {
        padding: 52px 0;
    }

    .hero-grid {
        gap: 38px;
    }

    .infy-dashboard {
        padding: 20px 16px;
    }

    .infy-title {
        font-size: 27px;
    }
}


/* ==========================================================
   INFYVY - SIDEBAR / DASHBOARD PROFESSIONAL
   ========================================================== */

/* SIDEBAR */

.user-sidebar {
    width: 232px !important;
    background: #182235 !important;
    border-right: 1px solid #273247 !important;
    padding: 20px 13px !important;
    box-shadow: none !important;
}

.user-sidebar-logo {
    font-size: 20px !important;
    font-weight: 750 !important;
    letter-spacing: -.4px !important;
}

.user-sidebar-subtitle {
    color: #9ba8ba !important;
    font-size: 11px !important;
}

.user-plan-card {
    margin: 10px 5px 16px !important;
    padding: 12px 13px !important;
    border-radius: 8px !important;
    background: #202c40 !important;
    border: 1px solid #303d53 !important;
    box-shadow: none !important;
}

.user-plan-card.trial,
.user-plan-card.admin {
    background: #202c40 !important;
    border-color: #3a4962 !important;
}

.user-sidebar a {
    transition:
        background .15s ease,
        color .15s ease,
        border-color .15s ease !important;
}


/* DASHBOARD */

.infy-dashboard {
    max-width: 1500px !important;
    padding: 28px 30px !important;
}

.infy-topbar {
    margin-bottom: 24px !important;
}

.infy-title {
    font-size: 30px !important;
    font-weight: 750 !important;
}

.infy-subtitle {
    font-size: 14px !important;
}

.infy-year {
    height: 40px !important;
    border-radius: 7px !important;
    font-size: 13px !important;
}

.infy-primary-action {
    height: 40px !important;
    border-radius: 7px !important;
    padding: 0 15px !important;
    font-size: 13px !important;
}


/* PLAN BANNER */

.infy-plan-banner {
    padding: 15px 18px !important;
    margin-bottom: 18px !important;
    background: #1d293d !important;
    border: 1px solid #2e3b50 !important;
    border-radius: 9px !important;
    box-shadow: none !important;
}

.infy-plan-icon {
    width: 38px !important;
    height: 38px !important;
    flex-basis: 38px !important;
    border-radius: 7px !important;
    font-size: 17px !important;
}

.infy-upgrade {
    min-height: 35px !important;
    padding: 0 13px !important;
    border-radius: 6px !important;
}


/* KPI */

.infy-kpi-grid {
    gap: 12px !important;
    margin-bottom: 18px !important;
}

.infy-kpi {
    min-height: 122px !important;
    padding: 17px !important;
    border-radius: 8px !important;
    border: 1px solid #dfe4ea !important;
    box-shadow: none !important;
}

.infy-kpi::after {
    display: none !important;
}

.infy-kpi-head {
    margin-bottom: 14px !important;
}

.infy-kpi-label {
    font-size: 12px !important;
    font-weight: 700 !important;
    color: #697586 !important;
}

.infy-kpi-icon {
    width: 30px !important;
    height: 30px !important;
    border-radius: 6px !important;
    background: #f0f3f7 !important;
}

.infy-kpi-value {
    font-size: 23px !important;
    letter-spacing: -.4px !important;
}

.infy-kpi-meta {
    font-size: 11px !important;
}


/* GENERIC DASHBOARD PANELS */

.infy-dashboard .card,
.infy-dashboard [class*="panel"],
.infy-dashboard [class*="chart"] {
    border-radius: 9px;
}

.infy-dashboard canvas {
    max-width: 100%;
}


/* RESPONSIVE */

@media (max-width: 1100px) {
    .infy-kpi-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 700px) {

    .infy-dashboard {
        padding: 18px 14px !important;
    }

    .infy-kpi-grid {
        grid-template-columns: 1fr !important;
    }

    .infy-topbar {
        flex-direction: column;
        align-items: stretch !important;
    }

    .infy-top-actions {
        justify-content: flex-start !important;
    }
}


/* ==========================================================
   INFYVY - FEATURE SYMBOLS
   ========================================================== */

.feature-symbol {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    border-radius: 7px;
    background: #edf3fb;
    color: #2457a6;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .06em;
}



/* ==========================================================
   INFYVY BUSINESS HOMEPAGE V2
   ========================================================== */

.infy-home {
    background: #fff;
    color: #162033;
}

.infy-home * {
    box-sizing: border-box;
}


/* HERO */

.business-hero {
    background:
        linear-gradient(
            180deg,
            #f7f9fc 0%,
            #ffffff 100%
        );
    padding: 92px 0 88px;
    overflow: hidden;
}

.business-hero-grid {
    display: grid;
    grid-template-columns:
        minmax(0, .88fr)
        minmax(560px, 1.12fr);
    gap: 70px;
    align-items: center;
}

.business-kicker,
.business-section-label {
    display: inline-block;
    margin-bottom: 18px;
    color: #2457a6;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.business-hero h1 {
    margin: 0;
    color: #162033;
    font-size: clamp(46px, 5vw, 68px);
    line-height: 1.04;
    letter-spacing: -2.4px;
    font-weight: 760;
}

.business-hero h1 span {
    color: #2457a6;
}

.business-hero-text {
    max-width: 590px;
    margin: 25px 0 0;
    color: #5f6c7e;
    font-size: 18px;
    line-height: 1.75;
}

.business-actions {
    display: flex;
    gap: 12px;
    margin-top: 32px;
}

.business-btn {
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 21px;
    border-radius: 7px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    transition: .18s ease;
}

.business-btn-primary {
    background: #2457a6;
    color: #fff;
    border: 1px solid #2457a6;
}

.business-btn-primary:hover {
    background: #1c4789;
    border-color: #1c4789;
    color: #fff;
}

.business-btn-secondary {
    background: #fff;
    color: #273449;
    border: 1px solid #d3dae4;
}

.business-btn-secondary:hover {
    border-color: #9da9b8;
    color: #162033;
}

.business-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-top: 24px;
    color: #7a8594;
    font-size: 12px;
}


/* PRODUCT MOCKUP */

.product-preview {
    position: relative;
}

.product-preview::before {
    content: "";
    position: absolute;
    width: 470px;
    height: 470px;
    border-radius: 50%;
    background: #e9f0fa;
    right: -110px;
    top: -90px;
    z-index: 0;
}

.preview-window {
    position: relative;
    z-index: 1;
    overflow: hidden;
    background: #fff;
    border: 1px solid #dce2ea;
    border-radius: 12px;
    box-shadow:
        0 28px 70px rgba(25, 39, 64, .14);
}

.preview-topbar {
    min-height: 66px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    border-bottom: 1px solid #e5e9ef;
}

.preview-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.preview-brand div {
    display: flex;
    flex-direction: column;
}

.preview-brand strong {
    color: #172033;
    font-size: 13px;
}

.preview-brand small {
    color: #8993a2;
    font-size: 9px;
}

.preview-logo {
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 7px;
    background: #2457a6;
    color: #fff;
    font-weight: 800;
}

.preview-user {
    width: 31px;
    height: 31px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #edf1f6;
    color: #4c596d;
    font-size: 10px;
    font-weight: 800;
}

.preview-layout {
    min-height: 420px;
    display: grid;
    grid-template-columns: 118px 1fr;
}

.preview-sidebar {
    padding: 20px 10px;
    background: #182235;
}

.preview-nav {
    margin-bottom: 5px;
    padding: 9px 10px;
    border-radius: 5px;
    color: #aab5c5;
    font-size: 9px;
    font-weight: 600;
}

.preview-nav.active {
    background: #26344a;
    color: #fff;
}

.preview-content {
    padding: 23px;
    background: #f7f8fa;
}

.preview-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.preview-heading small {
    color: #8c96a5;
    font-size: 8px;
    font-weight: 800;
    letter-spacing: .1em;
}

.preview-heading h3 {
    margin: 4px 0 0;
    color: #182235;
    font-size: 18px;
}

.preview-period {
    padding: 7px 9px;
    border: 1px solid #dfe4eb;
    border-radius: 5px;
    background: #fff;
    color: #687486;
    font-size: 8px;
}

.preview-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 9px;
    margin-top: 20px;
}

.preview-stat {
    padding: 14px;
    background: #fff;
    border: 1px solid #e1e6ec;
    border-radius: 7px;
}

.preview-stat span,
.preview-stat small {
    display: block;
    color: #8791a0;
    font-size: 8px;
}

.preview-stat strong {
    display: block;
    margin: 7px 0 4px;
    color: #182235;
    font-size: 17px;
}

.preview-bottom {
    display: grid;
    grid-template-columns: 1.25fr .75fr;
    gap: 10px;
    margin-top: 10px;
}

.preview-chart-card,
.preview-invoice-card {
    min-height: 180px;
    padding: 15px;
    background: #fff;
    border: 1px solid #e1e6ec;
    border-radius: 7px;
}

.preview-card-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.preview-card-title strong {
    color: #253146;
    font-size: 10px;
}

.preview-card-title span {
    color: #939baa;
    font-size: 7px;
}

.fake-chart {
    height: 115px;
    display: flex;
    align-items: flex-end;
    gap: 8px;
    padding-top: 20px;
    border-bottom: 1px solid #e8ebf0;
}

.fake-chart span {
    flex: 1;
    min-height: 15px;
    background: #dce7f6;
    border-radius: 3px 3px 0 0;
}

.fake-chart span:last-child {
    background: #2457a6;
}

.preview-invoice-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 11px 0;
    border-bottom: 1px solid #edf0f4;
}

.preview-invoice-row div {
    display: flex;
    flex-direction: column;
}

.preview-invoice-row strong {
    color: #354157;
    font-size: 8px;
}

.preview-invoice-row small {
    margin-top: 2px;
    color: #919aa7;
    font-size: 7px;
}

.preview-paid,
.preview-pending {
    padding: 3px 6px;
    border-radius: 4px;
    font-size: 7px;
    font-weight: 700;
}

.preview-paid {
    background: #e9f7ef;
    color: #21834d;
}

.preview-pending {
    background: #fff5df;
    color: #a46b00;
}


/* PRODUCT STRIP */

.business-strip {
    border-top: 1px solid #e7ebf0;
    border-bottom: 1px solid #e7ebf0;
    background: #fff;
}

.business-strip-inner {
    min-height: 74px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 25px;
    color: #626e80;
    font-size: 13px;
    font-weight: 650;
}

.business-strip i {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: #b8c0cb;
}


/* INTRO */

.business-intro {
    padding: 110px 0 80px;
    text-align: center;
}

.business-intro-inner {
    max-width: 850px;
}

.business-intro h2,
.business-feature-copy h2,
.business-dark-heading h2,
.business-cta h2,
.business-faq-heading h2 {
    margin: 0;
    color: #172033;
    font-size: clamp(35px, 4vw, 50px);
    line-height: 1.12;
    letter-spacing: -1.4px;
}

.business-intro p {
    max-width: 680px;
    margin: 22px auto 0;
    color: #6a7585;
    font-size: 17px;
    line-height: 1.75;
}


/* FEATURE SECTIONS */

.business-feature {
    padding: 90px 0;
}

.business-feature-alt {
    background: #f6f8fb;
}

.business-feature-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 90px;
    align-items: center;
}

.business-feature-grid.reverse
.business-feature-visual {
    order: 2;
}

.business-feature-copy {
    max-width: 520px;
}

.business-feature-copy p {
    margin: 22px 0 0;
    color: #657184;
    font-size: 16px;
    line-height: 1.75;
}

.business-checks {
    list-style: none;
    padding: 0;
    margin: 27px 0;
}

.business-checks li {
    position: relative;
    padding: 8px 0 8px 28px;
    color: #39465a;
    font-size: 14px;
}

.business-checks li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #2457a6;
    font-weight: 800;
}

.business-text-link {
    color: #2457a6;
    text-decoration: none;
    font-size: 14px;
    font-weight: 750;
}


/* INVOICE DOCUMENT */

.document-card,
.finance-card,
.expense-demo {
    padding: 30px;
    background: #fff;
    border: 1px solid #dde3ea;
    border-radius: 10px;
    box-shadow:
        0 20px 55px rgba(28, 43, 67, .09);
}

.document-head {
    display: flex;
    justify-content: space-between;
    padding-bottom: 25px;
    border-bottom: 1px solid #e4e8ed;
}

.document-brand {
    display: block;
    margin-bottom: 10px;
    color: #2457a6;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .08em;
}

.document-head h3 {
    margin: 0;
    font-size: 28px;
    color: #1d293d;
}

.document-number {
    text-align: right;
}

.document-number small,
.document-parties small {
    display: block;
    color: #8a94a3;
    font-size: 9px;
    font-weight: 700;
}

.document-number strong {
    color: #334056;
    font-size: 13px;
}

.document-parties {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    padding: 28px 0;
}

.document-parties div {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.document-parties strong {
    color: #29364a;
    font-size: 13px;
}

.document-parties span {
    color: #778292;
    font-size: 11px;
}

.document-table {
    border-top: 1px solid #e5e9ef;
}

.document-row {
    display: grid;
    grid-template-columns: 1fr auto;
    padding: 13px 4px;
    border-bottom: 1px solid #e9edf1;
    color: #5e6a7c;
    font-size: 11px;
}

.document-row.header {
    color: #8a94a3;
    font-size: 9px;
    font-weight: 700;
}

.document-total {
    display: flex;
    justify-content: flex-end;
    gap: 40px;
    padding-top: 20px;
    color: #263247;
}


/* FINANCE CARD */

.finance-card-head,
.expense-demo-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.finance-card-head small,
.expense-demo-head small {
    color: #8b95a4;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .08em;
}

.finance-card-head h3,
.expense-demo-head h3 {
    margin: 5px 0 0;
    color: #263247;
    font-size: 19px;
}

.finance-card-head > span {
    padding: 6px 9px;
    border: 1px solid #dce2e9;
    border-radius: 5px;
    color: #697587;
    font-size: 10px;
}

.finance-total {
    padding: 30px 0 25px;
}

.finance-total small {
    display: block;
    color: #8792a1;
    font-size: 10px;
}

.finance-total strong {
    display: block;
    margin: 7px 0;
    color: #172033;
    font-size: 32px;
}

.finance-total span {
    color: #278257;
    font-size: 10px;
}

.finance-bar {
    margin-top: 20px;
}

.finance-bar label {
    display: flex;
    justify-content: space-between;
    margin-bottom: 7px;
    color: #5e6a7b;
    font-size: 10px;
}

.finance-bar i {
    height: 6px;
    display: block;
    overflow: hidden;
    border-radius: 5px;
    background: #edf0f4;
}

.finance-bar b {
    height: 100%;
    display: block;
    border-radius: inherit;
    background: #2457a6;
}


/* EXPENSES */

.expense-demo-head button {
    border: 0;
    border-radius: 6px;
    padding: 9px 12px;
    background: #2457a6;
    color: #fff;
    font-size: 10px;
}

.expense-row {
    display: grid;
    grid-template-columns: 40px 1fr auto;
    gap: 13px;
    align-items: center;
    padding: 18px 0;
    border-bottom: 1px solid #e8ecf1;
}

.expense-icon {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 7px;
    background: #edf3fb;
    color: #2457a6;
    font-size: 9px;
    font-weight: 800;
}

.expense-info {
    display: flex;
    flex-direction: column;
}

.expense-info strong,
.expense-row > strong {
    color: #354156;
    font-size: 12px;
}

.expense-info small {
    margin-top: 3px;
    color: #8a94a2;
    font-size: 9px;
}


/* DARK SECTION */

.business-dark {
    padding: 100px 0;
    background: #172235;
}

.business-section-label.light {
    color: #91b7ef;
}

.business-dark-heading {
    max-width: 700px;
}

.business-dark-heading h2 {
    color: #fff;
}

.business-dark-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 55px;
}

.business-dark-card {
    min-height: 230px;
    padding: 27px;
    border: 1px solid #334158;
    border-radius: 8px;
    background: #1d2a3e;
}

.dark-card-number {
    display: block;
    margin-bottom: 38px;
    color: #8290a5;
    font-size: 11px;
    font-weight: 800;
}

.business-dark-card h3 {
    margin: 0;
    color: #fff;
    font-size: 20px;
}

.business-dark-card p {
    margin: 13px 0 0;
    color: #aab5c4;
    font-size: 13px;
    line-height: 1.7;
}


/* CTA */

.business-cta {
    padding: 100px 0;
    background: #eef3fa;
}

.business-cta-inner {
    display: flex;
    justify-content: space-between;
    gap: 70px;
    align-items: flex-end;
}

.business-cta-inner > div:first-child {
    max-width: 700px;
}

.business-cta p {
    max-width: 620px;
    margin: 20px 0 0;
    color: #667285;
    line-height: 1.7;
}

.business-cta-actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}


/* FAQ */

.business-faq {
    padding: 100px 0;
}

.business-faq-heading {
    max-width: 650px;
    margin-bottom: 45px;
}

.business-faq-list {
    max-width: 850px;
}

.business-faq details {
    border-top: 1px solid #dfe4ea;
}

.business-faq details:last-child {
    border-bottom: 1px solid #dfe4ea;
}

.business-faq summary {
    padding: 22px 4px;
    cursor: pointer;
    color: #263247;
    font-size: 15px;
    font-weight: 700;
}

.business-faq details p {
    max-width: 700px;
    margin: -5px 0 22px;
    color: #6b7686;
    font-size: 14px;
    line-height: 1.7;
}


/* FOOTER */

.business-footer {
    padding: 65px 0 25px;
    background: #121b2b;
    color: #fff;
}

.business-footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 50px;
}

.business-footer-brand > a {
    color: #fff;
    text-decoration: none;
    font-size: 25px;
    font-weight: 800;
}

.business-footer-brand > a span {
    color: #6ca1ef;
}

.business-footer-brand p {
    max-width: 320px;
    margin-top: 16px;
    color: #8f9bad;
    font-size: 13px;
    line-height: 1.7;
}

.business-footer h4 {
    margin: 5px 0 17px;
    color: #fff;
    font-size: 12px;
}

.business-footer-grid > div:not(:first-child) {
    display: flex;
    flex-direction: column;
}

.business-footer-grid a:not(.business-footer-brand > a) {
    margin-bottom: 10px;
    color: #9ba7b8;
    text-decoration: none;
    font-size: 12px;
}

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

.business-footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    margin-top: 50px;
    padding-top: 22px;
    border-top: 1px solid #283448;
    color: #788598;
    font-size: 10px;
}


/* RESPONSIVE */

@media (max-width: 1050px) {

    .business-hero-grid {
        grid-template-columns: 1fr;
    }

    .product-preview {
        max-width: 760px;
    }

    .business-feature-grid {
        gap: 50px;
    }
}

@media (max-width: 800px) {

    .business-hero {
        padding: 65px 0;
    }

    .business-hero h1 {
        font-size: 45px;
    }

    .preview-layout {
        grid-template-columns: 90px 1fr;
    }

    .preview-stats {
        grid-template-columns: 1fr;
    }

    .preview-bottom {
        grid-template-columns: 1fr;
    }

    .business-strip-inner {
        flex-wrap: wrap;
        padding: 18px;
    }

    .business-feature-grid,
    .business-feature-grid.reverse {
        grid-template-columns: 1fr;
    }

    .business-feature-grid.reverse
    .business-feature-visual {
        order: 0;
    }

    .business-dark-grid {
        grid-template-columns: 1fr;
    }

    .business-cta-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .business-footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .business-footer-bottom {
        flex-direction: column;
    }
}

@media (max-width: 520px) {

    .business-hero h1 {
        font-size: 38px;
        letter-spacing: -1.5px;
    }

    .business-actions,
    .business-cta-actions {
        flex-direction: column;
        width: 100%;
    }

    .business-btn {
        width: 100%;
    }

    .product-preview {
        display: none;
    }

    .business-feature,
    .business-dark,
    .business-cta,
    .business-faq {
        padding: 70px 0;
    }

    .business-footer-grid {
        grid-template-columns: 1fr;
    }
}



/* ==========================================================
   INFYVY BUSINESS CONTACT PAGE
   ========================================================== */

.infy-contact-page {
    background: #fff;
}


/* HERO */

.contact-business-hero {
    padding: 82px 0 70px;
    background:
        linear-gradient(
            180deg,
            #f7f9fc 0%,
            #ffffff 100%
        );
    border-bottom: 1px solid #e8ecf1;
}

.contact-business-hero-inner {
    max-width: 820px;
    text-align: center;
}

.contact-business-hero h1 {
    margin: 0;
    color: #172033;
    font-size: clamp(42px, 5vw, 60px);
    line-height: 1.08;
    letter-spacing: -2px;
}

.contact-business-hero p {
    max-width: 680px;
    margin: 22px auto 0;
    color: #697587;
    font-size: 17px;
    line-height: 1.75;
}


/* CONTENT */

.contact-business-section {
    padding: 90px 0 105px;
}

.contact-business-grid {
    display: grid;
    grid-template-columns:
        minmax(0, .85fr)
        minmax(0, 1.15fr);
    gap: 85px;
    align-items: start;
}


/* INFO */

.contact-business-info {
    padding-top: 12px;
}

.contact-business-small {
    display: block;
    margin-bottom: 12px;
    color: #2457a6;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .13em;
}

.contact-business-info h2,
.contact-business-form-head h2 {
    margin: 0;
    color: #172033;
    font-size: 32px;
    line-height: 1.2;
    letter-spacing: -.8px;
}

.contact-business-info-head > p,
.contact-business-form-head > p {
    margin: 16px 0 0;
    color: #6a7585;
    font-size: 14px;
    line-height: 1.75;
}


/* DETAILS */

.contact-business-details {
    margin-top: 38px;
    border-top: 1px solid #e2e6eb;
}

.contact-business-detail {
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 15px;
    align-items: center;
    padding: 19px 0;
    border-bottom: 1px solid #e2e6eb;
}

.contact-detail-code {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 7px;
    background: #edf3fb;
    color: #2457a6;
    font-size: 9px;
    font-weight: 800;
}

.contact-business-detail div {
    display: flex;
    flex-direction: column;
}

.contact-business-detail small {
    margin-bottom: 3px;
    color: #8791a0;
    font-size: 10px;
}

.contact-business-detail strong {
    color: #334056;
    font-size: 13px;
    font-weight: 650;
}


/* NOTE */

.contact-business-note {
    margin-top: 34px;
    padding: 20px;
    border-left: 3px solid #2457a6;
    background: #f6f8fb;
}

.contact-business-note strong {
    color: #273449;
    font-size: 13px;
}

.contact-business-note p {
    margin: 8px 0 0;
    color: #748092;
    font-size: 12px;
    line-height: 1.65;
}


/* FORM CARD */

.contact-business-form-card {
    padding: 38px;
    border: 1px solid #dde3ea;
    border-radius: 10px;
    background: #fff;
    box-shadow:
        0 18px 50px rgba(25,39,64,.08);
}

.contact-business-form-head {
    margin-bottom: 28px;
}


/* FORM */

.contact-business-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-business-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.contact-business-field {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.contact-business-field label {
    color: #3f4b5e;
    font-size: 12px;
    font-weight: 700;
}

.contact-business-field input,
.contact-business-field textarea {
    width: 100%;
    padding: 12px 13px;
    border: 1px solid #d8dee6;
    border-radius: 7px;
    background: #fff;
    color: #172033;
    font-family: inherit;
    font-size: 13px;
    outline: none;
    transition:
        border-color .15s ease,
        box-shadow .15s ease;
}

.contact-business-field textarea {
    resize: vertical;
    min-height: 155px;
}

.contact-business-field input:focus,
.contact-business-field textarea:focus {
    border-color: #7192bd;
    box-shadow:
        0 0 0 3px rgba(36,87,166,.08);
}

.contact-business-field input::placeholder,
.contact-business-field textarea::placeholder {
    color: #9aa4b1;
}


/* SUBMIT */

.contact-business-submit {
    align-self: flex-start;
    min-width: 145px;
    border: 0;
    cursor: pointer;
}


/* PRIVACY */

.contact-business-privacy {
    max-width: 560px;
    margin: -2px 0 0;
    color: #8993a0;
    font-size: 10px;
    line-height: 1.6;
}

.contact-business-privacy a {
    color: #52657e;
    text-decoration: underline;
}


/* ALERTS */

.contact-business-alert {
    margin-bottom: 22px;
    padding: 13px 15px;
    border-radius: 6px;
    font-size: 12px;
    line-height: 1.6;
}

.contact-business-alert.success {
    background: #eef8f2;
    border: 1px solid #cce9d7;
    color: #246743;
}

.contact-business-alert.error {
    background: #fff2f1;
    border: 1px solid #f0cecb;
    color: #983d38;
}


/* RESPONSIVE */

@media (max-width: 900px) {

    .contact-business-grid {
        grid-template-columns: 1fr;
        gap: 55px;
    }

    .contact-business-info {
        max-width: 650px;
    }
}

@media (max-width: 600px) {

    .contact-business-hero {
        padding: 60px 0 52px;
    }

    .contact-business-section {
        padding: 60px 0 70px;
    }

    .contact-business-row {
        grid-template-columns: 1fr;
    }

    .contact-business-form-card {
        padding: 25px 20px;
    }

    .contact-business-submit {
        width: 100%;
    }
}



/* ==========================================================
   INFYVY BUSINESS PRICING PAGE
   ========================================================== */

.infy-pricing-page {
    background: #fff;
}


/* HERO */

.pricing-business-hero {
    padding: 82px 0 62px;
    background:
        linear-gradient(
            180deg,
            #f7f9fc 0%,
            #ffffff 100%
        );
    border-bottom: 1px solid #e7ebf0;
}

.pricing-business-heading {
    max-width: 820px;
    text-align: center;
}

.pricing-business-heading h1 {
    margin: 0;
    color: #172033;
    font-size: clamp(42px, 5vw, 60px);
    line-height: 1.08;
    letter-spacing: -2px;
}

.pricing-business-heading > p {
    max-width: 640px;
    margin: 21px auto 0;
    color: #697587;
    font-size: 16px;
    line-height: 1.7;
}


/* TOGGLE */

.pricing-business-toggle {
    margin-top: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 11px;
    color: #687486;
    font-size: 12px;
    font-weight: 650;
}

.pricing-business-toggle strong {
    margin-left: 4px;
    color: #2457a6;
}

.pricing-business-switch {
    position: relative;
    width: 43px;
    height: 23px;
}

.pricing-business-switch input {
    position: absolute;
    opacity: 0;
}

.pricing-business-switch > span {
    position: absolute;
    inset: 0;
    border-radius: 20px;
    background: #cbd3dd;
    cursor: pointer;
    transition: .2s;
}

.pricing-business-switch > span::before {
    content: "";
    position: absolute;
    width: 17px;
    height: 17px;
    left: 3px;
    top: 3px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0,0,0,.18);
    transition: .2s;
}

.pricing-business-switch
input:checked + span {
    background: #2457a6;
}

.pricing-business-switch
input:checked + span::before {
    transform: translateX(20px);
}


/* PRICING */

.pricing-business-section {
    padding: 80px 0 100px;
}

.pricing-business-grid {
    display: grid;
    grid-template-columns:
        repeat(3, minmax(0, 1fr));
    gap: 18px;
    align-items: stretch;
}

.pricing-business-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 590px;
    padding: 31px;
    border: 1px solid #dfe4ea;
    border-radius: 9px;
    background: #fff;
}

.pricing-business-card.featured {
    border: 2px solid #2457a6;
    box-shadow:
        0 18px 48px
        rgba(31,63,108,.09);
}

.pricing-business-popular {
    position: absolute;
    top: -13px;
    left: 25px;
    padding: 7px 11px;
    border-radius: 5px;
    background: #2457a6;
    color: #fff;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .08em;
}

.pricing-business-plan-type {
    display: block;
    margin-bottom: 10px;
    color: #8390a0;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .12em;
}

.pricing-business-plan-head h2 {
    margin: 0;
    color: #172033;
    font-size: 25px;
}

.pricing-business-plan-head p {
    min-height: 48px;
    margin: 11px 0 0;
    color: #707b8b;
    font-size: 12px;
    line-height: 1.65;
}


/* PRICE */

.pricing-business-price {
    margin-top: 29px;
}

.pricing-business-price strong {
    color: #172033;
    font-size: 39px;
    line-height: 1;
    letter-spacing: -1.2px;
}

.pricing-business-price span {
    margin-left: 5px;
    color: #8792a1;
    font-size: 11px;
}

.pricing-business-note {
    margin-top: 13px;
    color: #28764f;
    font-size: 10px;
    font-weight: 650;
}

.pricing-business-divider {
    height: 1px;
    margin: 27px 0 20px;
    background: #e4e8ed;
}


/* FEATURES */

.pricing-business-features {
    flex: 1;
    list-style: none;
    padding: 0;
    margin: 0 0 28px;
}

.pricing-business-features li {
    display: grid;
    grid-template-columns: 18px 1fr;
    gap: 5px;
    padding: 7px 0;
    color: #465267;
    font-size: 12px;
    line-height: 1.45;
}

.pricing-business-features li b {
    color: #2457a6;
}

.pricing-business-features li.muted {
    color: #9aa3af;
}

.pricing-business-features li.muted b {
    color: #aab2bc;
}

.pricing-business-btn {
    width: 100%;
}


/* VALUE */

.pricing-business-value {
    padding: 90px 0;
    background: #172235;
}

.pricing-business-value-head {
    max-width: 700px;
}

.pricing-business-value-head
.business-section-label {
    color: #91b7ef;
}

.pricing-business-value-head h2 {
    margin: 0;
    color: #fff;
    font-size: 39px;
    line-height: 1.15;
    letter-spacing: -1px;
}

.pricing-business-value-head > p {
    max-width: 600px;
    margin: 17px 0 0;
    color: #a5b0c0;
    font-size: 14px;
    line-height: 1.7;
}

.pricing-business-value-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 17px;
    margin-top: 48px;
}

.pricing-business-value-grid > div {
    min-height: 190px;
    padding: 24px;
    border: 1px solid #334158;
    border-radius: 8px;
    background: #1d2a3e;
}

.pricing-business-value-grid span {
    display: block;
    margin-bottom: 30px;
    color: #7d8ba0;
    font-size: 10px;
    font-weight: 800;
}

.pricing-business-value-grid h3 {
    margin: 0;
    color: #fff;
    font-size: 17px;
}

.pricing-business-value-grid p {
    margin: 11px 0 0;
    color: #aab5c4;
    font-size: 12px;
    line-height: 1.65;
}


/* FAQ */

.pricing-business-faq {
    background: #fff;
}


/* CTA */

.pricing-business-cta {
    padding: 75px 0;
    background: #eef3fa;
}

.pricing-business-cta-inner {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 50px;
}

.pricing-business-cta h2 {
    max-width: 660px;
    margin: 0;
    color: #172033;
    font-size: 36px;
    line-height: 1.15;
    letter-spacing: -1px;
}


/* RESPONSIVE */

@media (max-width: 900px) {

    .pricing-business-grid {
        grid-template-columns: 1fr;
        max-width: 600px;
    }

    .pricing-business-card {
        min-height: auto;
    }

    .pricing-business-value-grid {
        grid-template-columns: 1fr;
    }

    .pricing-business-cta-inner {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 550px) {

    .pricing-business-hero {
        padding: 60px 0 50px;
    }

    .pricing-business-section {
        padding: 55px 0 70px;
    }

    .pricing-business-card {
        padding: 25px 20px;
    }

    .pricing-business-toggle {
        flex-wrap: wrap;
    }

    .pricing-business-price strong {
        font-size: 34px;
    }
}



/* ==========================================================
   INFYVY BUSINESS LOGIN PAGE
   ========================================================== */

.infy-login-page {
    background: #fff;
}


/* MAIN */

.login-business-section {
    min-height: 700px;
    display: flex;
    align-items: center;
    padding: 85px 0 100px;
    background:
        linear-gradient(
            180deg,
            #f7f9fc 0%,
            #ffffff 100%
        );
}

.login-business-grid {
    display: grid;
    grid-template-columns:
        minmax(0, .95fr)
        minmax(420px, .65fr);
    gap: 100px;
    align-items: center;
}


/* LEFT */

.login-business-intro {
    max-width: 610px;
}

.login-business-intro h1 {
    margin: 0;
    color: #172033;
    font-size: clamp(42px, 5vw, 58px);
    line-height: 1.08;
    letter-spacing: -1.8px;
}

.login-business-intro > p {
    max-width: 560px;
    margin: 23px 0 0;
    color: #687486;
    font-size: 16px;
    line-height: 1.75;
}


/* BENEFITS */

.login-business-benefits {
    margin-top: 42px;
    border-top: 1px solid #e0e5eb;
}

.login-business-benefit {
    display: grid;
    grid-template-columns: 38px 1fr;
    gap: 16px;
    padding: 20px 0;
    border-bottom: 1px solid #e0e5eb;
}

.login-business-benefit > span {
    color: #2457a6;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .08em;
}

.login-business-benefit strong {
    display: block;
    color: #344156;
    font-size: 13px;
}

.login-business-benefit p {
    margin: 6px 0 0;
    color: #7b8695;
    font-size: 12px;
    line-height: 1.6;
}


/* LOGIN CARD */

.login-business-card {
    padding: 38px;
    background: #fff;
    border: 1px solid #dce2e9;
    border-radius: 10px;
    box-shadow:
        0 20px 55px
        rgba(26,40,64,.09);
}

.login-business-small {
    display: block;
    margin-bottom: 11px;
    color: #2457a6;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .13em;
}

.login-business-card-head h2 {
    margin: 0;
    color: #172033;
    font-size: 28px;
    letter-spacing: -.6px;
}

.login-business-card-head p {
    margin: 9px 0 0;
    color: #7b8594;
    font-size: 12px;
}


/* FORM */

.login-business-form {
    display: flex;
    flex-direction: column;
    gap: 19px;
    margin-top: 30px;
}

.login-business-field {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.login-business-field label {
    color: #3e4a5e;
    font-size: 12px;
    font-weight: 700;
}

.login-business-field input {
    width: 100%;
    min-height: 46px;
    padding: 0 13px;
    border: 1px solid #d6dde5;
    border-radius: 7px;
    background: #fff;
    color: #172033;
    font-family: inherit;
    font-size: 13px;
    outline: none;
    transition:
        border-color .15s ease,
        box-shadow .15s ease;
}

.login-business-field input:focus {
    border-color: #7192bd;
    box-shadow:
        0 0 0 3px
        rgba(36,87,166,.08);
}

.login-business-field input::placeholder {
    color: #a0a9b5;
}


/* SUBMIT */

.login-business-submit {
    width: 100%;
    min-height: 46px;
    border: 0;
    cursor: pointer;
}


/* ALERT */

.login-business-alert {
    margin-top: 22px;
    padding: 12px 14px;
    border: 1px solid #efcfcc;
    border-radius: 6px;
    background: #fff2f1;
    color: #983d38;
    font-size: 12px;
}


/* SEPARATOR */

.login-business-separator {
    position: relative;
    margin: 25px 0 18px;
    text-align: center;
}

.login-business-separator::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #e3e7ec;
}

.login-business-separator span {
    position: relative;
    padding: 0 12px;
    background: #fff;
    color: #919aa7;
    font-size: 10px;
}


/* CREATE */

.login-business-create {
    width: 100%;
}


/* HELP */

.login-business-help {
    margin-top: 20px;
    text-align: center;
    color: #8a94a2;
    font-size: 10px;
}

.login-business-help a {
    margin-left: 3px;
    color: #2457a6;
    font-weight: 700;
}


/* RESPONSIVE */

@media (max-width: 900px) {

    .login-business-grid {
        grid-template-columns: 1fr;
        gap: 55px;
    }

    .login-business-intro {
        max-width: 700px;
    }

    .login-business-card {
        max-width: 560px;
        width: 100%;
    }
}

@media (max-width: 550px) {

    .login-business-section {
        padding: 60px 0 70px;
    }

    .login-business-intro h1 {
        font-size: 39px;
    }

    .login-business-card {
        padding: 28px 20px;
    }
}



/* ==========================================================
   INFYVY BUSINESS REGISTER PAGE
   ========================================================== */

.infy-register-page {
    background: #fff;
}


/* PAGE */

.register-business-section {
    padding: 82px 0 100px;
    background:
        linear-gradient(
            180deg,
            #f7f9fc 0%,
            #ffffff 100%
        );
}

.register-business-grid {
    display: grid;
    grid-template-columns:
        minmax(0, .8fr)
        minmax(500px, .8fr);
    gap: 90px;
    align-items: start;
}


/* LEFT */

.register-business-intro {
    max-width: 600px;
    padding-top: 55px;
}

.register-business-intro h1 {
    margin: 0;
    color: #172033;
    font-size: clamp(42px, 5vw, 58px);
    line-height: 1.08;
    letter-spacing: -1.8px;
}

.register-business-intro > p {
    max-width: 550px;
    margin: 23px 0 0;
    color: #687486;
    font-size: 16px;
    line-height: 1.75;
}


/* BENEFITS */

.register-business-benefits {
    margin-top: 42px;
    border-top: 1px solid #e0e5eb;
}

.register-business-benefit {
    display: grid;
    grid-template-columns: 38px 1fr;
    gap: 16px;
    padding: 20px 0;
    border-bottom: 1px solid #e0e5eb;
}

.register-business-benefit > span {
    color: #2457a6;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .08em;
}

.register-business-benefit strong {
    display: block;
    color: #344156;
    font-size: 13px;
}

.register-business-benefit p {
    margin: 6px 0 0;
    color: #7b8695;
    font-size: 12px;
    line-height: 1.6;
}


/* CARD */

.register-business-card {
    padding: 38px;
    background: #fff;
    border: 1px solid #dce2e9;
    border-radius: 10px;
    box-shadow:
        0 20px 55px
        rgba(26,40,64,.09);
}

.register-business-small {
    display: block;
    margin-bottom: 11px;
    color: #2457a6;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .13em;
}

.register-business-card-head h2 {
    margin: 0;
    color: #172033;
    font-size: 28px;
    letter-spacing: -.6px;
}

.register-business-card-head p {
    margin: 9px 0 0;
    color: #7b8594;
    font-size: 12px;
}


/* PLAN */

.register-business-plan {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 25px;
    padding: 14px 15px;
    border: 1px solid #dbe3ec;
    border-radius: 7px;
    background: #f6f8fb;
}

.register-business-plan div {
    display: flex;
    flex-direction: column;
}

.register-business-plan small {
    margin-bottom: 3px;
    color: #8993a1;
    font-size: 9px;
}

.register-business-plan strong {
    color: #2f3c50;
    font-size: 13px;
}

.register-business-plan > span {
    padding: 5px 8px;
    border-radius: 5px;
    background: #edf3fb;
    color: #2457a6;
    font-size: 9px;
    font-weight: 750;
}


/* FORM */

.register-business-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-top: 27px;
}

.register-business-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.register-business-field {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.register-business-field label {
    color: #3e4a5e;
    font-size: 12px;
    font-weight: 700;
}

.register-business-field input {
    width: 100%;
    min-height: 45px;
    padding: 0 13px;
    border: 1px solid #d6dde5;
    border-radius: 7px;
    background: #fff;
    color: #172033;
    font-family: inherit;
    font-size: 13px;
    outline: none;
    transition:
        border-color .15s ease,
        box-shadow .15s ease;
}

.register-business-field input:focus {
    border-color: #7192bd;
    box-shadow:
        0 0 0 3px
        rgba(36,87,166,.08);
}

.register-business-field input::placeholder {
    color: #a0a9b5;
}

.register-field-note {
    margin-top: 1px;
    color: #929ba8;
    font-size: 9px;
    line-height: 1.45;
}


/* SUBMIT */

.register-business-submit {
    width: 100%;
    min-height: 47px;
    border: 0;
    cursor: pointer;
}


/* ALERTS */

.register-business-alert {
    margin-top: 21px;
    padding: 12px 14px;
    border-radius: 6px;
    font-size: 12px;
    line-height: 1.6;
}

.register-business-alert.success {
    background: #eef8f2;
    border: 1px solid #cce9d7;
    color: #246743;
}

.register-business-alert.error {
    background: #fff2f1;
    border: 1px solid #efcfcc;
    color: #983d38;
}


/* TERMS */

.register-business-terms {
    margin-top: 17px;
    color: #8b95a2;
    font-size: 9px;
    line-height: 1.6;
    text-align: center;
}

.register-business-terms a {
    color: #52657e;
    text-decoration: underline;
}


/* SEPARATOR */

.register-business-separator {
    position: relative;
    margin: 24px 0 17px;
    text-align: center;
}

.register-business-separator::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #e3e7ec;
}

.register-business-separator span {
    position: relative;
    padding: 0 12px;
    background: #fff;
    color: #919aa7;
    font-size: 10px;
}

.register-business-login {
    width: 100%;
}


/* RESPONSIVE */

@media (max-width: 950px) {

    .register-business-grid {
        grid-template-columns: 1fr;
        gap: 55px;
    }

    .register-business-intro {
        max-width: 700px;
        padding-top: 0;
    }

    .register-business-card {
        max-width: 620px;
        width: 100%;
    }
}

@media (max-width: 600px) {

    .register-business-section {
        padding: 60px 0 70px;
    }

    .register-business-intro h1 {
        font-size: 39px;
    }

    .register-business-card {
        padding: 27px 20px;
    }

    .register-business-row {
        grid-template-columns: 1fr;
    }
}



/* =========================================================
   INFYVY ADMIN V3 - SIDEBAR LAYOUT
   ========================================================= */

:root {
    --admin-sidebar-width: 248px;
    --admin-sidebar-bg: #0d1b32;
    --admin-sidebar-bg-2: #10213c;
    --admin-sidebar-border: rgba(255,255,255,.07);
    --admin-sidebar-text: #cbd5e1;
    --admin-sidebar-muted: #7890ad;
    --admin-sidebar-active: #2563eb;
    --admin-page-bg: #f5f8fc;
    --admin-card-bg: #ffffff;
    --admin-border: #e5eaf1;
    --admin-text: #0f172a;
    --admin-muted: #64748b;
    --admin-primary: #2563eb;
}

body.admin-layout {
    margin: 0;
    min-height: 100vh;
    background: var(--admin-page-bg);
    color: var(--admin-text);
}

body.admin-layout .admin-header {
    display: none !important;
}

/* SIDEBAR */

.admin-sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 100;
    width: var(--admin-sidebar-width);
    display: flex;
    flex-direction: column;
    background:
        radial-gradient(
            circle at 20% 0%,
            rgba(37,99,235,.17),
            transparent 270px
        ),
        linear-gradient(
            180deg,
            var(--admin-sidebar-bg-2),
            var(--admin-sidebar-bg)
        );
    border-right: 1px solid var(--admin-sidebar-border);
    box-shadow: 10px 0 35px rgba(15,23,42,.09);
}

.admin-sidebar-brand {
    padding: 22px 18px 20px;
    border-bottom: 1px solid var(--admin-sidebar-border);
}

.admin-sidebar-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #fff;
    text-decoration: none;
}

.admin-sidebar-logo-mark {
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background:
        linear-gradient(
            145deg,
            #60a5fa,
            #2563eb
        );
    color: #fff;
    font-size: 22px;
    font-weight: 900;
    box-shadow:
        0 8px 20px rgba(37,99,235,.28),
        inset 0 1px 0 rgba(255,255,255,.25);
}

.admin-sidebar-logo-text {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.admin-sidebar-logo-text strong {
    color: #fff;
    font-size: 21px;
    line-height: 1.05;
    letter-spacing: -.025em;
}

.admin-sidebar-logo-text span {
    margin-top: 4px;
    color: #7890ad;
    font-size: 11px;
    font-weight: 600;
}

.admin-sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 18px 12px;
}

.admin-sidebar-link {
    position: relative;
    display: flex;
    align-items: center;
    gap: 13px;
    min-height: 46px;
    padding: 0 13px;
    border-radius: 11px;
    color: var(--admin-sidebar-text);
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    transition:
        color .16s ease,
        background .16s ease,
        transform .16s ease;
}

.admin-sidebar-link:hover {
    color: #fff;
    background: rgba(255,255,255,.06);
    transform: translateX(2px);
}

.admin-sidebar-link.active {
    color: #fff;
    background:
        linear-gradient(
            135deg,
            #2563eb,
            #3b82f6
        );
    box-shadow:
        0 9px 22px rgba(37,99,235,.28),
        inset 0 1px 0 rgba(255,255,255,.18);
}

.admin-sidebar-link.active::before {
    content: "";
    position: absolute;
    left: -12px;
    width: 3px;
    height: 25px;
    border-radius: 0 4px 4px 0;
    background: #60a5fa;
}

.admin-sidebar-icon {
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.admin-sidebar-icon svg {
    width: 19px;
    height: 19px;
    fill: currentColor;
}

/* BOTTOM USER */

.admin-sidebar-bottom {
    margin-top: auto;
    padding: 15px 12px 18px;
    border-top: 1px solid var(--admin-sidebar-border);
}

.admin-sidebar-user {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 9px 15px;
}

.admin-sidebar-avatar {
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #2563eb;
    color: #fff;
    font-weight: 900;
    box-shadow: 0 5px 15px rgba(37,99,235,.3);
}

.admin-sidebar-user-info {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.admin-sidebar-user-info strong {
    overflow: hidden;
    color: #f8fafc;
    font-size: 12px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.admin-sidebar-user-info span {
    margin-top: 2px;
    color: var(--admin-sidebar-muted);
    font-size: 10px;
}

.admin-sidebar-logout {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 43px;
    padding: 0 11px;
    border-radius: 9px;
    color: #94a3b8;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    transition: .16s ease;
}

.admin-sidebar-logout:hover {
    color: #fff;
    background: rgba(239,68,68,.1);
}

/* RIGHT SIDE */

.admin-main {
    min-height: 100vh;
    margin-left: var(--admin-sidebar-width);
}

.admin-topbar {
    position: sticky;
    top: 0;
    z-index: 50;
    min-height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 30px;
    background: rgba(255,255,255,.91);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--admin-border);
}

.admin-topbar-left {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--admin-muted);
    font-size: 13px;
}

.admin-topbar-left strong {
    color: var(--admin-text);
}

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

.admin-topbar-admin {
    display: flex;
    align-items: center;
    gap: 9px;
}

.admin-topbar-avatar {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #eef4ff;
    color: #2563eb;
    font-weight: 900;
}

.admin-topbar-name {
    display: flex;
    flex-direction: column;
}

.admin-topbar-name strong {
    color: #0f172a;
    font-size: 12px;
}

.admin-topbar-name span {
    margin-top: 2px;
    color: #94a3b8;
    font-size: 10px;
}

.admin-content {
    padding: 31px;
}

.admin-content-container {
    width: 100%;
    max-width: 1500px;
    margin: 0 auto;
}

/* PAGE HEADER */

.admin-modern-page-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 25px;
    margin-bottom: 25px;
}

.admin-modern-eyebrow {
    margin-bottom: 6px;
    color: #1d4ed8;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.admin-modern-title {
    margin: 0;
    color: #0f172a;
    font-size: clamp(27px, 3vw, 37px);
    line-height: 1.08;
    letter-spacing: -.045em;
}

.admin-modern-subtitle {
    max-width: 750px;
    margin: 8px 0 0;
    color: #64748b;
    font-size: 14px;
    line-height: 1.6;
}

/* MODERN CARDS */

.admin-modern-card {
    border: 1px solid var(--admin-border);
    border-radius: 16px;
    background: var(--admin-card-bg);
    box-shadow:
        0 8px 30px rgba(15,23,42,.04),
        0 1px 2px rgba(15,23,42,.03);
}

.admin-modern-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 19px 21px;
    border-bottom: 1px solid #edf0f4;
}

.admin-modern-card-head h2 {
    margin: 0;
    color: #0f172a;
    font-size: 16px;
    letter-spacing: -.02em;
}

.admin-modern-card-head p {
    margin: 4px 0 0;
    color: #64748b;
    font-size: 12px;
}

/* MOBILE */

.admin-mobile-bar {
    display: none;
}

.admin-sidebar-overlay {
    display: none;
}

@media (max-width: 900px) {

    :root {
        --admin-sidebar-width: 258px;
    }

    .admin-sidebar {
        transform: translateX(-102%);
        transition: transform .22s ease;
    }

    body.admin-menu-open .admin-sidebar {
        transform: translateX(0);
    }

    .admin-sidebar-overlay {
        position: fixed;
        inset: 0;
        z-index: 90;
        background: rgba(15,23,42,.48);
        backdrop-filter: blur(2px);
    }

    body.admin-menu-open .admin-sidebar-overlay {
        display: block;
    }

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

    .admin-mobile-bar {
        position: sticky;
        top: 0;
        z-index: 80;
        min-height: 58px;
        display: flex;
        align-items: center;
        gap: 13px;
        padding: 0 17px;
        background: rgba(255,255,255,.95);
        border-bottom: 1px solid #e5eaf1;
        backdrop-filter: blur(14px);
    }

    .admin-mobile-menu-button {
        width: 37px;
        height: 37px;
        border: 1px solid #dbe2ea;
        border-radius: 9px;
        background: #fff;
        color: #0f172a;
        font-size: 19px;
        cursor: pointer;
    }

    .admin-topbar {
        display: none;
    }

    .admin-content {
        padding: 20px 15px 30px;
    }

    .admin-modern-page-head {
        flex-direction: column;
    }
}


/* =========================================================
   INFYVY ADMIN V3 - DASHBOARD
   ========================================================= */

.admin-dashboard-live {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 12px 16px;
    border: 1px solid #bbf7d0;
    border-radius: 999px;
    background: #f0fdf4;
}

.admin-dashboard-live-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 0 5px rgba(34,197,94,.12);
}

.admin-dashboard-live > div {
    display: flex;
    flex-direction: column;
}

.admin-dashboard-live strong {
    color: #166534;
    font-size: 12px;
}

.admin-dashboard-live span {
    margin-top: 2px;
    color: #65a30d;
    font-size: 10px;
}

.admin-modern-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.admin-modern-stat-card {
    display: flex;
    align-items: center;
    gap: 15px;
    min-height: 126px;
    padding: 19px;
    border: 1px solid #e5eaf1;
    border-radius: 16px;
    background: #fff;
    box-shadow:
        0 8px 30px rgba(15,23,42,.035),
        0 1px 2px rgba(15,23,42,.025);
}

.admin-modern-stat-icon {
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    font-size: 16px;
    font-weight: 900;
}

.admin-modern-stat-icon.blue {
    background: #eaf2ff;
    color: #2563eb;
}

.admin-modern-stat-icon.green {
    background: #eafbf3;
    color: #059669;
}

.admin-modern-stat-icon.purple {
    background: #f3eafe;
    color: #7c3aed;
}

.admin-modern-stat-icon.orange {
    background: #fff3df;
    color: #d97706;
}

.admin-modern-stat-label {
    color: #475569;
    font-size: 12px;
    font-weight: 800;
}

.admin-modern-stat-number {
    margin-top: 3px;
    color: #0f172a;
    font-size: 27px;
    line-height: 1;
    font-weight: 900;
    letter-spacing: -.04em;
}

.admin-modern-stat-meta {
    margin-top: 7px;
    color: #94a3b8;
    font-size: 11px;
}

.admin-dashboard-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin-top: 18px;
}

.admin-dashboard-plan-list {
    padding: 8px 21px 18px;
}

.admin-dashboard-plan-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 51px;
    border-bottom: 1px solid #edf0f4;
}

.admin-dashboard-plan-row:last-child {
    border-bottom: 0;
}

.admin-dashboard-plan-name {
    display: flex;
    align-items: center;
    gap: 9px;
    color: #334155;
    font-size: 13px;
    font-weight: 700;
}

.admin-plan-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
}

.admin-plan-dot.free {
    background: #94a3b8;
}

.admin-plan-dot.pro {
    background: #2563eb;
}

.admin-plan-dot.scale {
    background: #7c3aed;
}

.admin-dashboard-plan-row strong {
    color: #0f172a;
    font-size: 15px;
}

.admin-dashboard-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 17px 20px 20px;
}

.admin-dashboard-action {
    display: flex;
    align-items: center;
    gap: 11px;
    min-height: 70px;
    padding: 12px;
    border: 1px solid #e8ecf2;
    border-radius: 12px;
    color: inherit;
    text-decoration: none;
    transition:
        border-color .16s ease,
        box-shadow .16s ease,
        transform .16s ease;
}

.admin-dashboard-action:hover {
    transform: translateY(-1px);
    border-color: #c9d7f2;
    box-shadow: 0 6px 18px rgba(15,23,42,.05);
}

.admin-dashboard-action-icon {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: #eef4ff;
    color: #2563eb;
    font-size: 14px;
    font-weight: 900;
}

.admin-dashboard-action > div {
    display: flex;
    flex-direction: column;
}

.admin-dashboard-action strong {
    color: #0f172a;
    font-size: 12px;
}

.admin-dashboard-action span:not(.admin-dashboard-action-icon) {
    margin-top: 3px;
    color: #94a3b8;
    font-size: 10px;
}

.admin-dashboard-tables {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin-top: 18px;
}

.admin-modern-link {
    color: #2563eb;
    text-decoration: none;
    font-size: 11px;
    font-weight: 800;
}

.admin-modern-table-wrap {
    overflow-x: auto;
}

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

.admin-modern-table th {
    padding: 12px 16px;
    background: #f8fafc;
    color: #64748b;
    text-align: left;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .03em;
    text-transform: uppercase;
}

.admin-modern-table td {
    padding: 13px 16px;
    border-top: 1px solid #edf0f4;
    color: #475569;
    font-size: 12px;
    vertical-align: middle;
}

.admin-modern-table tbody tr:hover td {
    background: #fbfdff;
}

.admin-modern-user-cell {
    display: flex;
    align-items: center;
    gap: 10px;
}

.admin-modern-avatar {
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: #eef4ff;
    color: #2563eb;
    font-size: 12px;
    font-weight: 900;
}

.admin-modern-user-cell > div:last-child {
    display: flex;
    flex-direction: column;
}

.admin-modern-user-cell strong {
    color: #0f172a;
    font-size: 12px;
}

.admin-modern-user-cell span {
    margin-top: 2px;
    color: #94a3b8;
    font-size: 10px;
}

.admin-plan-badge {
    display: inline-flex;
    padding: 5px 8px;
    border-radius: 999px;
    background: #eef4ff;
    color: #2563eb;
    font-size: 9px;
    font-weight: 900;
}

.admin-table-action-cell {
    text-align: right;
}

.admin-small-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 31px;
    padding: 0 10px;
    border-radius: 8px;
    background: #2563eb;
    color: #fff;
    text-decoration: none;
    font-size: 10px;
    font-weight: 800;
}

.admin-small-button:hover {
    background: #1d4ed8;
}

@media (max-width: 1150px) {
    .admin-modern-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .admin-dashboard-tables {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    .admin-modern-stats,
    .admin-dashboard-grid {
        grid-template-columns: 1fr;
    }

    .admin-dashboard-actions {
        grid-template-columns: 1fr;
    }

    .admin-dashboard-live {
        border-radius: 14px;
    }
}


/* =========================================================
   INFYVY ADMIN V3 - USERS
   ========================================================= */

.admin-users-head-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.admin-users-create-button {
    min-height: 43px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 0 17px;
    border-radius: 10px;
    background: linear-gradient(
        135deg,
        #2563eb,
        #3b82f6
    );
    color: #fff;
    text-decoration: none;
    font-size: 12px;
    font-weight: 800;
    box-shadow: 0 8px 20px rgba(37,99,235,.18);
    transition: .16s ease;
}

.admin-users-create-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(37,99,235,.25);
}

.admin-users-create-button span {
    font-size: 19px;
    font-weight: 400;
    line-height: 1;
}


/* CARD */

.admin-users-card {
    margin-top: 19px;
    overflow: hidden;
}

.admin-users-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 20px 21px;
    border-bottom: 1px solid #edf0f4;
}

.admin-users-toolbar h2 {
    margin: 0;
    color: #0f172a;
    font-size: 17px;
    letter-spacing: -.02em;
}

.admin-users-toolbar p {
    margin: 5px 0 0;
    color: #64748b;
    font-size: 11px;
}


/* SEARCH */

.admin-users-search {
    display: flex;
    align-items: center;
    gap: 8px;
}

.admin-users-search-box {
    width: 300px;
    min-height: 40px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 11px;
    border: 1px solid #dce3ec;
    border-radius: 9px;
    background: #fff;
    transition:
        border .15s ease,
        box-shadow .15s ease;
}

.admin-users-search-box:focus-within {
    border-color: #93b4f5;
    box-shadow: 0 0 0 3px rgba(37,99,235,.08);
}

.admin-users-search-icon {
    color: #94a3b8;
    font-size: 17px;
}

.admin-users-search-box input {
    width: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    color: #0f172a;
    font: inherit;
    font-size: 11px;
}

.admin-users-search-box input::placeholder {
    color: #94a3b8;
}

.admin-users-search-button,
.admin-users-reset-button {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 14px;
    border-radius: 9px;
    font-size: 11px;
    font-weight: 800;
    cursor: pointer;
    text-decoration: none;
}

.admin-users-search-button {
    border: 1px solid #2563eb;
    background: #2563eb;
    color: #fff;
}

.admin-users-search-button:hover {
    background: #1d4ed8;
}

.admin-users-reset-button {
    border: 1px solid #dce3ec;
    background: #fff;
    color: #475569;
}

.admin-users-reset-button:hover {
    background: #f8fafc;
}


/* SEARCH RESULT */

.admin-users-search-result {
    padding: 11px 21px;
    background: #f8fafc;
    border-bottom: 1px solid #edf0f4;
    color: #64748b;
    font-size: 11px;
}

.admin-users-search-result strong {
    color: #0f172a;
}

.admin-users-search-result span {
    margin-left: 8px;
    padding: 3px 7px;
    border-radius: 999px;
    background: #eaf2ff;
    color: #2563eb;
    font-size: 9px;
    font-weight: 800;
}


/* USER CELL */

.admin-users-person {
    display: flex;
    align-items: center;
    gap: 11px;
    min-width: 195px;
}

.admin-users-avatar {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    display: grid;
    place-items: center;
    border-radius: 11px;
    background:
        linear-gradient(
            145deg,
            #eaf2ff,
            #dbeafe
        );
    color: #2563eb;
    font-size: 13px;
    font-weight: 900;
}

.admin-users-person-text {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.admin-users-person-text strong {
    max-width: 210px;
    overflow: hidden;
    color: #0f172a;
    font-size: 12px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.admin-users-person-text span {
    max-width: 220px;
    overflow: hidden;
    margin-top: 3px;
    color: #94a3b8;
    font-size: 10px;
    text-overflow: ellipsis;
    white-space: nowrap;
}


/* ROLE */

.admin-users-role,
.admin-users-plan {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 67px;
    padding: 5px 9px;
    border-radius: 999px;
    font-size: 9px;
    font-weight: 900;
}

.admin-users-role.admin {
    background: #f3e8ff;
    color: #7e22ce;
}

.admin-users-role.user {
    background: #eaf2ff;
    color: #2563eb;
}

.admin-users-role.accountant {
    background: #fff4e5;
    color: #c2410c;
}


/* SUBSCRIPTION */

.admin-users-plan.free {
    background: #f1f5f9;
    color: #64748b;
}

.admin-users-plan.pro {
    background: #eaf2ff;
    color: #1d4ed8;
}

.admin-users-plan.scale {
    background: #ecfdf5;
    color: #047857;
}


/* INVOICES */

.admin-users-invoices {
    display: flex;
    flex-direction: column;
}

.admin-users-invoices strong {
    color: #0f172a;
    font-size: 13px;
}

.admin-users-invoices span {
    margin-top: 2px;
    color: #94a3b8;
    font-size: 9px;
}


/* DATE */

.admin-users-date {
    white-space: nowrap;
    color: #64748b;
    font-size: 10px;
}


/* STATUS */

.admin-users-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #15803d;
    font-size: 10px;
    font-weight: 800;
}

.admin-users-status > span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 0 3px rgba(34,197,94,.1);
}


/* MANAGE */

.admin-users-actions-cell {
    text-align: right;
}

.admin-users-manage-button {
    min-height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 12px;
    border: 1px solid #d7e2f3;
    border-radius: 8px;
    background: #fff;
    color: #2563eb;
    text-decoration: none;
    font-size: 10px;
    font-weight: 800;
    transition: .15s ease;
}

.admin-users-manage-button:hover {
    border-color: #2563eb;
    background: #2563eb;
    color: #fff;
}


/* EMPTY */

.admin-users-empty {
    padding: 55px 20px !important;
    text-align: center;
}

.admin-users-empty-icon {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    margin: 0 auto 10px;
    border-radius: 14px;
    background: #eef4ff;
    color: #2563eb;
    font-weight: 900;
}

.admin-users-empty strong {
    display: block;
    color: #0f172a;
    font-size: 13px;
}

.admin-users-empty span {
    display: block;
    margin-top: 5px;
    color: #94a3b8;
    font-size: 10px;
}


/* FOOTER */

.admin-users-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 13px 20px;
    border-top: 1px solid #edf0f4;
    background: #fbfcfe;
    color: #64748b;
    font-size: 10px;
}

.admin-users-footer strong {
    color: #0f172a;
}


/* RESPONSIVE */

@media (max-width: 1000px) {

    .admin-users-toolbar {
        align-items: flex-start;
        flex-direction: column;
    }

    .admin-users-search {
        width: 100%;
    }

    .admin-users-search-box {
        width: auto;
        flex: 1;
    }
}

@media (max-width: 650px) {

    .admin-users-head-actions {
        width: 100%;
    }

    .admin-users-create-button {
        width: 100%;
    }

    .admin-users-search {
        align-items: stretch;
        flex-direction: column;
    }

    .admin-users-search-box {
        width: 100%;
    }

    .admin-users-footer {
        align-items: flex-start;
        flex-direction: column;
    }
}


/* =========================================================
   INFYVY ADMIN V3 - INVOICES
   ========================================================= */

.admin-invoice-live {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #64748b;
    font-size: 10px;
    font-weight: 800;
}

.admin-invoice-live > span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 0 3px rgba(34,197,94,.1);
}

.admin-invoice-production {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 11px 15px;
    border: 1px solid #bbf7d0;
    border-radius: 12px;
    background: #f0fdf4;
}

.admin-invoice-production-dot {
    width: 10px;
    height: 10px;
    flex: 0 0 10px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 0 5px rgba(34,197,94,.11);
}

.admin-invoice-production > div {
    display: flex;
    flex-direction: column;
}

.admin-invoice-production strong {
    color: #166534;
    font-size: 11px;
}

.admin-invoice-production span {
    margin-top: 2px;
    color: #65a30d;
    font-size: 9px;
}

.admin-invoice-total-summary {
    min-width: 0;
}

.admin-invoice-total-summary > strong {
    display: block;
    margin-top: 5px;
    color: #0f172a;
    font-size: 20px;
}

.admin-invoice-currency-total {
    display: flex;
    align-items: baseline;
    gap: 7px;
    margin-top: 4px;
}

.admin-invoice-currency-total span {
    color: #d97706;
    font-size: 9px;
    font-weight: 900;
}

.admin-invoice-currency-total strong {
    color: #0f172a;
    font-size: 15px;
}

.admin-invoice-filter-card {
    margin-top: 19px;
}

.admin-invoice-filter-active {
    display: inline-flex;
    align-items: center;
    padding: 5px 9px;
    border-radius: 999px;
    background: #eaf2ff;
    color: #2563eb;
    font-size: 9px;
    font-weight: 900;
}

.admin-invoice-filter-form {
    display: grid;
    grid-template-columns:
        minmax(260px, 2fr)
        minmax(155px, .7fr)
        minmax(155px, .7fr)
        auto;
    gap: 13px;
    align-items: end;
    padding: 18px 21px 21px;
}

.admin-invoice-filter-form label {
    display: block;
    margin-bottom: 6px;
    color: #64748b;
    font-size: 10px;
    font-weight: 800;
}

.admin-invoice-search-box {
    min-height: 41px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 11px;
    border: 1px solid #dce3ec;
    border-radius: 9px;
    background: #fff;
}

.admin-invoice-search-box:focus-within {
    border-color: #93b4f5;
    box-shadow: 0 0 0 3px rgba(37,99,235,.08);
}

.admin-invoice-search-box > span {
    color: #94a3b8;
    font-size: 17px;
}

.admin-invoice-search-box input {
    width: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    color: #0f172a;
    font-size: 11px;
}

.admin-invoice-date-field input {
    width: 100%;
    min-height: 41px;
    box-sizing: border-box;
    padding: 0 10px;
    border: 1px solid #dce3ec;
    border-radius: 9px;
    outline: 0;
    background: #fff;
    color: #334155;
    font-size: 11px;
}

.admin-invoice-filter-buttons {
    min-height: 41px;
    display: flex;
    align-items: stretch;
    gap: 7px;
}

.admin-invoice-apply,
.admin-invoice-reset {
    min-height: 41px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 14px;
    border-radius: 9px;
    font-size: 10px;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
    white-space: nowrap;
}

.admin-invoice-apply {
    border: 1px solid #2563eb;
    background: #2563eb;
    color: #fff;
}

.admin-invoice-reset {
    border: 1px solid #dce3ec;
    background: #fff;
    color: #475569;
}

.admin-invoices-list-card {
    margin-top: 19px;
    overflow: hidden;
}

.admin-invoice-register-count {
    padding: 5px 9px;
    border-radius: 999px;
    background: #f1f5f9;
    color: #475569;
    font-size: 9px;
    font-weight: 800;
}

.admin-invoice-number {
    min-width: 150px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.admin-invoice-document-icon {
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    display: grid;
    place-items: center;
    border-radius: 9px;
    background: #eaf2ff;
    color: #2563eb;
    font-size: 11px;
    font-weight: 900;
}

.admin-invoice-number > div {
    display: flex;
    flex-direction: column;
}

.admin-invoice-number strong {
    color: #0f172a;
    font-size: 11px;
}

.admin-invoice-number span:not(.admin-invoice-document-icon) {
    margin-top: 2px;
    color: #94a3b8;
    font-size: 9px;
}

.admin-invoice-user {
    color: #334155;
    font-size: 11px;
    font-weight: 700;
}

.admin-invoice-client {
    max-width: 220px;
    overflow: hidden;
    color: #475569;
    font-size: 11px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.admin-invoice-date {
    white-space: nowrap;
    color: #64748b;
    font-size: 10px;
}

.admin-invoice-tax {
    display: inline-flex;
    padding: 5px 8px;
    border-radius: 7px;
    background: #f1f5f9;
    color: #475569;
    font-size: 9px;
    font-weight: 800;
}

.admin-invoice-amount {
    white-space: nowrap;
    color: #0f172a;
    font-size: 11px;
}

.admin-invoice-empty {
    padding: 55px 20px !important;
    text-align: center;
}

.admin-invoice-empty-icon {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    margin: 0 auto 10px;
    border-radius: 13px;
    background: #eef4ff;
    color: #2563eb;
    font-weight: 900;
}

.admin-invoice-empty strong {
    display: block;
    color: #0f172a;
    font-size: 13px;
}

.admin-invoice-empty span {
    display: block;
    margin-top: 5px;
    color: #94a3b8;
    font-size: 10px;
}

.admin-invoice-table-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 13px 20px;
    border-top: 1px solid #edf0f4;
    background: #fbfcfe;
    color: #64748b;
    font-size: 10px;
}

.admin-invoice-table-footer strong {
    color: #0f172a;
}

@media (max-width: 1100px) {
    .admin-invoice-filter-form {
        grid-template-columns: 1fr 1fr;
    }

    .admin-invoice-search-field {
        grid-column: 1 / -1;
    }
}

@media (max-width: 650px) {
    .admin-invoice-filter-form {
        grid-template-columns: 1fr;
    }

    .admin-invoice-search-field {
        grid-column: auto;
    }

    .admin-invoice-filter-buttons {
        flex-direction: column;
    }

    .admin-invoice-production {
        width: 100%;
        box-sizing: border-box;
    }

    .admin-invoice-table-footer {
        align-items: flex-start;
        flex-direction: column;
    }
}


/* =========================================================
   INFYVY ADMIN V3 - PEPPOL
   ========================================================= */

.admin-peppol-top-status {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #64748b;
    font-size: 10px;
    font-weight: 800;
}

.admin-peppol-top-status > span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
}

.admin-peppol-top-status > span.online {
    background: #22c55e;
    box-shadow: 0 0 0 3px rgba(34,197,94,.1);
}

.admin-peppol-top-status > span.offline {
    background: #ef4444;
    box-shadow: 0 0 0 3px rgba(239,68,68,.1);
}


/* HEALTH */

.admin-peppol-health {
    min-width: 190px;
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 11px 15px;
    border-radius: 12px;
}

.admin-peppol-health.online {
    border: 1px solid #bbf7d0;
    background: #f0fdf4;
}

.admin-peppol-health.offline {
    border: 1px solid #fecaca;
    background: #fef2f2;
}

.admin-peppol-health-dot {
    width: 10px;
    height: 10px;
    flex: 0 0 10px;
    border-radius: 50%;
}

.admin-peppol-health.online .admin-peppol-health-dot {
    background: #22c55e;
    box-shadow: 0 0 0 5px rgba(34,197,94,.11);
}

.admin-peppol-health.offline .admin-peppol-health-dot {
    background: #ef4444;
    box-shadow: 0 0 0 5px rgba(239,68,68,.10);
}

.admin-peppol-health > div {
    display: flex;
    flex-direction: column;
}

.admin-peppol-health strong {
    font-size: 11px;
}

.admin-peppol-health.online strong {
    color: #166534;
}

.admin-peppol-health.offline strong {
    color: #991b1b;
}

.admin-peppol-health span:not(.admin-peppol-health-dot) {
    margin-top: 2px;
    color: #64748b;
    font-size: 9px;
}


/* GATEWAY GRID */

.admin-peppol-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 18px;
    margin-top: 19px;
}


/* API BADGE */

.admin-peppol-api-badge,
.admin-peppol-lock {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 5px 9px;
    border-radius: 999px;
    font-size: 8px;
    font-weight: 900;
    letter-spacing: .04em;
}

.admin-peppol-api-badge.online {
    background: #dcfce7;
    color: #15803d;
}

.admin-peppol-api-badge.offline {
    background: #fee2e2;
    color: #b91c1c;
}

.admin-peppol-lock {
    background: #eef4ff;
    color: #2563eb;
}


/* GATEWAY DETAILS */

.admin-peppol-details {
    padding: 4px 21px 15px;
}

.admin-peppol-detail-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    min-height: 64px;
    border-bottom: 1px solid #edf0f4;
}

.admin-peppol-detail-row:last-child {
    border-bottom: 0;
}

.admin-peppol-detail-row > div {
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.admin-peppol-detail-row > div > span {
    color: #94a3b8;
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.admin-peppol-detail-row > div > strong {
    max-width: 430px;
    overflow: hidden;
    margin-top: 4px;
    color: #0f172a;
    font-size: 11px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.admin-peppol-check {
    flex: 0 0 auto;
    display: inline-flex;
    padding: 5px 8px;
    border-radius: 999px;
    font-size: 8px;
    font-weight: 900;
}

.admin-peppol-check.ok {
    background: #dcfce7;
    color: #15803d;
}

.admin-peppol-check.bad {
    background: #fee2e2;
    color: #b91c1c;
}


/* SECURITY */

.admin-peppol-security {
    padding: 10px 20px 17px;
}

.admin-peppol-security-item {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    padding: 12px 0;
    border-bottom: 1px solid #edf0f4;
}

.admin-peppol-security-item:last-child {
    border-bottom: 0;
}

.admin-peppol-security-icon {
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: #eef4ff;
    color: #2563eb;
    font-size: 10px;
    font-weight: 900;
}

.admin-peppol-security-item strong {
    display: block;
    color: #0f172a;
    font-size: 11px;
}

.admin-peppol-security-item p {
    margin: 4px 0 0;
    color: #64748b;
    font-size: 9px;
    line-height: 1.5;
}


/* COMPANIES */

.admin-peppol-companies-card {
    margin-top: 19px;
    overflow: hidden;
}

.admin-peppol-summary-badges {
    display: flex;
    gap: 6px;
}

.admin-peppol-summary-badges span {
    padding: 5px 8px;
    border-radius: 999px;
    font-size: 8px;
    font-weight: 900;
}

.admin-peppol-summary-badges .pending {
    background: #fff7ed;
    color: #c2410c;
}

.admin-peppol-summary-badges .error {
    background: #fee2e2;
    color: #b91c1c;
}


/* COMPANY CELL */

.admin-peppol-company {
    min-width: 180px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.admin-peppol-company-avatar {
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: #eef4ff;
    color: #2563eb;
    font-size: 11px;
    font-weight: 900;
}

.admin-peppol-company > div:last-child {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.admin-peppol-company strong {
    max-width: 180px;
    overflow: hidden;
    color: #0f172a;
    font-size: 11px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.admin-peppol-company span {
    max-width: 190px;
    overflow: hidden;
    margin-top: 2px;
    color: #94a3b8;
    font-size: 9px;
    text-overflow: ellipsis;
    white-space: nowrap;
}


/* PARTICIPANT */

.admin-peppol-mono {
    white-space: nowrap;
    color: #334155;
    font-family:
        ui-monospace,
        SFMono-Regular,
        Menlo,
        Monaco,
        Consolas,
        monospace;
    font-size: 9px;
    font-weight: 700;
}

.admin-peppol-missing {
    color: #94a3b8;
    font-size: 9px;
}


/* UID */

.admin-peppol-uid {
    display: inline-flex;
    padding: 5px 8px;
    border-radius: 999px;
    background: #dcfce7;
    color: #15803d;
    font-size: 8px;
    font-weight: 900;
}

.admin-peppol-uid.missing {
    background: #f1f5f9;
    color: #64748b;
}


/* ENVIRONMENT */

.admin-peppol-environment {
    display: inline-flex;
    padding: 5px 8px;
    border-radius: 999px;
    font-size: 8px;
    font-weight: 900;
}

.admin-peppol-environment.production {
    background: #dcfce7;
    color: #15803d;
}

.admin-peppol-environment.test {
    background: #fef3c7;
    color: #b45309;
}


/* PERMISSIONS */

.admin-peppol-permission {
    display: inline-flex;
    min-width: 29px;
    justify-content: center;
    padding: 5px 7px;
    border-radius: 999px;
    font-size: 8px;
    font-weight: 900;
}

.admin-peppol-permission.yes {
    background: #dcfce7;
    color: #15803d;
}

.admin-peppol-permission.no {
    background: #f1f5f9;
    color: #64748b;
}


/* STATUS */

.admin-peppol-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    font-size: 9px;
    font-weight: 900;
}

.admin-peppol-status > span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
}

.admin-peppol-status.active {
    color: #15803d;
}

.admin-peppol-status.active > span {
    background: #22c55e;
}

.admin-peppol-status.pending {
    color: #b45309;
}

.admin-peppol-status.pending > span {
    background: #f59e0b;
}

.admin-peppol-status.suspended {
    color: #475569;
}

.admin-peppol-status.suspended > span {
    background: #94a3b8;
}

.admin-peppol-status.error {
    color: #b91c1c;
}

.admin-peppol-status.error > span {
    background: #ef4444;
}

.admin-peppol-status.none {
    color: #64748b;
}

.admin-peppol-status.none > span {
    background: #cbd5e1;
}


/* LAST CHECK */

.admin-peppol-last-check {
    white-space: nowrap;
    color: #64748b;
    font-size: 9px;
}

.admin-peppol-error-text {
    max-width: 110px;
    overflow: hidden;
    margin-top: 3px;
    color: #dc2626;
    font-size: 8px;
    text-overflow: ellipsis;
    white-space: nowrap;
}


/* TABLE FOOTER */

.admin-peppol-table-footer {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 13px 20px;
    border-top: 1px solid #edf0f4;
    background: #fbfcfe;
    color: #64748b;
    font-size: 9px;
}

.admin-peppol-table-footer span + span {
    position: relative;
    padding-left: 20px;
}

.admin-peppol-table-footer span + span::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: #cbd5e1;
}


/* EMPTY */

.admin-peppol-empty {
    padding: 50px 20px !important;
    text-align: center;
}

.admin-peppol-empty strong {
    display: block;
    color: #0f172a;
    font-size: 12px;
}

.admin-peppol-empty span {
    display: block;
    margin-top: 5px;
    color: #94a3b8;
    font-size: 9px;
}


/* RESPONSIVE */

@media (max-width: 1100px) {

    .admin-peppol-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 700px) {

    .admin-peppol-health {
        width: 100%;
        box-sizing: border-box;
    }

    .admin-peppol-table-footer {
        align-items: flex-start;
        flex-direction: column;
        gap: 7px;
    }

    .admin-peppol-table-footer span + span {
        padding-left: 0;
    }

    .admin-peppol-table-footer span + span::before {
        display: none;
    }
}
