/* =========================================================
   MODERNOZV - Professional Financial UI
   assets/css/app.css
   RTL / Persian / Responsive
   ========================================================= */

/* -------------------------
   1. Root / Variables
------------------------- */

:root {
    --primary: #0f4c5c;
    --primary-dark: #083642;
    --primary-light: #176b7e;

    --secondary: #16a6a0;
    --secondary-dark: #10837e;
    --secondary-light: #42c7c0;

    --accent: #f0b429;
    --accent-dark: #d99a16;

    --success: #16a34a;
    --success-bg: #ecfdf3;

    --danger: #dc2626;
    --danger-bg: #fef2f2;

    --warning: #d97706;
    --warning-bg: #fffbeb;

    --info: #2563eb;
    --info-bg: #eff6ff;

    --dark: #102a43;
    --text: #243b53;
    --text-light: #627d98;
    --muted: #829ab1;

    --white: #ffffff;
    --bg: #f5f8fb;
    --bg-soft: #eef5f7;

    --border: #d9e2ec;
    --border-light: #e8eef3;

    --shadow-sm: 0 2px 8px rgba(16, 42, 67, 0.06);
    --shadow: 0 8px 30px rgba(16, 42, 67, 0.08);
    --shadow-lg: 0 18px 55px rgba(16, 42, 67, 0.13);

    --radius-sm: 8px;
    --radius: 14px;
    --radius-lg: 22px;
    --radius-xl: 30px;

    --container: 1180px;

    --font: Tahoma, Arial, sans-serif;
}


/* -------------------------
   2. Reset
------------------------- */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    direction: rtl;
}

body {
    margin: 0;
    padding: 0;

    background: var(--bg);
    color: var(--text);

    font-family: var(--font);
    font-size: 15px;
    line-height: 1.9;

    direction: rtl;
    text-align: right;

    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body,
button,
input,
textarea,
select {
    font-family: var(--font);
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea,
select {
    font-size: inherit;
}

button {
    cursor: pointer;
}

ul,
ol {
    margin: 0;
    padding: 0;
}

p,
h1,
h2,
h3,
h4,
h5,
h6 {
    margin-top: 0;
}

::selection {
    background: rgba(22, 166, 160, 0.2);
}


/* -------------------------
   3. Global Layout
------------------------- */

.container {
    width: min(100% - 32px, var(--container));
    margin-inline: auto;
}

.container-sm {
    width: min(100% - 32px, 760px);
    margin-inline: auto;
}

.container-xs {
    width: min(100% - 32px, 540px);
    margin-inline: auto;
}

.section {
    padding: 80px 0;
}

.section-sm {
    padding: 50px 0;
}

.text-center {
    text-align: center !important;
}

.text-right {
    text-align: right !important;
}

.text-left {
    text-align: left !important;
}

.hidden {
    display: none !important;
}

.w-100 {
    width: 100% !important;
}

.mt-0 { margin-top: 0 !important; }
.mt-1 { margin-top: 8px !important; }
.mt-2 { margin-top: 16px !important; }
.mt-3 { margin-top: 24px !important; }
.mt-4 { margin-top: 32px !important; }

.mb-0 { margin-bottom: 0 !important; }
.mb-1 { margin-bottom: 8px !important; }
.mb-2 { margin-bottom: 16px !important; }
.mb-3 { margin-bottom: 24px !important; }
.mb-4 { margin-bottom: 32px !important; }


/* -------------------------
   4. Typography
------------------------- */

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--dark);
    font-weight: 800;
    line-height: 1.5;
}

h1 {
    font-size: clamp(28px, 4vw, 48px);
}

h2 {
    font-size: clamp(24px, 3vw, 36px);
}

h3 {
    font-size: 22px;
}

h4 {
    font-size: 18px;
}

p {
    color: var(--text-light);
}

.text-primary {
    color: var(--primary) !important;
}

.text-secondary {
    color: var(--secondary) !important;
}

.text-success {
    color: var(--success) !important;
}

.text-danger {
    color: var(--danger) !important;
}

.text-muted {
    color: var(--muted) !important;
}


/* -------------------------
   5. Header
------------------------- */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;

    background: rgba(255, 255, 255, 0.94);
    border-bottom: 1px solid rgba(217, 226, 236, 0.8);

    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.header-inner {
    min-height: 76px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;

    color: var(--dark);
    font-size: 19px;
    font-weight: 900;

    white-space: nowrap;
}

