/* =========================================================
   GLOBAL RESET
========================================================= */

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

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    background: #f6f8fc;
    color: #1f2937;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    line-height: 1.6;
}

a {
    color: #2563eb;
    text-decoration: none;
}

a:hover {
    color: #1d4ed8;
}

img {
    max-width: 100%;
}

button,
input,
select,
textarea {
    font: inherit;
}


/* =========================================================
   MAIN CONTAINER
========================================================= */

.container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

main.container {
    min-height: calc(100vh - 150px);
    padding-top: 36px;
    padding-bottom: 50px;
}


/* =========================================================
   NAVIGATION
========================================================= */

.navbar {
    background: #111827;
    color: #ffffff;
    border-bottom: 1px solid #1f2937;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.12);
}

.navbar .container {
    min-height: 72px;
    display: flex;
    align-items: center;
    gap: 32px;
}

.logo {
    flex-shrink: 0;
}

.logo a {
    color: #ffffff;
    font-size: 21px;
    font-weight: 800;
    letter-spacing: -0.4px;
}

.logo a:hover {
    color: #dbeafe;
}

.navbar nav {
    flex: 1;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 6px;
    list-style: none;
}

.nav-links a {
    display: inline-block;
    padding: 9px 13px;
    color: #d1d5db;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    transition: background 0.2s ease, color 0.2s ease;
}

.nav-links a:hover {
    background: #1f2937;
    color: #ffffff;
}

.user-menu {
    display: flex;
    align-items: center;
    gap: 14px;
    color: #e5e7eb;
    font-size: 14px;
}


/* =========================================================
   FOOTER
========================================================= */

.footer {
    padding: 22px 0;
    background: #ffffff;
    border-top: 1px solid #e5e7eb;
    color: #6b7280;
    text-align: center;
    font-size: 14px;
}


/* =========================================================
   TYPOGRAPHY
========================================================= */

h1,
h2,
h3,
h4 {
    color: #111827;
    line-height: 1.25;
}

h1 {
    font-size: 32px;
    letter-spacing: -0.7px;
}

h2 {
    font-size: 22px;
    margin-bottom: 14px;
}

h3 {
    font-size: 17px;
    margin-bottom: 10px;
}

p {
    margin-bottom: 12px;
}

.text-muted {
    color: #6b7280;
}


/* =========================================================
   PAGE HEADER
========================================================= */

.page-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 26px;
}

.page-header p {
    margin-top: 7px;
    margin-bottom: 0;
}

.section-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 22px;
}


/* =========================================================
   CARDS
========================================================= */

.card {
    margin-bottom: 24px;
    padding: 26px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    box-shadow: 0 7px 22px rgba(15, 23, 42, 0.05);
}

.form-card {
    max-width: 900px;
}

.danger-card {
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    border-color: #fecaca;
}

.danger-card h1 {
    color: #b91c1c;
    margin-bottom: 16px;
}


/* =========================================================
   BUTTONS
========================================================= */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 9px 17px;
    border: 1px solid transparent;
    border-radius: 9px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    transition:
        background 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease,
        transform 0.15s ease;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-primary {
    background: #2563eb;
    color: #ffffff;
}

.btn-primary:hover {
    background: #1d4ed8;
    color: #ffffff;
}

.btn-secondary {
    background: #eef2ff;
    border-color: #c7d2fe;
    color: #3730a3;
}

.btn-secondary:hover {
    background: #e0e7ff;
    color: #312e81;
}

.btn-success {
    background: #16a34a;
    color: #ffffff;
}

.btn-success:hover {
    background: #15803d;
    color: #ffffff;
}

.btn-danger {
    background: #dc2626;
    color: #ffffff;
}

.btn-danger:hover {
    background: #b91c1c;
    color: #ffffff;
}

.btn-light {
    background: #ffffff;
    border-color: #d1d5db;
    color: #374151;
}

.btn-light:hover {
    background: #f9fafb;
    color: #111827;
}

.btn-small {
    min-height: 34px;
    padding: 7px 11px;
    font-size: 12px;
    border-radius: 7px;
}

.btn-full {
    width: 100%;
}

.button-group {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.form-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 11px;
    margin-top: 24px;
}


/* =========================================================
   FORMS
========================================================= */

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

.form-group label {
    display: block;
    margin-bottom: 7px;
    color: #374151;
    font-size: 14px;
    font-weight: 700;
}

.form-control {
    width: 100%;
    min-height: 44px;
    padding: 10px 12px;
    background: #ffffff;
    border: 1px solid #d1d5db;
    border-radius: 9px;
    color: #111827;
    outline: none;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.form-control:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

textarea.form-control {
    resize: vertical;
}

select.form-control {
    cursor: pointer;
}

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

.help-text {
    display: block;
    margin-top: 6px;
    color: #6b7280;
    font-size: 13px;
}

.error-text {
    display: block;
    margin-top: 6px;
    color: #dc2626;
    font-size: 13px;
    font-weight: 600;
}

.search-form {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) 190px auto auto;
    gap: 10px;
    align-items: center;
}


/* =========================================================
   AUTHENTICATION PAGES
========================================================= */

.auth-container {
    display: flex;
    justify-content: center;
    padding: 30px 0;
}

.auth-card {
    width: 100%;
    max-width: 470px;
    padding: 34px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    box-shadow: 0 12px 40px rgba(15, 23, 42, 0.08);
}

.auth-card h1 {
    margin-bottom: 8px;
    font-size: 29px;
}

.auth-card > .text-muted {
    margin-bottom: 26px;
}

.auth-link {
    margin-top: 21px;
    margin-bottom: 0;
    text-align: center;
    color: #6b7280;
}


/* =========================================================
   ALERTS
========================================================= */

.alert {
    margin-bottom: 20px;
    padding: 13px 16px;
    border: 1px solid transparent;
    border-radius: 9px;
    font-size: 14px;
}

.alert p:last-child {
    margin-bottom: 0;
}

.alert-success {
    background: #ecfdf5;
    border-color: #a7f3d0;
    color: #065f46;
}

.alert-error,
.alert-danger {
    background: #fef2f2;
    border-color: #fecaca;
    color: #991b1b;
}

.alert-warning {
    background: #fffbeb;
    border-color: #fde68a;
    color: #92400e;
}

.alert-info {
    background: #eff6ff;
    border-color: #bfdbfe;
    color: #1e40af;
}


/* =========================================================
   DASHBOARD STATISTICS
========================================================= */

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

.status-stats {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.stat-card {
    min-height: 155px;
    padding: 21px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 13px;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.04);
}

.stat-label {
    display: block;
    margin-bottom: 12px;
    color: #6b7280;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-value {
    display: block;
    margin-bottom: 11px;
    color: #111827;
    font-size: 29px;
    line-height: 1.15;
}

.stat-card a,
.stat-card .text-muted {
    font-size: 13px;
}


/* =========================================================
   TABLES
========================================================= */

.table-responsive {
    width: 100%;
    overflow-x: auto;
}

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

.data-table th {
    padding: 12px 14px;
    background: #f9fafb;
    border-bottom: 1px solid #e5e7eb;
    color: #4b5563;
    text-align: left;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.data-table td {
    padding: 14px;
    border-bottom: 1px solid #eef2f7;
    color: #374151;
    vertical-align: middle;
    font-size: 14px;
}

.data-table tbody tr:hover {
    background: #fafcff;
}

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


/* =========================================================
   STATUS BADGES
========================================================= */

.status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 72px;
    padding: 5px 9px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
}

.status-draft {
    background: #f3f4f6;
    color: #4b5563;
}

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

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

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

.status-cancelled {
    background: #f3e8ff;
    color: #7e22ce;
}


/* =========================================================
   EMPTY STATE
========================================================= */

.empty-state {
    padding: 42px 20px;
    text-align: center;
}

.empty-state h2 {
    margin-bottom: 10px;
}

.empty-state p {
    max-width: 560px;
    margin: 0 auto 20px;
    color: #6b7280;
}