.logo-icon {
    width: 42px;
    height: 42px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border-radius: 13px;

    color: var(--white);

    background:
        linear-gradient(
            135deg,
            var(--primary),
            var(--secondary)
        );

    box-shadow:
        0 8px 20px rgba(15, 76, 92, 0.2);
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
}

.logo-text small {
    color: var(--muted);
    font-size: 10px;
    font-weight: 500;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 6px;
}

.main-nav a {
    position: relative;

    padding: 9px 13px;

    color: var(--text-light);
    font-size: 13px;
    font-weight: 600;

    border-radius: 9px;

    transition:
        color .2s ease,
        background .2s ease;
}

.main-nav a:hover {
    color: var(--primary);
    background: var(--bg-soft);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 9px;
}


/* -------------------------
   6. Buttons
------------------------- */

.btn {
    min-height: 44px;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    padding: 10px 19px;

    border: 1px solid transparent;
    border-radius: 11px;

    font-size: 14px;
    font-weight: 800;

    transition:
        transform .2s ease,
        box-shadow .2s ease,
        background .2s ease,
        border-color .2s ease;

    user-select: none;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn:active {
    transform: translateY(0);
}

.btn-primary {
    color: var(--white);
    background:
        linear-gradient(
            135deg,
            var(--primary),
            var(--primary-light)
        );

    box-shadow:
        0 8px 20px rgba(15, 76, 92, 0.2);
}

.btn-primary:hover {
    box-shadow:
        0 12px 26px rgba(15, 76, 92, 0.28);
}

.btn-secondary {
    color: var(--white);
    background:
        linear-gradient(
            135deg,
            var(--secondary),
            var(--secondary-light)
        );

    box-shadow:
        0 8px 20px rgba(22, 166, 160, 0.18);
}

.btn-secondary:hover {
    box-shadow:
        0 12px 26px rgba(22, 166, 160, 0.26);
}

.btn-outline {
    color: var(--primary);
    background: var(--white);
    border-color: var(--border);
}

.btn-outline:hover {
    background: var(--bg-soft);
    border-color: var(--secondary);
}

.btn-danger {
    color: var(--white);
    background: var(--danger);
}

.btn-success {
    color: var(--white);
    background: var(--success);
}

.btn-warning {
    color: var(--white);
    background: var(--warning);
}

.btn-lg {
    min-height: 52px;
    padding: 13px 25px;
    border-radius: 13px;
    font-size: 15px;
}

.btn-sm {
    min-height: 36px;
    padding: 7px 12px;
    border-radius: 8px;
    font-size: 12px;
}

.btn-block {
    width: 100%;
}


/* -------------------------
   7. Hero
------------------------- */

.hero {
    position: relative;
    overflow: hidden;

    padding: 75px 0 85px;

    background:
        radial-gradient(
            circle at 85% 20%,
            rgba(22, 166, 160, .16),
            transparent 30%
        ),
        radial-gradient(
            circle at 10% 80%,
            rgba(15, 76, 92, .10),
            transparent 28%
        ),
        linear-gradient(
            180deg,
            #f8fbfc,
            #eef6f7
        );
}

.hero::before {
    content: "";

    position: absolute;

    width: 420px;
    height: 420px;

    top: -220px;
    left: -180px;

    border-radius: 50%;

    background: rgba(22, 166, 160, .08);
}

.hero-grid {
    position: relative;
    z-index: 1;

    display: grid;
    grid-template-columns: 1.05fr .95fr;
    align-items: center;
    gap: 60px;
}

.hero-content {
    max-width: 640px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    margin-bottom: 18px;
    padding: 7px 12px;

    color: var(--primary);
    background: rgba(22, 166, 160, .09);

    border: 1px solid rgba(22, 166, 160, .15);
    border-radius: 999px;

    font-size: 12px;
    font-weight: 800;
}

.hero-title {
    margin-bottom: 18px;

    color: var(--dark);

    font-size: clamp(30px, 5vw, 52px);
    font-weight: 900;

    line-height: 1.45;
}

.hero-title span {
    color: var(--secondary);
}

.hero-description {
    max-width: 590px;

    margin-bottom: 27px;

    color: var(--text-light);

    font-size: 16px;
    line-height: 2;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;

    margin-top: 25px;
}

.hero-feature {
    display: inline-flex;
    align-items: center;
    gap: 7px;

    color: var(--text-light);
    font-size: 12px;
    font-weight: 600;
}

.hero-feature::before {
    content: "✓";

    width: 20px;
    height: 20px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    color: var(--success);
    background: var(--success-bg);

    border-radius: 50%;

    font-weight: 900;
}


/* -------------------------
   8. Calculator Card
------------------------- */

.calculator-card {
    position: relative;

    padding: 28px;

    background: rgba(255,255,255,.96);

    border: 1px solid rgba(217, 226, 236, .9);
    border-radius: var(--radius-lg);

    box-shadow: var(--shadow-lg);
}

.calculator-card::before {
    content: "";

    position: absolute;

    width: 90px;
    height: 90px;

    top: -25px;
    left: -25px;

    border-radius: 50%;

    background: rgba(22, 166, 160, .08);

    z-index: -1;
}

.calculator-header {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 15px;

    margin-bottom: 24px;
}

.calculator-header h3 {
    margin-bottom: 0;
}

.calculator-label {
    display: block;

    margin-bottom: 8px;

    color: var(--text);
    font-size: 13px;
    font-weight: 800;
}

.calculator-result {
    margin-top: 22px;
    padding: 18px;

    background:
        linear-gradient(
            135deg,
            #f0fbfa,
            #eaf6f7
        );

    border: 1px solid rgba(22, 166, 160, .14);
    border-radius: 14px;
}

.calculator-result small {
    display: block;

    margin-bottom: 5px;

    color: var(--text-light);
    font-size: 11px;
}

.calculator-price {
    color: var(--primary);

    font-size: 27px;
    font-weight: 900;
}

.calculator-price span {
    margin-right: 5px;

    color: var(--muted);
    font-size: 12px;
    font-weight: 600;
}


/* -------------------------
   9. Form Controls
------------------------- */

.form-group {
    margin-bottom: 17px;
}

.form-label {
    display: block;

    margin-bottom: 7px;

    color: var(--text);
    font-size: 13px;
    font-weight: 800;
}

.form-control,
.form-select,
input[type="text"],
input[type="tel"],
input[type="number"],
input[type="email"],
input[type="password"],
input[type="date"],
textarea,
select {
    width: 100%;

    min-height: 47px;

    padding: 10px 13px;

    color: var(--text);
    background: var(--white);

    border: 1px solid var(--border);
    border-radius: 10px;

    outline: none;

    transition:
        border-color .2s ease,
        box-shadow .2s ease,
        background .2s ease;
}

textarea {
    min-height: 120px;
    resize: vertical;
}

.form-control::placeholder,
input::placeholder,
textarea::placeholder {
    color: #9fb0bf;
}

.form-control:focus,
.form-select:focus,
input:focus,
textarea:focus,
select:focus {
    background: #fff;

    border-color: var(--secondary);

    box-shadow:
        0 0 0 4px rgba(22, 166, 160, .10);
}

.form-help {
    display: block;

    margin-top: 5px;

    color: var(--muted);
    font-size: 11px;
}

.form-error {
    display: block;

    margin-top: 5px;

    color: var(--danger);
    font-size: 11px;
    font-weight: 700;
}


/* -------------------------
   10. Range Slider
------------------------- */

input[type="range"] {
    width: 100%;
    height: 7px;

    padding: 0;

    appearance: none;
    -webkit-appearance: none;

    background: #dbe8ec;

    border: 0;
    border-radius: 999px;

    outline: none;
}

input[type="range"]::-webkit-slider-thumb {
    width: 23px;
    height: 23px;

    appearance: none;
    -webkit-appearance: none;

    background: var(--secondary);

    border: 4px solid var(--white);
    border-radius: 50%;

    box-shadow:
        0 3px 10px rgba(15, 76, 92, .22);

    cursor: pointer;
}

input[type="range"]::-moz-range-thumb {
    width: 18px;
    height: 18px;

    background: var(--secondary);

    border: 4px solid var(--white);
    border-radius: 50%;

    box-shadow:
        0 3px 10px rgba(15, 76, 92, .22);

    cursor: pointer;
}


/* -------------------------
   11. Section Headings
------------------------- */

.section-header {
    max-width: 700px;

    margin: 0 auto 45px;

    text-align: center;
}

.section-header .eyebrow {
    display: inline-block;

    margin-bottom: 8px;

    color: var(--secondary);

    font-size: 12px;
    font-weight: 900;
}

.section-header h2 {
    margin-bottom: 10px;
}

.section-header p {
    margin-bottom: 0;

    font-size: 14px;
}


/* -------------------------
   12. Feature Cards
------------------------- */

.features-grid {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 18px;
}

.feature-card {
    padding: 25px 21px;

    background: var(--white);

    border: 1px solid var(--border-light);
    border-radius: var(--radius);

    box-shadow: var(--shadow-sm);

    transition:
        transform .25s ease,
        box-shadow .25s ease,
        border-color .25s ease;
}

.feature-card:hover {
    transform: translateY(-5px);

    border-color: rgba(22, 166, 160, .2);

    box-shadow: var(--shadow);
}

.feature-icon {
    width: 52px;
    height: 52px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 17px;

    color: var(--primary);
    background: var(--bg-soft);

    border-radius: 15px;

    font-size: 21px;
}

.feature-card h3 {
    margin-bottom: 7px;

    font-size: 16px;
}

.feature-card p {
    margin-bottom: 0;

    font-size: 12px;
    line-height: 1.9;
}


/* -------------------------
   13. Stats
------------------------- */

.stats-section {
    padding: 25px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.stat-card {
    padding: 20px;

    background: var(--white);

    border: 1px solid var(--border-light);
    border-radius: var(--radius);

    box-shadow: var(--shadow-sm);
}

.stat-title {
    margin-bottom: 4px;

    color: var(--muted);
    font-size: 11px;
    font-weight: 700;
}

.stat-value {
    color: var(--dark);

    font-size: 24px;
    font-weight: 900;
}

.stat-description {
    margin-top: 3px;

    color: var(--muted);
    font-size: 10px;
}


/* -------------------------
   14. Steps
------------------------- */

.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);

    gap: 20px;

    position: relative;
}