.empty-state .button-group {
    justify-content: center;
}


/* =========================================================
   DETAIL LIST
========================================================= */

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

.details-list > div {
    display: grid;
    grid-template-columns: 170px 1fr;
    gap: 20px;
    padding-bottom: 17px;
    border-bottom: 1px solid #eef2f7;
}

.details-list > div:last-child {
    padding-bottom: 0;
    border-bottom: none;
}

.details-list dt {
    color: #6b7280;
    font-size: 14px;
    font-weight: 700;
}

.details-list dd {
    color: #111827;
}


/* =========================================================
   INVOICE DETAILS
========================================================= */

.invoice-header {
    display: flex;
    justify-content: space-between;
    gap: 25px;
    padding-bottom: 24px;
    margin-bottom: 26px;
    border-bottom: 1px solid #e5e7eb;
}

.invoice-header h2 {
    margin-bottom: 7px;
}

.invoice-header p {
    margin-bottom: 4px;
    color: #6b7280;
}

.details-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.invoice-totals {
    width: min(430px, 100%);
    margin-top: 22px;
    margin-left: auto;
}

.invoice-totals p {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 9px 0;
    margin: 0;
}

.invoice-total {
    margin-top: 6px !important;
    padding-top: 14px !important;
    border-top: 2px solid #111827;
    color: #111827;
    font-size: 19px;
}

.invoice-notes {
    margin-top: 28px;
    padding-top: 22px;
    border-top: 1px solid #e5e7eb;
}


/* =========================================================
   CHECKBOXES
========================================================= */

input[type="checkbox"] {
    width: 17px;
    height: 17px;
    cursor: pointer;
    accent-color: #2563eb;
}


/* =========================================================
   RESPONSIVE DESIGN
========================================================= */

@media (max-width: 1000px) {
    .stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

    .search-form {
        grid-template-columns: 1fr 180px;
    }

    .navbar .container {
        flex-wrap: wrap;
        padding-top: 14px;
        padding-bottom: 14px;
    }

    .navbar nav {
        order: 3;
        flex-basis: 100%;
    }

    .nav-links {
        flex-wrap: wrap;
    }
}


@media (max-width: 720px) {
    .container {
        width: min(100% - 24px, 1180px);
    }

    main.container {
        padding-top: 24px;
    }

    h1 {
        font-size: 27px;
    }

    .page-header,
    .section-header,
    .invoice-header {
        flex-direction: column;
    }

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

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

    .search-form {
        grid-template-columns: 1fr;
    }

    .card,
    .auth-card {
        padding: 20px;
    }

    .details-list > div {
        grid-template-columns: 1fr;
        gap: 4px;
    }

    .navbar .container {
        gap: 14px;
    }

    .user-menu {
        margin-left: auto;
    }

    .nav-links {
        gap: 3px;
    }

    .nav-links a {
        padding: 8px 9px;
        font-size: 13px;
    }

    .button-group,
    .form-actions {
        align-items: stretch;
    }

    .button-group .btn,
    .form-actions .btn,
    .button-group form,
    .button-group form button {
        width: 100%;
    }
}


@media (max-width: 460px) {
    .logo {
        width: 100%;
    }

    .user-menu {
        width: 100%;
        justify-content: space-between;
    }

    .auth-card {
        padding: 18px;
    }

    .stat-value {
        font-size: 26px;
    }
}
/* =========================================================
   ACCOUNT SETTINGS
========================================================= */

.settings-layout {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr);
    gap: 24px;
    align-items: start;
}

.company-logo-preview {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 190px;
    margin-bottom: 18px;
    padding: 20px;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
}

.company-logo-preview img {
    max-width: 100%;
    max-height: 150px;
    object-fit: contain;
}

.company-logo-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 180px;
    margin-bottom: 18px;
    background: #f9fafb;
    border: 2px dashed #d1d5db;
    border-radius: 12px;
    color: #6b7280;
    text-align: center;
}

.company-preview {
    display: flex;
    flex-direction: column;
    gap: 5px;
    color: #6b7280;
}