.step-card {
    position: relative;

    padding: 25px 20px;

    text-align: center;

    background: var(--white);

    border: 1px solid var(--border-light);
    border-radius: var(--radius);

    box-shadow: var(--shadow-sm);
}

.step-number {
    width: 46px;
    height: 46px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin: 0 auto 15px;

    color: var(--white);

    background:
        linear-gradient(
            135deg,
            var(--primary),
            var(--secondary)
        );

    border-radius: 50%;

    font-size: 16px;
    font-weight: 900;
}

.step-card h3 {
    margin-bottom: 6px;
    font-size: 15px;
}

.step-card p {
    margin-bottom: 0;
    font-size: 12px;
}


/* -------------------------
   15. Cards
------------------------- */

.card {
    background: var(--white);

    border: 1px solid var(--border-light);
    border-radius: var(--radius);

    box-shadow: var(--shadow-sm);
}

.card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 15px;

    padding: 20px;

    border-bottom: 1px solid var(--border-light);
}

.card-header h3,
.card-header h4 {
    margin-bottom: 0;
}

.card-body {
    padding: 20px;
}

.card-footer {
    padding: 16px 20px;

    border-top: 1px solid var(--border-light);
}


/* -------------------------
   16. Dashboard
------------------------- */

.dashboard-page {
    min-height: calc(100vh - 76px);
    padding: 35px 0 70px;
}

.dashboard-header {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    margin-bottom: 25px;
}

.dashboard-title h1 {
    margin-bottom: 3px;

    font-size: 27px;
}

.dashboard-title p {
    margin-bottom: 0;

    font-size: 12px;
}

.dashboard-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.dashboard-grid {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 16px;

    margin-bottom: 22px;
}

.dashboard-stat {
    position: relative;

    overflow: hidden;

    padding: 21px;

    background: var(--white);

    border: 1px solid var(--border-light);
    border-radius: var(--radius);

    box-shadow: var(--shadow-sm);
}

.dashboard-stat::after {
    content: "";

    position: absolute;

    width: 90px;
    height: 90px;

    left: -35px;
    bottom: -45px;

    background: rgba(22, 166, 160, .06);

    border-radius: 50%;
}

.dashboard-stat-icon {
    width: 42px;
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 14px;

    color: var(--primary);
    background: var(--bg-soft);

    border-radius: 12px;
}

.dashboard-stat h3 {
    margin-bottom: 3px;

    font-size: 22px;
}

.dashboard-stat p {
    margin-bottom: 0;

    font-size: 11px;
}


/* -------------------------
   17. Dashboard Content
------------------------- */

.dashboard-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;

    gap: 20px;
}

.dashboard-panel {
    background: var(--white);

    border: 1px solid var(--border-light);
    border-radius: var(--radius);

    box-shadow: var(--shadow-sm);
}