.company-preview img {
    width: 90px;
    height: 90px;
    margin-bottom: 10px;
    border-radius: 12px;
    object-fit: contain;
    border: 1px solid #e5e7eb;
}

.company-preview strong {
    color: #111827;
    font-size: 18px;
}

.settings-save-bar {
    padding: 20px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    box-shadow: 0 5px 18px rgba(15, 23, 42, 0.05);
}

.remove-logo-form {
    margin-top: 16px;
}

@media (max-width: 900px) {
    .settings-layout {
        grid-template-columns: 1fr;
    }
}
.hero-section {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 70px;
    min-height: 650px;
    padding: 80px 0;
}

.hero-content h1 {
    max-width: 700px;
    margin: 18px 0;
    font-size: clamp(42px, 6vw, 72px);
    line-height: 1.05;
    letter-spacing: -2px;
}

.hero-badge,
.section-label {
    display: inline-block;
    color: #2563eb;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero-description {
    max-width: 620px;
    margin-bottom: 28px;
    color: #64748b;
    font-size: 20px;
    line-height: 1.7;
}

.hero-buttons {
    margin-bottom: 18px;
}

.btn-large {
    padding: 14px 24px;
    font-size: 16px;
}

.hero-note {
    color: #64748b;
    font-size: 14px;
}

.preview-window {
    overflow: hidden;
    border: 1px solid #dbe3ee;
    border-radius: 20px;
    background: #ffffff;
    box-shadow: 0 30px 80px rgba(15, 23, 42, 0.14);
}

.preview-header {
    display: flex;
    gap: 7px;
    padding: 16px 20px;
    border-bottom: 1px solid #e5e7eb;
    background: #f8fafc;
}

.preview-header span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #cbd5e1;
}

.preview-content {
    padding: 30px;
}

.preview-title {
    margin-bottom: 24px;
    font-size: 22px;
    font-weight: 800;
}

.preview-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin-bottom: 20px;
}

.preview-stat {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 18px;
    border-radius: 12px;
    background: #f1f5f9;
}

.preview-stat span,
.preview-invoice span {
    color: #64748b;
    font-size: 13px;
}

.preview-invoice {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 18px 0;
    border-bottom: 1px solid #e5e7eb;
}

.preview-invoice div {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.landing-section {
    padding: 90px 0;
}

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

.section-heading h2 {
    margin: 12px 0;
    font-size: clamp(32px, 5vw, 48px);
    line-height: 1.15;
}

.section-heading p {
    color: #64748b;
    font-size: 18px;
}

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

.feature-card {
    padding: 30px;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    background: #ffffff;
}

.feature-card h3 {
    margin: 18px 0 10px;
    font-size: 20px;
}

.feature-card p {
    margin: 0;
    color: #64748b;
    line-height: 1.7;
}

.feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: #eff6ff;
    color: #2563eb;
    font-weight: 800;
}

.pricing-preview {
    border-radius: 24px;
    background: #f8fafc;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 420px));
    justify-content: center;
    gap: 26px;
}

.pricing-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 36px;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    background: #ffffff;
}

.featured-pricing {
    border: 2px solid #2563eb;
    box-shadow: 0 24px 60px rgba(37, 99, 235, 0.14);
}

.pricing-badge {
    position: absolute;
    top: -14px;
    right: 24px;
    padding: 7px 12px;
    border-radius: 999px;
    background: #2563eb;
    color: white;
    font-size: 12px;
    font-weight: 700;
}

.pricing-name {
    font-size: 20px;
    font-weight: 800;
}

.pricing-price {
    display: flex;
    align-items: baseline;
    gap: 5px;
    margin: 20px 0;
}

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

.pricing-price span {
    color: #64748b;
}

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

.pricing-features li {
    padding: 10px 0;
    color: #475569;
}

.pricing-features li::before {
    content: "✓";
    margin-right: 10px;
    color: #16a34a;
    font-weight: 800;
}

.pricing-button {
    width: 100%;
    text-align: center;
}