.dashboard-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 18px 20px;

    border-bottom: 1px solid var(--border-light);
}

.dashboard-panel-header h3 {
    margin-bottom: 0;
    font-size: 15px;
}

.dashboard-panel-body {
    padding: 20px;
}


/* -------------------------
   18. Tables
------------------------- */

.table-wrapper {
    width: 100%;

    overflow-x: auto;

    border-radius: var(--radius);
}

.table {
    width: 100%;

    border-collapse: collapse;

    background: var(--white);

    font-size: 12px;
}

.table th {
    padding: 13px 14px;

    color: var(--text-light);

    background: #f8fafc;

    border-bottom: 1px solid var(--border);

    font-weight: 800;

    white-space: nowrap;
}

.table td {
    padding: 13px 14px;

    color: var(--text);

    border-bottom: 1px solid var(--border-light);

    vertical-align: middle;
}

.table tbody tr {
    transition: background .15s ease;
}

.table tbody tr:hover {
    background: #f9fcfd;
}

.table tbody tr:last-child td {
    border-bottom: 0;
}


/* -------------------------
   19. Badges
------------------------- */

.badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 27px;

    padding: 4px 9px;

    border-radius: 999px;

    font-size: 10px;
    font-weight: 800;

    white-space: nowrap;
}

.badge-primary {
    color: var(--primary);
    background: #e9f4f6;
}

.badge-success {
    color: #087f3e;
    background: var(--success-bg);
}

.badge-danger {
    color: #b42318;
    background: var(--danger-bg);
}

.badge-warning {
    color: #92400e;
    background: var(--warning-bg);
}

.badge-info {
    color: #1d4ed8;
    background: var(--info-bg);
}

.badge-gray {
    color: var(--text-light);
    background: #f1f5f9;
}


/* -------------------------
   20. Alerts
------------------------- */

.alert {
    display: flex;
    align-items: flex-start;
    gap: 10px;

    margin-bottom: 18px;
    padding: 13px 15px;

    border: 1px solid transparent;
    border-radius: 11px;

    font-size: 12px;
    line-height: 1.8;
}

.alert-success {
    color: #166534;
    background: var(--success-bg);
    border-color: #bbf7d0;
}

.alert-danger {
    color: #991b1b;
    background: var(--danger-bg);
    border-color: #fecaca;
}

.alert-warning {
    color: #92400e;
    background: var(--warning-bg);
    border-color: #fde68a;
}

.alert-info {
    color: #1e40af;
    background: var(--info-bg);
    border-color: #bfdbfe;
}


/* -------------------------
   21. Authentication
------------------------- */

.auth-page {
    min-height: 100vh;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 30px 16px;

    background:
        radial-gradient(
            circle at 15% 20%,
            rgba(22, 166, 160, .14),
            transparent 25%
        ),
        radial-gradient(
            circle at 85% 80%,
            rgba(15, 76, 92, .10),
            transparent 28%
        ),
        linear-gradient(
            135deg,
            #f5fafb,
            #edf5f7
        );
}

.auth-wrapper {
    width: min(100%, 460px);
}

.auth-card {
    padding: 32px;

    background: rgba(255,255,255,.98);

    border: 1px solid rgba(217, 226, 236, .9);
    border-radius: var(--radius-lg);

    box-shadow: var(--shadow-lg);
}

.auth-logo {
    text-align: center;

    margin-bottom: 25px;
}

.auth-logo .logo-icon {
    margin-inline: auto;
    margin-bottom: 12px;
}

.auth-title {
    margin-bottom: 7px;

    text-align: center;

    font-size: 23px;
}

.auth-subtitle {
    margin-bottom: 25px;

    text-align: center;

    color: var(--muted);

    font-size: 12px;
}

.auth-footer {
    margin-top: 22px;
    padding-top: 17px;

    text-align: center;

    border-top: 1px solid var(--border-light);

    color: var(--muted);
    font-size: 11px;
}

.auth-footer a {
    color: var(--secondary);
    font-weight: 800;
}


/* -------------------------
   22. OTP
------------------------- */