.cta-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    margin: 90px 0;
    padding: 50px;
    border-radius: 22px;
    background: #0f172a;
    color: white;
}

.cta-section h2 {
    margin: 0 0 10px;
    font-size: 34px;
}

.cta-section p {
    margin: 0;
    color: #cbd5e1;
}

@media (max-width: 900px) {
    .hero-section {
        grid-template-columns: 1fr;
        min-height: auto;
        padding: 60px 0;
    }

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

    .pricing-grid {
        grid-template-columns: 1fr;
        padding: 0 20px;
    }

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

@media (max-width: 600px) {
    .hero-content h1 {
        font-size: 42px;
    }

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

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

    .cta-section {
        padding: 30px;
    }
}
.pricing-page-header {
    max-width: 760px;
    margin: 0 auto;
    padding: 80px 0 50px;
    text-align: center;
}

.pricing-page-header h1 {
    margin: 14px 0;
    font-size: clamp(38px, 6vw, 58px);
    line-height: 1.1;
}

.pricing-page-header p {
    color: #64748b;
    font-size: 19px;
}

.pricing-page-grid {
    margin-bottom: 100px;
}

.pricing-card button:disabled {
    cursor: not-allowed;
    opacity: 0.7;
}

.pricing-faq {
    padding: 40px 0 100px;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
}

.faq-card {
    padding: 28px;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    background: #ffffff;
}

.faq-card h3 {
    margin-top: 0;
    margin-bottom: 12px;
}

.faq-card p {
    margin: 0;
    color: #64748b;
    line-height: 1.7;
}

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


/* MOBILE APP-LIKE EXPERIENCE */
.nav-toggle{display:none;width:44px;height:44px;margin-left:auto;padding:10px;border:1px solid #374151;border-radius:10px;background:#1f2937;cursor:pointer}.nav-toggle span{display:block;height:2px;margin:5px 0;border-radius:999px;background:#fff;transition:transform .2s ease,opacity .2s ease}.nav-toggle[aria-expanded="true"] span:nth-child(1){transform:translateY(7px) rotate(45deg)}.nav-toggle[aria-expanded="true"] span:nth-child(2){opacity:0}.nav-toggle[aria-expanded="true"] span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}.table-responsive{-webkit-overflow-scrolling:touch}input,select,textarea{max-width:100%}
@media(max-width:720px){body.menu-open{overflow:hidden}.navbar{position:sticky;top:0;z-index:1000}.navbar .container{position:relative;min-height:64px;flex-wrap:wrap;padding-top:10px;padding-bottom:10px}.logo{width:auto}.logo a{font-size:18px}.nav-toggle{display:block}.primary-navigation{display:none;order:4;flex:0 0 100%;width:100%;padding-top:10px}.primary-navigation.is-open{display:block}.nav-links{display:grid;grid-template-columns:1fr;gap:6px;padding:8px;border:1px solid #374151;border-radius:12px;background:#111827}.nav-links a{display:block;width:100%;min-height:44px;padding:11px 12px;font-size:15px}.user-menu{order:3;width:100%;margin-left:0;padding-top:6px;justify-content:space-between}.user-menu .username{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}main.container{min-height:calc(100vh - 130px);padding-bottom:32px}.page-header>*,.section-header>*{width:100%}.btn{min-height:44px;justify-content:center}.card{margin-bottom:16px;border-radius:12px}.table-responsive{width:calc(100vw - 24px);margin-right:-12px;padding-right:12px;overflow-x:auto}table{min-width:680px}.auth-wrapper{padding:20px 0}.hero-section,.pricing-page-header{padding-top:40px}.hero-content h1{font-size:clamp(34px,11vw,44px)}.hero-actions{align-items:stretch;flex-direction:column}.hero-actions .btn{width:100%}.pricing-card,.cta-section{padding:24px}.pricing-price strong{font-size:40px}}
@media(max-width:420px){.container{width:min(100% - 18px,1180px)}h1{font-size:25px}.card,.auth-card{padding:16px}.form-actions,.button-group{gap:10px}}