.otp-input {
    width: 100%;

    padding: 15px !important;

    text-align: center;

    direction: ltr;

    letter-spacing: 10px;

    font-size: 23px !important;
    font-weight: 900;

    border-radius: 12px !important;
}

.otp-info {
    margin-bottom: 18px;
    padding: 13px;

    text-align: center;

    background: var(--bg-soft);

    border-radius: 11px;

    color: var(--text-light);

    font-size: 12px;
}

.otp-timer {
    margin-top: 10px;

    color: var(--secondary);

    font-size: 12px;
    font-weight: 800;
}


/* -------------------------
   23. Order Page
------------------------- */

.order-layout {
    display: grid;

    grid-template-columns: 1.25fr .75fr;

    gap: 22px;

    align-items: start;
}

.order-card {
    padding: 26px;

    background: var(--white);

    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);

    box-shadow: var(--shadow-sm);
}

.order-summary {
    position: sticky;
    top: 95px;

    padding: 24px;

    background:
        linear-gradient(
            145deg,
            #f1faf9,
            #eaf5f7
        );

    border: 1px solid rgba(22, 166, 160, .14);
    border-radius: var(--radius-lg);
}

.order-summary h3 {
    margin-bottom: 20px;
}

.summary-row {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 15px;

    padding: 12px 0;

    border-bottom: 1px solid rgba(15, 76, 92, .08);

    color: var(--text-light);

    font-size: 12px;
}

.summary-row:last-child {
    border-bottom: 0;
}

.summary-row strong {
    color: var(--dark);
}

.summary-total {
    margin-top: 12px;
    padding-top: 17px;

    border-top: 1px solid rgba(15, 76, 92, .12);
}

.summary-total strong {
    color: var(--primary);

    font-size: 22px;
}


/* -------------------------
   24. Stepper
------------------------- */

.stepper {
    display: flex;

    align-items: flex-start;

    margin-bottom: 30px;
}

.stepper-item {
    flex: 1;

    position: relative;

    text-align: center;
}

.stepper-item:not(:last-child)::after {
    content: "";

    position: absolute;

    top: 18px;
    right: calc(50% + 22px);

    width: calc(100% - 44px);
    height: 2px;

    background: var(--border);
}

.stepper-number {
    position: relative;
    z-index: 2;

    width: 36px;
    height: 36px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin: 0 auto 7px;

    color: var(--muted);
    background: var(--white);

    border: 2px solid var(--border);
    border-radius: 50%;

    font-size: 12px;
    font-weight: 900;
}

.stepper-item.active .stepper-number,
.stepper-item.done .stepper-number {
    color: var(--white);

    background: var(--secondary);

    border-color: var(--secondary);
}

.stepper-item.active .stepper-label,
.stepper-item.done .stepper-label {
    color: var(--primary);
}

.stepper-label {
    color: var(--muted);
    font-size: 10px;
    font-weight: 700;
}


/* -------------------------
   25. Tickets
------------------------- */

.ticket-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ticket-item {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 15px;

    padding: 15px;

    background: var(--white);

    border: 1px solid var(--border-light);
    border-radius: 12px;

    transition: background .2s ease, border-color .2s ease;
}

.ticket-item:hover {
    background: #f9fcfd;
    border-color: rgba(22, 166, 160, .18);
}

.ticket-title {
    margin-bottom: 3px;

    color: var(--dark);

    font-size: 13px;
    font-weight: 800;
}

.ticket-meta {
    color: var(--muted);
    font-size: 10px;
}


/* -------------------------
   26. FAQ
------------------------- */

.faq-list {
    max-width: 820px;

    margin-inline: auto;

    display: flex;
    flex-direction: column;
    gap: 10px;
}

.faq-item {
    overflow: hidden;

    background: var(--white);

    border: 1px solid var(--border-light);
    border-radius: 12px;

    box-shadow: var(--shadow-sm);
}

.faq-question {
    width: 100%;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    padding: 17px 19px;

    color: var(--dark);
    background: var(--white);

    border: 0;

    text-align: right;

    font-size: 13px;
    font-weight: 800;
}

.faq-answer {
    padding: 0 19px 17px;

    color: var(--text-light);

    font-size: 12px;
    line-height: 2;
}


/* -------------------------
   27. Footer
------------------------- */

.site-footer {
    margin-top: 60px;

    padding: 55px 0 25px;

    color: #b9c9d4;

    background:
        linear-gradient(
            145deg,
            #092f3b,
            #0b3e4a
        );
}

.footer-grid {
    display: grid;

    grid-template-columns: 1.5fr 1fr 1fr 1fr;

    gap: 35px;

    margin-bottom: 40px;
}

.footer-brand {
    max-width: 370px;
}

.footer-brand .logo {
    color: var(--white);
    margin-bottom: 15px;
}

.footer-brand p {
    color: #9fb7c3;

    font-size: 12px;
}

.footer-title {
    margin-bottom: 14px;

    color: var(--white);

    font-size: 13px;
    font-weight: 900;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: #9fb7c3;

    font-size: 11px;

    transition: color .2s ease;
}

.footer-links a:hover {
    color: var(--secondary-light);
}

.footer-bottom {
    padding-top: 20px;

    border-top: 1px solid rgba(255,255,255,.08);

    text-align: center;

    color: #86a3b0;

    font-size: 10px;
}

.footer-disclaimer {
    max-width: 800px;

    margin: 0 auto 15px;

    color: #9fb7c3;

    font-size: 10px;
    line-height: 1.9;
}


/* -------------------------
   28. Admin
------------------------- */

.admin-layout {
    min-height: 100vh;

    display: grid;

    grid-template-columns: 250px 1fr;
}

.admin-sidebar {
    position: sticky;
    top: 0;

    height: 100vh;

    padding: 22px 15px;

    color: #b9c9d4;

    background:
        linear-gradient(
            180deg,
            #092f3b,
            #0b414d
        );
}

.admin-brand {
    padding: 5px 10px 22px;

    color: var(--white);

    font-size: 17px;
    font-weight: 900;
}

.admin-nav {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.admin-nav a {
    display: flex;
    align-items: center;
    gap: 10px;

    padding: 11px 12px;

    color: #a9c0cb;

    border-radius: 9px;

    font-size: 12px;
    font-weight: 700;

    transition:
        background .2s ease,
        color .2s ease;
}

.admin-nav a:hover,
.admin-nav a.active {
    color: var(--white);

    background: rgba(255,255,255,.09);
}

.admin-content {
    min-width: 0;

    padding: 30px;

    background: var(--bg);
}

.admin-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 15px;

    margin-bottom: 25px;
}

.admin-topbar h1 {
    margin-bottom: 0;

    font-size: 25px;
}


/* -------------------------
   29. Pagination
------------------------- */

.pagination {
    display: flex;

    align-items: center;
    justify-content: center;

    flex-wrap: wrap;

    gap: 6px;

    margin-top: 20px;
}

.pagination a,
.pagination span {
    min-width: 35px;
    height: 35px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 5px 9px;

    color: var(--text-light);

    background: var(--white);

    border: 1px solid var(--border);

    border-radius: 8px;

    font-size: 11px;
}

.pagination a:hover,
.pagination .active {
    color: var(--white);

    background: var(--primary);

    border-color: var(--primary);
}


/* -------------------------
   30. Empty State
------------------------- */

.empty-state {
    padding: 45px 20px;

    text-align: center;
}

.empty-icon {
    width: 60px;
    height: 60px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin: 0 auto 15px;

    color: var(--muted);

    background: #f1f5f9;

    border-radius: 50%;

    font-size: 24px;
}

.empty-state h3 {
    margin-bottom: 5px;

    font-size: 16px;
}

.empty-state p {
    margin-bottom: 18px;

    font-size: 12px;
}


/* -------------------------
   31. Loading
------------------------- */

.loading {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.spinner {
    width: 18px;
    height: 18px;

    border: 2px solid rgba(15,76,92,.15);
    border-top-color: var(--primary);

    border-radius: 50%;

    animation: spin .7s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}


/* -------------------------
   32. Toast
------------------------- */

.toast-container {
    position: fixed;

    z-index: 9999;

    left: 20px;
    bottom: 20px;

    width: min(360px, calc(100% - 40px));

    display: flex;
    flex-direction: column;
    gap: 10px;
}

.toast {
    padding: 13px 15px;

    color: var(--white);

    background: var(--dark);

    border-radius: 11px;

    box-shadow: var(--shadow-lg);

    font-size: 12px;
}


/* -------------------------
   33. Modal
------------------------- */

.modal {
    position: fixed;

    inset: 0;

    z-index: 5000;

    display: none;
    align-items: center;
    justify-content: center;

    padding: 20px;

    background: rgba(8, 30, 40, .55);

    backdrop-filter: blur(5px);
}

.modal.show {
    display: flex;
}

.modal-dialog {
    width: min(100%, 520px);

    max-height: calc(100vh - 40px);

    overflow-y: auto;

    background: var(--white);

    border-radius: var(--radius-lg);

    box-shadow: var(--shadow-lg);
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 20px;

    border-bottom: 1px solid var(--border-light);
}

.modal-header h3 {
    margin-bottom: 0;
    font-size: 17px;
}

.modal-body {
    padding: 20px;
}

.modal-close {
    width: 34px;
    height: 34px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: var(--text-light);
    background: #f4f7f9;

    border: 0;
    border-radius: 9px;
}


/* -------------------------
   34. Responsive
------------------------- */

@media (max-width: 1050px) {

    .features-grid,
    .stats-grid,
    .dashboard-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .admin-layout {
        grid-template-columns: 220px 1fr;
    }

    .hero-grid {
        gap: 35px;
    }
}


@media (max-width: 850px) {

    .section {
        padding: 60px 0;
    }

    .header-inner {
        min-height: 68px;
    }

    .main-nav {
        display: none;
    }

    .hero {
        padding: 55px 0 65px;
    }

    .hero-grid {
        grid-template-columns: 1fr;
    }

    .hero-content {
        max-width: none;
        text-align: center;
    }

    .hero-description {
        margin-inline: auto;
    }

    .hero-actions,
    .hero-features {
        justify-content: center;
    }

    .order-layout,
    .dashboard-content {
        grid-template-columns: 1fr;
    }

    .order-summary {
        position: static;
    }

    .admin-layout {
        display: block;
    }

    .admin-sidebar {
        position: static;

        width: 100%;
        height: auto;

        padding: 15px;
    }

    .admin-nav {
        flex-direction: row;
        overflow-x: auto;
    }

    .admin-nav a {
        white-space: nowrap;
    }

    .admin-content {
        padding: 22px 16px;
    }
}


@media (max-width: 600px) {

    body {
        font-size: 14px;
    }

    .container,
    .container-sm,
    .container-xs {
        width: min(100% - 24px, var(--container));
    }

    .section {
        padding: 48px 0;
    }

    .header-actions .btn {
        min-height: 38px;

        padding: 7px 11px;

        font-size: 11px;
    }

    .logo {
        font-size: 15px;
    }

    .logo-icon {
        width: 37px;
        height: 37px;

        border-radius: 11px;
    }

    .hero {
        padding: 42px 0 50px;
    }

    .hero-title {
        font-size: 29px;
    }

    .hero-description {
        font-size: 13px;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .calculator-card {
        padding: 20px;
    }

    .features-grid,
    .stats-grid,
    .dashboard-grid,
    .steps-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .auth-card {
        padding: 23px 18px;
        border-radius: 18px;
    }

    .dashboard-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .dashboard-actions {
        width: 100%;
    }

    .dashboard-actions .btn {
        flex: 1;
    }

    .order-card {
        padding: 20px;
    }

    .stepper-label {
        font-size: 8px;
    }

    .stepper-number {
        width: 31px;
        height: 31px;
    }

    .stepper-item:not(:last-child)::after {
        top: 15px;
        right: calc(50% + 18px);
        width: calc(100% - 36px);
    }

    .card-header,
    .card-body {
        padding: 16px;
    }

    .admin-content {
        padding: 18px 12px;
    }
}


/* -------------------------
   35. Small Phones
------------------------- */

@media (max-width: 380px) {

    .container,
    .container-sm,
    .container-xs {
        width: calc(100% - 18px);
    }

    .hero-title {
        font-size: 26px;
    }

    .auth-card {
        padding: 20px 14px;
    }

    .otp-input {
        letter-spacing: 7px;
        font-size: 20px !important;
    }

    .header-actions .btn-outline {
        display: none;
    }
}


/* -------------------------
   36. Accessibility
------------------------- */

:focus-visible {
    outline: 3px solid rgba(22, 166, 160, .25);
    outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}


/* -------------------------
   37. Print
------------------------- */

@media print {

    .site-header,
    .site-footer,
    .admin-sidebar,
    .btn,
    .dashboard-actions {
        display: none !important;
    }

    body {
        background: #fff;
    }

    .card,
    .dashboard-panel,
    .dashboard-stat {
        box-shadow: none !important;
        border: 1px solid #ddd;
    }
}