/* =============================================
   RESET & BASE
   ============================================= */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

html, body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

body {
    font-family: 'DM Sans', sans-serif;
    color: #1a1a2e;
    background: #f8f9fc;
    line-height: 1.65;
}

html[lang="el"] body,
html[lang="el"] input,
html[lang="el"] textarea,
html[lang="el"] select,
html[lang="el"] button {
    font-family: 'Noto Sans', 'DM Sans', sans-serif;
}

html[lang="el"] .logo,
html[lang="el"] header nav .lang-toggle,
html[lang="el"] h1,
html[lang="el"] h2,
html[lang="el"] h3,
html[lang="el"] h4,
html[lang="el"] h5,
html[lang="el"] h6 {
    font-family: 'Noto Sans', 'DM Sans', sans-serif;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* =============================================
   VARIABLES
   ============================================= */
:root {
    --brand: #0077b6;
    --brand-dark: #005f92;
    --brand-deep: #023e5c;
    --accent: #00b4d8;
    --accent-light: #e0f7ff;

    --text: #1a1a2e;
    --text-muted: #5e6680;
    --surface: #ffffff;
    --bg: #f8f9fc;
    --border: #e4e8f0;

    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 22px;

    --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
    --shadow-md: 0 8px 32px rgba(0,0,0,0.10);
    --shadow-lg: 0 20px 60px rgba(0,0,0,0.13);
}

/* =============================================
   LAYOUT
   ============================================= */
.container {
    width: 100%;
    max-width: 1260px;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
}

@media (min-width: 768px) {
    .container {
        padding-left: 40px;
        padding-right: 40px;
    }
}

@media (min-width: 1200px) {
    .container {
        padding-left: 60px;
        padding-right: 60px;
    }
}

main {
    width: 100%;
    padding-top: 0;
    padding-bottom: 60px;
}

/* =============================================
   HEADER
   ============================================= */
header {
    width: 100%;
    background: var(--brand-deep);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 20px rgba(0,0,0,0.18);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 14px;
    padding-bottom: 14px;
    flex-wrap: nowrap;
    gap: 10px;
}

.logo {
    font-family: 'Sora', sans-serif;
    font-size: 20px;
    font-weight: 800;
    color: #fff;
    text-decoration: none;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

header .logo {
    gap: 10px;
    font-size: 20px;
    line-height: 1;
    letter-spacing: -0.5px;
    transition: opacity 0.2s;
}

header .logo:hover {
    opacity: 0.9;
}

.logo-icon {
    width: 34px;
    height: 34px;
    background: #fff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 3px;
    flex-shrink: 0;
}

header .logo-icon {
    width: 34px;
    height: 34px;
    padding: 3px;
    border-radius: 8px;
}

.logo-icon-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    flex-shrink: 0;
}

header nav {
    display: flex;
    align-items: center;
    gap: 2px;
    flex-wrap: nowrap;
    flex-shrink: 0;
}

header nav a {
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    font-family: 'DM Sans', sans-serif;
    font-weight: 600;
    font-size: 15px;
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    transition: background 0.2s, color 0.2s;
    white-space: nowrap;
}

header nav a:hover,
header nav a.active {
    background: rgba(255,255,255,0.12);
    color: #fff;
}

header nav .nav-cta {
    background: var(--accent);
    color: var(--brand-deep);
    font-weight: 800;
    margin-left: 8px;
    padding: 9px 18px;
}

header nav .nav-cta:hover {
    background: #00caf0;
    color: var(--brand-deep);
}

header nav .lang-toggle {
    min-width: 44px;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.35);
    color: #fff;
    font-family: 'Sora', sans-serif;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0;
    margin-left: 8px;
    padding: 8px 11px;
}

header nav .lang-toggle:hover {
    background: #fff;
    color: var(--brand-deep);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 6px;
    cursor: pointer;
    padding: 8px;
    flex-shrink: 0;
}

.nav-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: all 0.25s;
}

.nav-toggle.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 700px) {
    header .container {
        padding: 10px 12px;
        position: relative;
    }

    .logo {
        min-width: 0;
        gap: 9px;
        font-size: clamp(17px, 5vw, 20px);
        letter-spacing: 0;
    }

    header .logo {
        gap: 9px;
        font-size: clamp(17px, 5vw, 20px);
        letter-spacing: 0;
    }

    .logo-icon {
        width: 32px;
        height: 32px;
        border-radius: 10px;
        padding: 2px;
    }

    header .logo-icon {
        width: 32px;
        height: 32px;
        padding: 2px;
        border-radius: 10px;
    }

    .nav-toggle {
        display: flex;
        width: 40px;
        height: 40px;
        border-radius: 10px;
        background: rgba(255,255,255,0.12);
        border-color: rgba(255,255,255,0.24);
        transition: background 0.2s, border-color 0.2s;
    }

    .nav-toggle.open {
        background: rgba(255,255,255,0.18);
        border-color: rgba(255,255,255,0.38);
    }

    header nav {
        display: none;
        position: absolute;
        top: calc(100% + 8px);
        left: 12px;
        right: 12px;
        background: #063f5a;
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
        padding: 12px;
        border: 1px solid rgba(255,255,255,0.12);
        border-radius: 16px;
        box-shadow: 0 18px 38px rgba(0,0,0,0.28);
        z-index: 200;
    }

    header nav.open {
        display: flex;
    }

    header nav a {
        display: flex;
        align-items: center;
        min-height: 46px;
        padding: 12px 14px;
        font-size: 16px;
        border-radius: 12px;
        border: 1px solid transparent;
        color: rgba(255,255,255,0.9);
        background: rgba(255,255,255,0.04);
    }

    header nav a:hover,
    header nav a.active {
        background: rgba(255,255,255,0.1);
        border-color: rgba(255,255,255,0.12);
    }

    header nav .nav-cta {
        margin: 4px 0 0;
        background: var(--accent);
        color: var(--brand-deep);
        border-radius: 12px;
        justify-content: center;
        padding: 12px 14px;
        font-size: 16px;
        box-shadow: 0 8px 18px rgba(0, 198, 232, 0.18);
    }

    header nav .lang-toggle {
        margin: 2px 0 0;
        justify-content: center;
        min-height: 40px;
        border-radius: 12px;
        background: rgba(255,255,255,0.03);
        border-color: rgba(255,255,255,0.24);
        color: #ffffff;
    }
}

/* =============================================
   BUTTONS
   ============================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 26px;
    border-radius: var(--radius-sm);
    font-family: 'DM Sans', sans-serif;
    font-weight: 800;
    font-size: 15px;
    text-decoration: none;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
    line-height: 1;
}

.btn-primary {
    background: var(--brand);
    color: #fff;
    border-color: var(--brand);
}

.btn-primary:hover {
    background: var(--brand-dark);
    border-color: var(--brand-dark);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(0,119,182,0.35);
}

.btn-white {
    background: #fff;
    color: var(--brand-deep);
    border-color: #fff;
}

.btn-white:hover {
    background: var(--accent-light);
    border-color: var(--accent-light);
    transform: translateY(-1px);
}

.inline-action-form {
    display: inline-flex;
    margin: 0;
}

.btn-outline {
    background: transparent;
    color: #fff;
    border-color: rgba(255,255,255,0.5);
}

.btn-outline:hover {
    background: rgba(255,255,255,0.1);
    border-color: #fff;
}

.btn-outline-dark {
    width: 100%;
    margin-top: 12px;
    color: var(--brand-deep);
    border-color: var(--border);
    background: var(--bg);
}

.btn-outline-dark:hover {
    background: var(--accent-light);
    border-color: var(--accent);
}

.btn-lg {
    padding: 13px 22px;
    font-size: 15px;
    border-radius: var(--radius-md);
}

@media (min-width: 480px) {
    .btn-lg {
        padding: 16px 34px;
        font-size: 16px;
    }
}

/* =============================================
   HOME HERO
   ============================================= */
.hero {
    width: 100%;
    background: #eef7fc;
    color: var(--brand-deep);
    padding: 52px 0 56px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: none;
}

.hero::after {
    content: '';
    position: absolute;
    right: -80px;
    top: -80px;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    border: 2px solid rgba(0,119,182,0.07);
    pointer-events: none;
}

.hero .container {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}

.hero-content {
    max-width: 600px;
    flex: 1 1 280px;
    min-width: 0;
}

.hero h1 {
    font-family: 'Sora', sans-serif;
    font-size: clamp(30px, 5vw, 54px);
    font-weight: 800;
    line-height: 1.12;
    margin-bottom: 20px;
    letter-spacing: -1px;
    color: var(--brand-deep);
}

.hero h1 em {
    font-style: normal;
    color: var(--brand);
    text-shadow: none;
}

.hero p {
    font-size: clamp(16px, 2vw, 18px);
    color: rgba(2,62,92,0.78);
    margin-bottom: 34px;
    line-height: 1.65;
    max-width: 520px;
}

.hero .btn-white {
    background: var(--brand-deep);
    color: #ffffff;
    border-color: var(--brand-deep);
}

.hero .btn-white:hover {
    background: var(--brand);
    border-color: var(--brand);
    color: #ffffff;
}

.hero .btn-outline {
    color: var(--brand-deep);
    border-color: rgba(2,62,92,0.36);
}

.hero .btn-outline:hover {
    background: rgba(0,119,182,0.08);
    border-color: rgba(2,62,92,0.52);
}

.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
}

.hero-visual {
    position: relative;
    flex: 0 1 470px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    min-width: 300px;
}

.hero-logo-feature {
    position: relative;
    width: min(100%, 500px);
    min-height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 900px;
}

.hero-logo-feature::before {
    content: '';
    position: absolute;
    inset: 0 -18px 8px;
    border: 1px solid rgba(0,119,182,0.14);
    border-radius: 50%;
    background:
        radial-gradient(ellipse at 50% 50%, rgba(0,180,216,0.04) 0%, transparent 52%),
        conic-gradient(from 210deg, transparent 0deg, rgba(0,119,182,0.08) 42deg, transparent 86deg, rgba(0,180,216,0.08) 140deg, transparent 215deg, rgba(0,119,182,0.05) 282deg, transparent 360deg);
    box-shadow: 0 0 28px rgba(0,119,182,0.08);
    filter: blur(0.2px);
    transform: rotate(-10deg);
    animation: chillPulse 6s ease-in-out infinite;
}

.hero-logo-feature::after {
    content: none;
}

.hero-logo-plate {
    position: relative;
    z-index: 1;
    width: min(440px, 92%);
    padding: 8px 12px;
    background: transparent;
    border: 0;
    border-radius: 8px;
    box-shadow: none;
    transform: rotate(-2deg) translateZ(0);
    animation: logoFloat 7s ease-in-out infinite;
}

.hero-logo-plate::before {
    content: none;
}

.hero-logo-plate::after {
    content: none;
}

.hero-logo-feature-image {
    position: relative;
    z-index: 1;
    display: block;
    width: min(430px, 100%);
    height: auto;
    margin: 0 auto;
    filter: drop-shadow(0 8px 14px rgba(0,60,92,0.12));
}

.hero-stats {
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.hero-stat {
    background: rgba(0,119,182,0.08);
    border: 1px solid rgba(0,119,182,0.14);
    border-radius: var(--radius-md);
    padding: 16px 14px;
    text-align: center;
    backdrop-filter: blur(10px);
    flex: 1 1 0;
    min-width: 0;
}

.hero-stat .stat-num {
    font-family: 'Sora', sans-serif;
    font-size: clamp(27px, 3vw, 36px);
    font-weight: 800;
    color: var(--brand-deep);
    line-height: 1;
    margin-bottom: 4px;
}

.hero-stat .stat-label {
    font-size: 13px;
    color: rgba(2,62,92,0.68);
    font-weight: 600;
}

@keyframes logoFloat {
    0%, 100% {
        transform: rotate(-2deg) translate3d(0, 0, 0);
    }

    50% {
        transform: rotate(-1.2deg) translate3d(0, -6px, 0);
    }
}

@keyframes coolDrift {
    0%, 100% {
        opacity: 0.68;
        transform: translateX(-8px) skewY(-8deg);
    }

    50% {
        opacity: 0.95;
        transform: translateX(10px) skewY(-8deg);
    }
}

@keyframes chillPulse {
    0%, 100% {
        opacity: 0.68;
        transform: rotate(-10deg) scale(0.98);
    }

    50% {
        opacity: 1;
        transform: rotate(-7deg) scale(1.03);
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-logo-feature::before,
    .hero-logo-feature::after,
    .hero-logo-plate {
        animation: none;
    }
}

@media (max-width: 980px) {
    .hero .container {
        justify-content: center;
    }

    .hero-content {
        max-width: 680px;
        text-align: center;
    }

    .hero p,
    .hero-actions {
        margin-left: auto;
        margin-right: auto;
        justify-content: center;
    }

    .hero-visual {
        flex-basis: 560px;
        width: 100%;
    }
}

.hero-stats-inline {
    display: none;
    gap: 0;
    margin-top: 28px;
    border: 1px solid rgba(0,119,182,0.14);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.hero-stat-inline {
    flex: 1;
    text-align: center;
    padding: 14px 10px;
    background: rgba(0,119,182,0.08);
    border-right: 1px solid rgba(0,119,182,0.12);
}

.hero-stat-inline:last-child {
    border-right: none;
}

.hero-stat-inline .stat-n {
    display: block;
    font-family: 'Sora', sans-serif;
    font-size: 22px;
    font-weight: 800;
    color: var(--brand-deep);
    line-height: 1;
    margin-bottom: 4px;
}

.hero-stat-inline .stat-l {
    display: block;
    font-size: 11px;
    color: rgba(2,62,92,0.68);
    font-weight: 600;
}

@media (max-width: 767px) {
    .hero {
        padding: 44px 0 48px;
    }

    .hero .container {
        gap: 24px;
    }

    .hero-visual {
        order: -1;
        min-width: 0;
        gap: 0;
    }

    .hero-logo-feature {
        min-height: 170px;
        width: min(100%, 360px);
    }

    .hero-logo-feature::before {
        inset: 10px 14px 12px;
        box-shadow: 0 0 28px rgba(117,226,255,0.16);
    }

    .hero-logo-plate {
        width: min(320px, 88%);
        padding: 12px 14px;
        box-shadow: none;
    }

    .hero-logo-feature-image {
        width: min(300px, 88%);
    }

    .hero-stats {
        display: none;
    }

    .hero-stats-inline {
        display: flex;
    }
}

/* =============================================
   TRUST BAR
   ============================================= */
.trust-bar {
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    padding: 16px 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.trust-bar .container {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 28px;
    flex-wrap: nowrap;
    min-width: max-content;
    padding-left: 20px;
    padding-right: 20px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
    color: var(--text-muted);
    white-space: nowrap;
}

.trust-item .trust-icon {
    font-size: 16px;
}

@media (min-width: 768px) {
    .trust-bar .container {
        justify-content: center;
        flex-wrap: wrap;
        min-width: unset;
    }
}

/* =============================================
   SECTIONS
   ============================================= */
.section {
    padding: 72px 0;
}

.section-label {
    display: inline-block;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--brand);
    margin-bottom: 12px;
}

.section-title {
    font-family: 'Sora', sans-serif;
    font-size: clamp(26px, 4vw, 42px);
    font-weight: 800;
    color: var(--text);
    line-height: 1.15;
    letter-spacing: -0.5px;
    margin-bottom: 16px;
}

.section-title em {
    font-style: normal;
    color: var(--brand);
}

.section-sub {
    font-size: 17px;
    color: var(--text-muted);
    max-width: 560px;
    line-height: 1.65;
}

.services-section {
    background: linear-gradient(135deg, #03384f 0%, #0478a7 58%, #27c7df 100%);
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

.services-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(ellipse at 70% 18%, rgba(255,255,255,0.16) 0%, transparent 46%),
        repeating-linear-gradient(165deg, transparent 0 34px, rgba(222,251,255,0.05) 35px 36px);
    pointer-events: none;
}

.services-section .container {
    position: relative;
    z-index: 1;
}

.services-section .section-label {
    color: #bdf4ff;
}

.services-section .services-title,
.services-section .services-title em {
    color: #ffffff;
}

.services-section .section-sub {
    color: rgba(226,250,255,0.84);
}

.section-header {
    margin-bottom: 48px;
}

.section-header.centered {
    text-align: center;
}

.section-header.centered .section-sub {
    margin: 0 auto;
}

/* =============================================
   CARDS / FEATURES
   ============================================= */
.features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.feature-card {
    background: var(--surface);
    padding: 36px 30px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    transition: transform 0.25s, box-shadow 0.25s;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--brand), var(--accent));
    opacity: 0;
    transition: opacity 0.25s;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    width: 52px;
    height: 52px;
    background: var(--accent-light);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 20px;
    transition: background 0.25s;
}

.feature-card:hover .feature-icon {
    background: var(--brand);
}

.feature-card h3 {
    font-family: 'Sora', sans-serif;
    font-size: 19px;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 10px;
}

.feature-card p {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.65;
    margin-bottom: 18px;
}

.feature-card .card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: auto;
    align-self: flex-start;
    font-size: 14px;
    font-weight: 800;
    color: var(--brand);
    text-decoration: none;
    transition: gap 0.2s;
}

.feature-card .card-link:hover {
    gap: 10px;
}

@media (min-width: 580px) {
    .features {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 960px) {
    .features {
        grid-template-columns: repeat(3, 1fr);
    }

    .features.features-4 {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* =============================================
   SPLIT SECTION / CHECKLIST
   ============================================= */
.split-section {
    display: flex;
    align-items: center;
    gap: 64px;
    flex-wrap: wrap;
}

.split-section .split-text,
.split-section .split-visual {
    flex: 1 1 300px;
}

.checklist {
    list-style: none;
    margin-top: 28px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.checklist li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.55;
}

.checklist li .check {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    background: var(--brand);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 13px;
    margin-top: 1px;
}

.info-card-group {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.info-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 22px 24px;
    display: flex;
    align-items: center;
    gap: 18px;
    box-shadow: var(--shadow-sm);
}

.info-card-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    background: var(--accent-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
}

.info-card-body h4 {
    font-family: 'Sora', sans-serif;
    font-size: 15px;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 3px;
}

.info-card-body p {
    font-size: 14px;
    color: var(--text-muted);
}

/* =============================================
   CTA
   ============================================= */
.cta-band {
    background: linear-gradient(135deg, var(--brand-deep) 0%, var(--brand) 100%);
    color: #fff;
    padding: 72px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-band::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 80% 50%, rgba(0,180,216,0.18) 0%, transparent 50%);
    pointer-events: none;
}

.cta-band .container {
    position: relative;
    z-index: 1;
}

.cta-band h2 {
    font-family: 'Sora', sans-serif;
    font-size: clamp(26px, 4vw, 42px);
    font-weight: 800;
    margin-bottom: 14px;
    letter-spacing: -0.5px;
}

.cta-band p {
    font-size: 17px;
    color: rgba(255,255,255,0.80);
    margin-bottom: 36px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.cta-band .cta-actions {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

/* =============================================
   INNER PAGES
   ============================================= */
.page-hero {
    background: linear-gradient(135deg, var(--brand-deep) 0%, var(--brand) 100%);
    color: #fff;
    padding: 56px 0 52px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 60% 40%, rgba(0,180,216,0.15) 0%, transparent 50%);
}

.page-hero .container {
    position: relative;
    z-index: 1;
}

.page-hero h1 {
    font-family: 'Sora', sans-serif;
    font-size: clamp(28px, 5vw, 48px);
    font-weight: 800;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.page-hero p {
    font-size: 17px;
    color: rgba(255,255,255,0.82);
    max-width: 520px;
    margin: 0 auto;
}

.page-section {
    background: var(--surface);
    padding: 48px 40px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    margin: 40px 0;
}

.page-section h1 {
    font-family: 'Sora', sans-serif;
    font-size: clamp(26px, 4vw, 38px);
    font-weight: 800;
    color: var(--text);
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.page-section h2 {
    font-family: 'Sora', sans-serif;
    font-size: 22px;
    font-weight: 800;
    color: var(--brand);
    margin-bottom: 12px;
}

.page-section p {
    font-size: 16px;
    color: var(--text-muted);
    margin-bottom: 14px;
    line-height: 1.7;
}

.page-section p:last-child {
    margin-bottom: 0;
}

@media (max-width: 600px) {
    .page-section {
        padding: 30px 22px;
    }
}

/* =============================================
   CONTACT PAGE
   ============================================= */
.contact-layout {
    display: flex;
    gap: 48px;
    align-items: flex-start;
    flex-wrap: wrap;
}

.contact-info {
    flex: 0 0 260px;
}

.contact-info h3 {
    font-family: 'Sora', sans-serif;
    font-size: 19px;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 20px;
}

.contact-detail {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 20px;
}

.contact-detail-icon {
    width: 40px;
    height: 40px;
    background: var(--accent-light);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.contact-detail-body .label {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 2px;
}

.contact-detail-body .value {
    font-size: 15px;
    font-weight: 800;
    color: var(--text);
}

.contact-form-wrap {
    flex: 1 1 300px;
}

.contact-form {
    width: 100%;
}

.spam-trap {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.form-row {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.form-row .form-group {
    flex: 1 1 200px;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 7px;
    letter-spacing: 0.02em;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    padding: 13px 16px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: 'DM Sans', sans-serif;
    font-size: 15px;
    color: var(--text);
    background: #fff;
    transition: border-color 0.2s, box-shadow 0.2s;
    appearance: none;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    outline: none;
    border-color: var(--brand);
    box-shadow: 0 0 0 4px rgba(0,119,182,0.10);
}

.contact-form textarea {
    resize: vertical;
    min-height: 140px;
}

.contact-form button {
    border: none;
    cursor: pointer;
    width: 100%;
}

/* =============================================
   ABOUT / SERVICES PAGES
   ============================================= */
.about-values {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 32px;
}

.value-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 26px 22px;
}

.value-card .value-icon {
    font-size: 28px;
    margin-bottom: 12px;
}

.value-card h4 {
    font-family: 'Sora', sans-serif;
    font-size: 16px;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 8px;
}

.value-card p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 0;
}

.service-row {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    padding: 32px 0;
    border-bottom: 1px solid var(--border);
}

.service-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.service-row:first-child {
    padding-top: 0;
}

.service-num {
    font-family: 'Sora', sans-serif;
    font-size: 48px;
    font-weight: 800;
    color: var(--border);
    line-height: 1;
    flex-shrink: 0;
    width: 60px;
}

.service-body h3 {
    font-family: 'Sora', sans-serif;
    font-size: 20px;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 8px;
}

.service-body p {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.65;
    margin-bottom: 0;
}

/* =============================================
   FOOTER
   ============================================= */
footer {
    background: var(--brand-deep);
    color: rgba(255,255,255,0.75);
    padding: 0;
    margin-top: 0;
}

.footer-main {
    padding: 56px 0 40px;
    display: flex;
    gap: 48px;
    flex-wrap: wrap;
    justify-content: space-between;
}

.footer-brand .logo {
    margin-bottom: 14px;
}

.footer-brand p {
    font-size: 14px;
    color: rgba(255,255,255,0.6);
    max-width: 240px;
    line-height: 1.65;
}

.footer-col h4 {
    font-family: 'Sora', sans-serif;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.4);
    margin-bottom: 16px;
}

.footer-col a,
.footer-col p {
    display: block;
    font-size: 14px;
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    margin-bottom: 10px;
    transition: color 0.2s;
}

.footer-col a:hover {
    color: #fff;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 18px 0;
    font-size: 13px;
    color: rgba(255,255,255,0.4);
    text-align: center;
}

@media (max-width: 700px) {
    footer {
        background: linear-gradient(180deg, #064963 0%, var(--brand-deep) 100%);
    }

    .footer-main {
        padding: 34px 0 24px;
        display: grid;
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .footer-brand {
        text-align: center;
        padding: 4px 10px 12px;
    }

    .footer-brand .logo {
        justify-content: center;
        margin-bottom: 12px;
        font-size: 20px;
    }

    .footer-brand p {
        max-width: 310px;
        margin: 0 auto;
        color: rgba(255,255,255,0.76);
        font-size: 15px;
        line-height: 1.65;
    }

    .footer-col {
        padding: 18px;
        border: 1px solid rgba(255,255,255,0.1);
        border-radius: 16px;
        background: rgba(255,255,255,0.045);
        box-shadow: 0 12px 28px rgba(0,0,0,0.12);
    }

    .footer-links-col,
    .footer-services-col {
        display: none;
    }

    .footer-col h4 {
        margin-bottom: 12px;
        color: rgba(255,255,255,0.58);
        font-size: 12px;
        letter-spacing: 0.08em;
    }

    .footer-col a,
    .footer-col p {
        margin-bottom: 0;
        padding: 9px 0;
        color: rgba(255,255,255,0.86);
        font-size: 15px;
        line-height: 1.35;
    }

    .footer-col a + a,
    .footer-col p + p {
        border-top: 1px solid rgba(255,255,255,0.08);
    }

    .footer-bottom {
        padding: 16px 20px 22px;
        font-size: 12.5px;
        line-height: 1.5;
        color: rgba(255,255,255,0.5);
    }
}

/* =============================================
   DASHBOARD
   ============================================= */
.dashboard-main {
    background: var(--bg);
    padding-bottom: 0;
}

.dashboard-hero {
    background: linear-gradient(135deg, var(--brand-deep) 0%, var(--brand) 100%);
    color: #fff;
    padding: 48px 0;
    position: relative;
    overflow: hidden;
}

.dashboard-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 80% 40%, rgba(0,180,216,0.22) 0%, transparent 45%);
    pointer-events: none;
}

.dashboard-hero .container {
    position: relative;
    z-index: 1;
}

.dashboard-hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.dashboard-hero h1 {
    font-family: 'Sora', sans-serif;
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 10px;
    letter-spacing: -0.5px;
}

.dashboard-hero p {
    color: rgba(255,255,255,0.78);
    font-size: 16px;
}

.dashboard-hero p strong {
    color: #fff;
}

.dashboard-user-card {
    display: flex;
    align-items: center;
    gap: 14px;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.18);
    padding: 16px 18px;
    border-radius: var(--radius-md);
    backdrop-filter: blur(8px);
    min-width: 230px;
}

.dashboard-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--accent);
    color: var(--brand-deep);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Sora', sans-serif;
    font-weight: 800;
    font-size: 20px;
    flex-shrink: 0;
}

.dashboard-user-card strong {
    display: block;
    font-family: 'Sora', sans-serif;
    font-size: 15px;
    color: #fff;
}

.dashboard-user-card span {
    display: block;
    font-size: 13px;
    color: rgba(255,255,255,0.7);
}

.dashboard-logout {
    margin-left: auto;
    color: #fff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 800;
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    background: rgba(255,255,255,0.14);
    border: 1px solid rgba(255,255,255,0.18);
    transition: background 0.2s;
}

.dashboard-logout:hover {
    background: rgba(255,255,255,0.24);
}

.dashboard-section {
    padding: 42px 0 72px;
}

.dashboard-alert {
    background: #fff3cd;
    border: 1px solid #ffe69c;
    color: #664d03;
    padding: 14px 18px;
    border-radius: var(--radius-sm);
    margin-bottom: 24px;
    font-weight: 700;
}

.dashboard-stats {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    margin-bottom: 28px;
}

.dashboard-stat-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    gap: 16px;
}

.dashboard-stat-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-md);
    background: var(--accent-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}

.dashboard-stat-card span {
    display: block;
    font-size: 13px;
    font-weight: 800;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 3px;
}

.dashboard-stat-card strong {
    display: block;
    font-family: 'Sora', sans-serif;
    font-size: 30px;
    color: var(--text);
    line-height: 1;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.dashboard-panel {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    padding: 28px;
    min-width: 0;
}

.dashboard-panel-header {
    margin-bottom: 22px;
}

.dashboard-panel-header h2 {
    font-family: 'Sora', sans-serif;
    font-size: 22px;
    color: var(--text);
    margin-bottom: 6px;
}

.dashboard-panel-header p {
    color: var(--text-muted);
    font-size: 14px;
}

.dashboard-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}

.dashboard-action,
.notification-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 17px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--bg);
    text-decoration: none;
    color: var(--text);
}

.dashboard-action {
    align-items: center;
    order: 5;
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.dashboard-action:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
    border-color: var(--brand);
}

.dashboard-action span,
.notification-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    background: var(--accent-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.dashboard-action strong,
.notification-body strong {
    display: block;
    font-family: 'Sora', sans-serif;
    font-size: 15px;
    color: var(--text);
    margin-bottom: 4px;
}

.dashboard-action small,
.notification-body p {
    display: block;
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.55;
    margin: 0;
}

.notification-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.notification-item.important {
    background: #fff8e8;
    border-color: #ffe0a3;
}

.notification-item.important .notification-icon {
    background: #fff0c7;
}

a.notification-link {
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
    text-decoration: none;
    color: var(--text);
}

a.notification-link:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
    border-color: var(--brand);
}

a.notification-link.important:hover {
    border-color: #f0a030;
}

.notification-arrow {
    margin-left: auto;
    font-size: 18px;
    color: var(--text-muted);
    align-self: center;
    flex-shrink: 0;
}

@media (min-width: 700px) {
    .dashboard-stats {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1000px) {
    .dashboard-grid {
        grid-template-columns: 0.9fr 1.3fr;
    }
}

@media (max-width: 600px) {
    .dashboard-panel {
        padding: 22px 18px;
    }

    .dashboard-user-card {
        width: 100%;
    }
}

@media (max-width: 520px) {
    .dashboard-user-card {
        flex-wrap: wrap;
    }

    .dashboard-logout {
        width: 100%;
        text-align: center;
        margin-left: 0;
    }
}

/* =============================================
   LOGIN
   ============================================= */
.login-main {
    background: linear-gradient(135deg, var(--brand-deep) 0%, var(--brand) 55%, var(--accent) 100%);
    min-height: calc(100vh - 74px);
    padding: 0;
}

.login-section {
    min-height: calc(100vh - 74px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px 20px;
}

.login-card {
    width: 100%;
    max-width: 430px;
    background: var(--surface);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 36px;
}

.login-header {
    text-align: center;
    margin-bottom: 26px;
}

.login-brand {
    font-family: 'Sora', sans-serif;
    font-size: 15px;
    font-weight: 800;
    color: var(--brand);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 22px;
}

.login-logo-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: #fff;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 4px;
    flex-shrink: 0;
}

.login-logo-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.login-header h1 {
    font-family: 'Sora', sans-serif;
    font-size: 30px;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 8px;
}

.login-header p {
    color: var(--text-muted);
    font-size: 15px;
}

.login-error {
    background: #ffe9e9;
    color: #9f1c1c;
    border: 1px solid #ffc9c9;
    padding: 13px 15px;
    border-radius: var(--radius-sm);
    font-weight: 800;
    font-size: 14px;
    margin-bottom: 20px;
}

.login-form input,
.admin-form input,
.admin-form select,
.admin-form textarea {
    width: 100%;
    max-width: 100%;
    padding: 13px 16px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: 'DM Sans', sans-serif;
    font-size: 15px;
    color: var(--text);
    background: #fff;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.admin-form textarea {
    resize: vertical;
    min-height: 110px;
}

.login-form input:focus,
.admin-form input:focus,
.admin-form select:focus,
.admin-form textarea:focus {
    outline: none;
    border-color: var(--brand);
    box-shadow: 0 0 0 4px rgba(0,119,182,0.10);
}

.form-help {
    margin: 8px 0 0;
    color: var(--text-muted);
    font-size: 12px;
    font-weight: 600;
    line-height: 1.5;
}

.password-help {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 12px;
    border: 1px solid rgba(0, 119, 182, 0.16);
    border-radius: var(--radius-sm);
    background: #f2f8fc;
    color: #35536a;
    font-size: 12.5px;
}

.password-help::before {
    content: "i";
    flex: 0 0 20px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--brand);
    color: #ffffff;
    font-family: 'Sora', sans-serif;
    font-size: 12px;
    font-weight: 800;
    line-height: 20px;
    text-align: center;
}

.date-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
}

.date-input-wrap input[type="text"] {
    flex: 1 1 auto;
    width: 100%;
    min-height: 52px;
    padding: 13px 16px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: 'DM Sans', sans-serif;
    font-size: 15px;
    color: var(--text);
    background: #fff;
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.date-input-wrap input[type="text"]:focus {
    outline: none;
    border-color: var(--brand);
    background: #fbfdff;
    box-shadow: 0 0 0 4px rgba(0,119,182,0.10);
}

.date-picker-button {
    flex: 0 0 52px;
    width: 52px;
    min-height: 52px;
    border: 1.5px solid #d7e8f2;
    border-radius: var(--radius-sm);
    background: #f5fbff;
    color: var(--brand-dark);
    font-size: 17px;
    line-height: 1;
    cursor: pointer;
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.date-picker-button:hover,
.date-picker-button:focus {
    outline: none;
    border-color: var(--brand);
    background: #eef8ff;
    box-shadow: 0 0 0 4px rgba(0,119,182,0.10);
}

.native-date-picker {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.typeahead-select {
    position: relative;
}

.typeahead-select input[type="text"] {
    padding-right: 52px;
}

.typeahead-toggle {
    position: absolute;
    top: 1.5px;
    right: 1.5px;
    width: 48px;
    height: calc(100% - 3px);
    border: 0;
    border-left: 1px solid var(--border);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    background: #f5fbff;
    color: var(--brand-dark);
    font-size: 16px;
    cursor: pointer;
}

.typeahead-toggle:hover,
.typeahead-toggle:focus {
    outline: none;
    background: #eef8ff;
    color: var(--brand-deep);
}

.typeahead-menu {
    position: absolute;
    z-index: 40;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    display: none;
    max-height: 220px;
    overflow-y: auto;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: #ffffff;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.14);
}

.typeahead-select.open .typeahead-menu {
    display: block;
}

.typeahead-option {
    display: block;
    width: 100%;
    padding: 10px 14px;
    border: 0;
    background: #ffffff;
    color: var(--text);
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.typeahead-option:hover,
.typeahead-option:focus {
    outline: none;
    background: var(--accent-light);
    color: var(--brand-deep);
}

.typeahead-option[hidden] {
    display: none;
}

.login-btn,
.admin-submit {
    width: 100%;
    justify-content: center;
    margin-top: 8px;
}

@media (max-width: 520px) {
    .login-card {
        padding: 28px 22px;
    }
}

/* =============================================
   TABLES / ADMIN PAGES
   ============================================= */
.admin-top-actions {
    margin-bottom: 24px;
}

.inline-action-form {
    margin: 0;
}

.manage-alert {
    padding: 14px 18px;
    border-radius: var(--radius-sm);
    margin-bottom: 22px;
    font-weight: 800;
    font-size: 14px;
}

.manage-alert.success {
    background: #e8fff3;
    color: #08733e;
    border: 1px solid #baf2d2;
}

.manage-alert.error {
    background: #ffe9e9;
    color: #9f1c1c;
    border: 1px solid #ffc9c9;
}

.settings-form-section {
    padding: 20px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--bg);
    margin-bottom: 18px;
}

.settings-form-section h3 {
    font-family: 'Sora', sans-serif;
    font-size: 17px;
    color: var(--text);
    margin-bottom: 16px;
}

.settings-cancel-edit {
    background: #fff4df;
    color: #8a4a00;
    border: 1px solid #ffc766;
    font-weight: 800;
}

.settings-cancel-edit:hover {
    background: #ffe2a8;
    color: #643500;
    border-color: #f0a818;
}

.settings-readonly-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
}

.settings-readonly-item {
    padding: 13px 0;
    border-bottom: 1px solid var(--border);
}

.settings-readonly-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.settings-readonly-item span {
    display: block;
    color: var(--text-muted);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 5px;
}

.settings-readonly-item strong {
    display: block;
    color: var(--text);
    font-size: 15px;
    line-height: 1.5;
    white-space: pre-wrap;
}

.settings-logo-field {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: #ffffff;
}

.settings-logo-preview-wrap {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    flex-shrink: 0;
}

.settings-logo-preview-wrap::before {
    content: "\2744";
    position: absolute;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: #dff8ff;
    color: #39b8ff;
    font-size: 28px;
    font-weight: 800;
    line-height: 1;
}

.settings-logo-preview-wrap.is-empty::before {
    display: flex;
}

.settings-logo-preview-wrap-wide {
    width: 150px;
    height: 72px;
}

.settings-logo-preview {
    width: 58px;
    height: 58px;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: #ffffff;
    object-fit: contain;
    padding: 6px;
    flex-shrink: 0;
}

.settings-logo-preview-wrap.is-empty .settings-logo-preview {
    opacity: 0;
}

.settings-logo-preview-wide {
    width: 150px;
    height: 72px;
    background: transparent;
    border: 0;
    border-radius: 0;
    padding: 0;
}

.settings-logo-clear {
    position: absolute;
    top: -8px;
    right: -8px;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border: 1px solid rgba(2,62,92,0.16);
    border-radius: 50%;
    background: #ffffff;
    color: var(--brand-deep);
    font-size: 17px;
    font-weight: 800;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(15,23,42,0.12);
}

.settings-logo-preview-wrap.is-empty .settings-logo-clear {
    display: none;
}

.settings-file-control {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    min-width: 0;
}

.settings-file-input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.settings-file-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 8px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--bg);
    color: var(--brand-deep);
    font-weight: 800;
    cursor: pointer;
    white-space: nowrap;
}

.settings-file-input:focus + .settings-file-button {
    border-color: var(--brand);
    box-shadow: 0 0 0 3px rgba(0,119,182,0.12);
}

.settings-file-name {
    color: var(--text-muted);
    font-size: 14px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@media (max-width: 560px) {
    .settings-logo-field {
        align-items: flex-start;
        flex-direction: column;
    }

    .settings-file-control {
        align-items: flex-start;
        flex-direction: column;
    }
}

.dashboard-table-wrap {
    width: 100%;
    overflow-x: auto;
}

.dashboard-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 580px;
}

.dashboard-table th,
.dashboard-table td {
    padding: 14px 12px;
    text-align: left;
    border-bottom: 1px solid var(--border);
    font-size: 14px;
}

.dashboard-table th {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    font-weight: 800;
    background: var(--bg);
}

.dashboard-table td {
    color: var(--text);
}

.dashboard-table tr:last-child td {
    border-bottom: none;
}

.jobs-table {
    min-width: 700px;
}

.jobs-table th,
.jobs-table td {
    white-space: normal;
}

.jobs-table th:last-child,
.jobs-table td:last-child {
    width: 120px;
}

.products-admin-table {
    min-width: 860px;
}

.products-admin-table th:last-child,
.products-admin-table td:last-child {
    width: 150px;
}

.products-admin-table .table-note {
    display: block;
    margin-top: 5px;
    word-break: break-word;
}

.product-admin-title {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 220px;
}

.product-admin-thumb {
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    background: var(--bg);
    object-fit: cover;
}

.product-admin-thumb-empty {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-light);
    color: var(--accent);
    font-size: 20px;
    font-weight: 800;
}

.table-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.table-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 7px 11px;
    border-radius: 999px;
    border: 0;
    background: #eef5fb;
    color: var(--brand);
    font-size: 12px;
    font-weight: 800;
    font-family: inherit;
    text-decoration: none;
    cursor: pointer;
}

.table-btn.edit {
    background: var(--accent-light);
    color: var(--brand-deep);
}

.table-btn.delete {
    background: #ffe9e9;
    color: #9f1c1c;
}

.table-btn.edit:hover {
    background: #c8f2ff;
}

.table-btn.delete:hover {
    background: #ffd1d1;
}

.table-note {
    display: inline-flex;
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 800;
}

.role-badge,
.maintenance-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    white-space: nowrap;
}

.role-admin {
    background: #e0f7ff;
    color: var(--brand-deep);
}

.role-worker {
    background: #eef5fb;
    color: var(--brand);
}

.maintenance-date {
    display: block;
    color: var(--text-muted);
    font-size: 12px;
    font-weight: 800;
    margin-top: 5px;
}

.job-date-value,
.job-date-type {
    display: block;
}

.job-date-type {
    color: var(--text-muted);
    font-size: 12px;
    font-weight: 800;
    margin-top: 5px;
}

.maintenance-ok {
    background: #e8fff3;
    color: #08733e;
}

.maintenance-soon {
    background: #fff4df;
    color: #a75b00;
}

.maintenance-due {
    background: #ffe9e9;
    color: #9f1c1c;
}

.maintenance-none {
    background: #eef5fb;
    color: var(--text-muted);
}

.maintenance-ignored {
    background: #eef2ff;
    color: #3730a3;
}

/* =============================================
   JOBS PAGE
   ============================================= */
.jobs-top-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.jobs-panel-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
}

.job-filters {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.job-filters-wrap {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
}

.job-filters-label {
    color: var(--text-muted);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.job-filter {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    border-radius: 999px;
    background: var(--bg);
    border: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.job-filter:hover,
.job-filter.active {
    background: var(--accent-light);
    border-color: var(--accent);
    color: var(--brand-deep);
}

.job-filter-switch {
    gap: 8px;
}

.job-filter-switch-track {
    position: relative;
    display: inline-flex;
    width: 32px;
    height: 18px;
    flex: 0 0 auto;
    border-radius: 999px;
    background: var(--border);
    transition: background 0.2s;
}

.job-filter-switch-thumb {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.25);
    transition: transform 0.2s;
}

.job-filter-switch.active .job-filter-switch-track {
    background: var(--accent);
}

.job-filter-switch.active .job-filter-switch-thumb {
    transform: translateX(14px);
}

.jobs-search-bar {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 22px;
    flex-wrap: wrap;
}

.jobs-search-bar input[type="text"] {
    flex: 1;
    min-width: 240px;
    padding: 13px 16px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: 'DM Sans', sans-serif;
    font-size: 15px;
    color: var(--text);
    background: #fff;
}

.jobs-search-bar input[type="text"]:focus {
    outline: none;
    border-color: var(--brand);
    box-shadow: 0 0 0 4px rgba(0,119,182,0.10);
}

.jobs-search-bar .btn {
    margin-top: 0;
}

.jobs-search-bar .search-clear {
    width: auto;
}

.jobs-bottom-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 18px;
}

.jobs-pagination {
    position: static;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 18px;
    padding: 0;
    background: transparent;
    flex-wrap: wrap;
    clear: both;
}

.pagination-pages {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    justify-content: center;
    background: transparent;
}

.pagination-btn,
.pagination-page {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 8px 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: #fff;
    color: var(--text-muted);
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.pagination-page {
    min-width: 38px;
}

.pagination-btn:hover,
.pagination-page:hover,
.pagination-page.active {
    background: var(--accent-light);
    border-color: var(--accent);
    color: var(--brand-deep);
}

.pagination-btn.disabled {
    opacity: 0.45;
    pointer-events: none;
}

@media (max-width: 600px) {
    .jobs-top-actions .btn,
    .job-filters-wrap,
    .job-filters,
    .job-filter,
    .jobs-search-bar input[type="text"],
    .jobs-search-bar .btn,
    .jobs-search-bar .search-clear {
        width: 100%;
    }

    .job-filters-wrap {
        align-items: stretch;
    }

    .jobs-bottom-actions {
        justify-content: stretch;
    }

    .jobs-bottom-actions .btn {
        width: 100%;
    }

    .jobs-pagination {
        align-items: center;
        justify-content: center;
        gap: 4px;
        margin: 18px 0 0;
        padding: 0;
        background: transparent;
        flex-wrap: nowrap;
        width: 100%;
    }

    .pagination-btn,
    .pagination-page {
        flex: 0 0 auto;
        min-height: 34px;
        padding: 7px 6px;
        font-size: 11px;
        line-height: 1;
        white-space: nowrap;
    }

    .pagination-page {
        min-width: 34px;
    }

    .pagination-pages {
        flex: 0 0 auto;
        flex-wrap: nowrap;
        gap: 3px;
    }
}

/* =============================================
   EDIT JOB PAGE
   ============================================= */
.edit-job-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.edit-job-summary {
    background: linear-gradient(135deg, var(--brand-deep), var(--brand));
    color: #fff;
    border-radius: var(--radius-lg);
    padding: 28px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    box-shadow: var(--shadow-sm);
}

.edit-job-summary .section-label {
    color: var(--accent);
    margin-bottom: 8px;
}

.edit-job-summary h2 {
    font-family: 'Sora', sans-serif;
    font-size: clamp(24px, 4vw, 38px);
    line-height: 1.15;
    margin-bottom: 8px;
}

.edit-job-summary p {
    color: rgba(255,255,255,0.78);
    margin: 0;
    font-size: 16px;
}

.edit-job-summary-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.edit-job-summary .btn {
    min-width: 130px;
}

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

.maintenance-ignore-btn:hover {
    background: #e0e7ff;
    border-color: #a5b4fc;
    transform: translateY(-1px);
}

.maintenance-ignore-btn.is-ignored {
    background: #ffffff;
    color: var(--brand-deep);
    border-color: #ffffff;
}

.edit-job-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.edit-job-main {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.edit-job-side {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.readonly-details {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}

.readonly-item {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 16px;
}

.readonly-item span {
    display: block;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted);
    margin-bottom: 6px;
}

.readonly-item strong {
    display: block;
    font-family: 'Sora', sans-serif;
    font-size: 16px;
    color: var(--text);
}

.readonly-item p {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
}

.job-info-box {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 18px;
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.7;
}

.maintenance-overview {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    margin-bottom: 20px;
}

.maintenance-overview-main {
    border-radius: var(--radius-md);
    padding: 22px;
    border: 1px solid var(--border);
    background: var(--bg);
}

.maintenance-overview-main strong {
    display: block;
    font-family: 'Sora', sans-serif;
    font-size: clamp(26px, 4vw, 34px);
    color: var(--text);
    margin-top: 14px;
    margin-bottom: 4px;
}

.maintenance-overview-main small {
    display: block;
    color: var(--text-muted);
    font-weight: 800;
}

.maintenance-card-ok {
    background: #f1fff7;
    border-color: #baf2d2;
}

.maintenance-card-soon {
    background: #fff8ec;
    border-color: #ffe0a3;
}

.maintenance-card-due {
    background: #fff0f0;
    border-color: #ffc9c9;
}

.maintenance-card-none {
    background: #f5f8fc;
    border-color: var(--border);
}

.maintenance-card-ignored {
    background: #f4f6ff;
    border-color: #c7d2fe;
}

.maintenance-mini-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.maintenance-mini-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 16px;
}

.maintenance-mini-card span {
    display: block;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted);
    margin-bottom: 6px;
}

.maintenance-mini-card strong {
    display: block;
    font-family: 'Sora', sans-serif;
    color: var(--text);
    font-size: 16px;
}

.maintenance-form {
    margin-top: 12px;
}

.maintenance-history-list {
    display: grid;
    gap: 14px;
}

.maintenance-history-item {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 18px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--bg);
}

.maintenance-history-summary {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}

.maintenance-history-date span {
    display: block;
    color: var(--text-muted);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.maintenance-history-date strong {
    display: block;
    margin-top: 6px;
    color: var(--text);
    font-family: 'Sora', sans-serif;
    font-size: 20px;
    line-height: 1.25;
}

.maintenance-history-content p {
    margin: 6px 0 0;
    color: var(--text);
    line-height: 1.7;
}

.maintenance-history-content span,
.maintenance-history-created span {
    display: block;
    color: var(--text-muted);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.maintenance-history-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}

.maintenance-history-created {
    width: 100%;
}

.maintenance-history-created strong {
    display: block;
    margin-top: 5px;
    color: var(--text-muted);
    font-family: 'Sora', sans-serif;
    font-size: 13px;
    line-height: 1.35;
}

.maintenance-history-meta {
    display: flex;
    justify-content: flex-start;
}

.maintenance-history-meta .btn {
    min-width: 110px;
}

.empty-state {
    padding: 22px;
    border: 1px dashed var(--border);
    border-radius: var(--radius-md);
    background: var(--bg);
}

.empty-state h3 {
    margin-bottom: 6px;
}

.empty-state p {
    color: var(--text-muted);
    margin: 0;
}

.danger-btn {
    background: #ffe9e9;
    color: #9f1c1c;
    border-color: #ffc9c9;
}

.danger-btn:hover {
    background: #ffd1d1;
    border-color: #ffb0b0;
}

.edit-job-summary .danger-btn {
    width: auto;
}

@media (min-width: 680px) {
    .readonly-details {
        grid-template-columns: repeat(2, 1fr);
    }

    .maintenance-mini-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .maintenance-history-item {
        grid-template-columns: 500px minmax(0, 1fr) auto;
        align-items: center;
    }

    .maintenance-history-summary {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .maintenance-history-meta {
        align-self: stretch;
        align-items: flex-end;
        justify-content: space-between;
        text-align: right;
    }
}

@media (min-width: 1050px) {
    .edit-job-layout {
        grid-template-columns: 0.9fr 1.4fr;
        align-items: start;
    }
}

@media (max-width: 700px) {
    .edit-job-summary {
        flex-direction: column;
        align-items: flex-start;
    }

    .edit-job-summary-actions {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
    }

    .edit-job-summary-actions .btn,
    .edit-job-summary .danger-btn {
        width: 100%;
    }
}

/* =============================================
   MODAL / POPUP
   ============================================= */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(2, 62, 92, 0.55);
    backdrop-filter: blur(4px);
    z-index: 999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.modal-overlay.open {
    display: flex;
}

.modal-card {
    width: 100%;
    max-width: 560px;
    max-height: 90vh;
    overflow-y: auto;
    background: var(--surface);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 28px;
    border: 1px solid var(--border);
}

.add-job-modal-card {
    max-height: calc(100vh - 32px);
    padding: 22px 28px 18px;
}

.add-job-modal-card .modal-header {
    margin-bottom: 14px;
}

.add-job-modal-card .form-group {
    margin-bottom: 14px;
}

.add-job-modal-card .admin-form input,
.add-job-modal-card .admin-form select {
    min-height: 44px;
    padding: 10px 14px;
}

.add-job-modal-card .date-input-wrap input[type="text"],
.add-job-modal-card .date-picker-button {
    min-height: 44px;
}

.add-job-modal-card .date-picker-button {
    flex-basis: 52px;
}

.add-job-modal-card .admin-form textarea {
    min-height: 88px;
}

.add-job-modal-card .admin-submit {
    margin-top: 4px;
}

.add-user-modal-card {
    max-height: calc(100vh - 32px);
    padding: 22px 28px 18px;
}

.add-user-modal-card .modal-header {
    margin-bottom: 14px;
}

.add-user-modal-card .form-group {
    margin-bottom: 14px;
}

.add-user-modal-card .admin-form input,
.add-user-modal-card .admin-form select {
    min-height: 44px;
    padding: 10px 14px;
}

.add-user-modal-card .admin-submit {
    margin-top: 4px;
}

@media (max-height: 760px) {
    .modal-overlay {
        align-items: flex-start;
        padding-top: 12px;
        padding-bottom: 12px;
    }

    .add-job-modal-card,
    .add-user-modal-card {
        max-height: calc(100vh - 24px);
        padding: 18px 24px 16px;
    }

    .add-job-modal-card .modal-header,
    .add-user-modal-card .modal-header {
        margin-bottom: 10px;
    }

    .add-job-modal-card .modal-header h2,
    .add-user-modal-card .modal-header h2 {
        font-size: 23px;
    }

    .add-job-modal-card .modal-header p,
    .add-user-modal-card .modal-header p {
        font-size: 14px;
    }

    .add-job-modal-card .form-group,
    .add-user-modal-card .form-group {
        margin-bottom: 10px;
    }

    .add-job-modal-card .form-group label,
    .add-user-modal-card .form-group label {
        margin-bottom: 5px;
    }

    .add-job-modal-card .admin-form input,
    .add-job-modal-card .admin-form select,
    .add-user-modal-card .admin-form input,
    .add-user-modal-card .admin-form select,
    .add-job-modal-card .date-input-wrap input[type="text"],
    .add-job-modal-card .date-picker-button {
        min-height: 40px;
        padding-top: 8px;
        padding-bottom: 8px;
    }

    .add-job-modal-card .admin-form textarea {
        min-height: 68px;
        height: 68px;
    }
}

.product-modal-card {
    max-width: 760px;
    padding: 24px;
}

.product-modal-card .modal-header {
    margin-bottom: 16px;
}

.product-modal-card .modal-header h2 {
    font-size: 22px;
}

.product-modal-card .modal-header p {
    font-size: 13px;
}

.product-modal-card .form-row {
    gap: 14px;
}

.product-modal-card .form-group {
    margin-bottom: 14px;
}

.product-modal-card .form-group label {
    margin-bottom: 5px;
}

.product-modal-card .admin-form input,
.product-modal-card .admin-form select,
.product-modal-card .admin-form textarea {
    padding: 10px 14px;
}

.product-modal-card .admin-form textarea {
    height: 82px;
    min-height: 82px;
}

.product-modal-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 4px;
}

.product-modal-actions .btn {
    width: 100%;
    margin-top: 0;
}

.image-upload-box {
    position: relative;
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr) minmax(160px, 240px);
    align-items: center;
    gap: 14px;
    padding: 10px 12px;
    border: 1.5px dashed #8ed8ee;
    border-radius: var(--radius-md);
    background: #f0fbff;
    transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}

.image-upload-box.drag-over {
    border-color: var(--brand);
    background: #e2f8ff;
    box-shadow: 0 0 0 4px rgba(0,119,182,0.10);
}

.image-upload-box input[type="file"] {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.image-upload-preview {
    width: 58px;
    height: 58px;
    border-radius: var(--radius-sm);
    background: var(--surface);
    border: 1px solid #c8ecf8;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.image-upload-preview span {
    font-family: 'Sora', sans-serif;
    font-size: 12px;
    font-weight: 800;
    color: var(--brand-deep);
}

.image-upload-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-upload-copy strong {
    display: block;
    color: var(--text);
    font-size: 14px;
    margin-bottom: 2px;
}

.image-upload-copy small,
.image-path-preview {
    display: block;
    color: var(--text-muted);
    font-size: 13px;
    line-height: 1.45;
}

.image-upload-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    align-self: center;
}

.image-upload-button,
.image-remove-button {
    width: 100%;
    white-space: nowrap;
}

.image-remove-button {
    border: none;
    cursor: pointer;
    font-family: inherit;
}

.image-remove-button[hidden] {
    display: none !important;
}

.image-path-preview {
    margin-top: 8px;
    padding: 9px 11px;
    border-radius: var(--radius-sm);
    background: var(--bg);
    border: 1px solid var(--border);
    word-break: break-word;
}

.image-path-preview.is-hidden {
    display: none;
}

@media (max-width: 620px) {
    .product-modal-actions {
        grid-template-columns: 1fr;
    }

    .image-upload-box {
        grid-template-columns: 60px 1fr;
    }

    .image-upload-preview {
        width: 60px;
        height: 60px;
    }

    .image-upload-actions {
        grid-column: 1 / -1;
        justify-content: stretch;
    }

    .image-upload-actions .btn,
    .image-upload-actions .table-btn {
        flex: 1 1 150px;
        justify-content: center;
    }
}

.modal-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 22px;
}

.modal-header h2 {
    font-family: 'Sora', sans-serif;
    font-size: 24px;
    color: var(--text);
    margin-bottom: 6px;
}

.modal-header p {
    color: var(--text-muted);
    font-size: 14px;
    margin: 0;
}

.modal-close {
    width: 38px;
    height: 38px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    background: var(--bg);
    color: var(--text);
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
    font-weight: 800;
}

.modal-close:hover {
    background: var(--accent-light);
}

/* =============================================
   PRODUCTS CARDS
   ============================================= */
.products-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 26px;
}

.product-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
    display: flex;
    flex-direction: column;
    height: 100%;
    cursor: pointer;
}

.product-card:focus-visible {
    outline: 3px solid rgba(0,119,182,0.25);
    outline-offset: 3px;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent);
}

.product-card-image {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 230px;
    background: var(--bg);
    border: 0;
    border-bottom: 1px solid var(--border);
    padding: 18px;
    cursor: pointer;
    font: inherit;
}

.product-card-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product-card-placeholder {
    width: 100%;
    height: 100%;
    background: var(--accent-light);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 58px;
}

.product-card-body {
    padding: 24px;
    display: flex;
    flex: 1;
    flex-direction: column;
}

.product-card-meta {
    display: flex;
    align-items: center;
    gap: 7px;
    flex-wrap: wrap;
    color: var(--brand);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 10px;
}

.product-card-body h2 {
    font-family: 'Sora', sans-serif;
    font-size: 20px;
    line-height: 1.25;
    margin-bottom: 16px;
}

.product-title-button {
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--text);
    cursor: pointer;
    font: inherit;
    text-align: left;
}

.product-card-body h2 a,
.product-title-button {
    color: var(--text);
    text-decoration: none;
}

.product-card-body h2 a:hover,
.product-title-button:hover {
    color: var(--brand);
}

.product-card-specs {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 22px;
}

.product-card-specs strong {
    color: var(--text);
}

.product-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: auto;
}

.product-price {
    font-family: 'Sora', sans-serif;
    font-size: 22px;
    font-weight: 800;
    color: var(--brand-deep);
}

.product-card-footer .btn {
    padding: 11px 18px;
}

.product-details-modal-card {
    max-width: 940px;
}

.product-details-modal-layout {
    display: grid;
    grid-template-columns: minmax(260px, 0.9fr) minmax(0, 1.1fr);
    gap: 26px;
    align-items: start;
}

.product-details-modal-image {
    min-height: 340px;
    padding: 22px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--bg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-details-modal-image img {
    width: 100%;
    max-height: 360px;
    object-fit: contain;
}

.product-details-modal-image .product-card-placeholder {
    min-height: 300px;
}

.product-details-modal-content {
    min-width: 0;
}

.product-details-modal-price {
    font-family: 'Sora', sans-serif;
    font-size: 34px;
    font-weight: 800;
    color: var(--brand-deep);
    line-height: 1;
    margin-bottom: 20px;
}

.product-details-modal-specs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 22px;
}

.product-details-modal-specs div {
    padding: 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--bg);
}

.product-details-modal-specs span {
    display: block;
    color: var(--text-muted);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.product-details-modal-specs strong {
    color: var(--text);
    font-size: 15px;
}

.product-details-modal-description {
    margin-bottom: 22px;
}

.product-details-modal-description h3 {
    font-family: 'Sora', sans-serif;
    font-size: 17px;
    margin-bottom: 8px;
}

.product-details-modal-description p {
    color: var(--text-muted);
    line-height: 1.7;
    white-space: pre-line;
}

.product-details-modal-cta {
    width: 100%;
}

@media (min-width: 680px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1050px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 520px) {
    .product-card-footer .btn {
        width: 100%;
    }
}

@media (max-width: 760px) {
    .product-details-modal-layout {
        grid-template-columns: 1fr;
    }

    .product-details-modal-image {
        min-height: 240px;
    }

    .product-details-modal-specs {
        grid-template-columns: 1fr;
    }
}

/* =============================================
   SHOP STYLE PRODUCTS PAGE
   ============================================= */
.shop-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
    align-items: start;
}

.shop-sidebar {
    position: relative;
}

.shop-filter-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    padding: 24px;
}

.shop-filter-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 22px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
}

.shop-filter-header h3 {
    font-family: 'Sora', sans-serif;
    font-size: 22px;
    color: var(--text);
    margin: 0;
}

.shop-filter-header a {
    font-size: 13px;
    font-weight: 800;
    color: var(--brand);
    text-decoration: none;
}

.shop-filter-header a:hover {
    color: var(--brand-dark);
}

.shop-filter-form {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.shop-filter-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.shop-filter-group label,
.shop-filter-group h4 {
    font-size: 13px;
    font-weight: 800;
    color: var(--text);
    margin: 0;
}

.shop-filter-group h4 {
    font-family: 'Sora', sans-serif;
    font-size: 15px;
    padding-bottom: 4px;
}

.shop-filter-group input[type="text"],
.shop-filter-group select {
    width: 100%;
    padding: 13px 15px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: 'DM Sans', sans-serif;
    font-size: 15px;
    color: var(--text);
    background: #fff;
}

.shop-filter-group input[type="text"]:focus,
.shop-filter-group select:focus {
    outline: none;
    border-color: var(--brand);
    box-shadow: 0 0 0 4px rgba(0,119,182,0.10);
}

.shop-radio {
    display: flex !important;
    align-items: center;
    gap: 9px;
    font-size: 14px !important;
    font-weight: 600 !important;
    color: var(--text-muted) !important;
    cursor: pointer;
    padding: 5px 0;
}

.shop-radio input {
    width: 16px;
    height: 16px;
    accent-color: var(--brand);
}

.shop-radio span {
    line-height: 1.3;
}

.shop-filter-submit {
    width: 100%;
}

.shop-results-header {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    padding: 24px;
    margin-bottom: 26px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.shop-results-header h2 {
    font-family: 'Sora', sans-serif;
    font-size: clamp(24px, 4vw, 34px);
    color: var(--text);
    margin-bottom: 6px;
}

.shop-results-header p {
    color: var(--text-muted);
    font-size: 15px;
    margin: 0;
}

.shop-results-controls {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 0 1 440px;
}

.shop-header-search {
    width: 100%;
    min-width: 220px;
    padding: 13px 15px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: 'DM Sans', sans-serif;
    font-size: 15px;
    color: var(--text);
    background: #ffffff;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.shop-header-search:focus {
    outline: none;
    border-color: var(--brand);
    box-shadow: 0 0 0 4px rgba(0,119,182,0.10);
}

.mobile-filter-toggle {
    display: none;
    width: auto;
    margin-top: 0;
}

@media (min-width: 1050px) {
    .shop-layout {
        grid-template-columns: 280px 1fr;
    }

    .shop-sidebar {
        position: sticky;
        top: 100px;
    }

    .shop-products-area .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1300px) {
    .shop-products-area .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 1049px) {
    .mobile-filter-toggle {
        display: inline-flex;
    }

    .shop-sidebar {
        display: none;
    }

    .shop-sidebar.open {
        display: block;
    }
}

@media (max-width: 600px) {
    .shop-filter-card,
    .shop-results-header {
        padding: 20px 18px;
    }

    .shop-results-header {
        flex-direction: column;
        align-items: stretch;
    }

    .shop-results-controls {
        flex-direction: column;
        align-items: stretch;
        flex-basis: auto;
    }

    .shop-header-search {
        min-width: 0;
    }

    .mobile-filter-toggle {
        width: 100%;
    }
}

/* =============================================
   UTILITIES
   ============================================= */
.mt-3 {
    margin-top: 24px;
}

.mt-4 {
    margin-top: 32px;
}

.text-center {
    text-align: center;
}

.is-hidden {
    display: none !important;
}

/* =============================================
   ANIMATIONS
   ============================================= */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-up {
    animation: fadeUp 0.6s ease both;
}

.fade-up-2 {
    animation-delay: 0.15s;
}

/* =============================================
   DELETE USER MODAL
   ============================================= */

.delete-modal-card {
    max-width: 520px;
}

.delete-modal-content {
    margin-bottom: 18px;
}

.delete-modal-content p {
    margin: 0;
    font-size: 1rem;
    line-height: 1.6;
    color: #1a1a2e;
}

.delete-modal-content strong {
    color: #111827;
}

.delete-confirm-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.delete-confirm-form .btn {
    width: 100%;
    justify-content: center;
    text-align: center;
}

.btn-danger,
.delete-confirm-btn {
    background: #dc2626;
    color: #ffffff;
    border: 1px solid #dc2626;
}

.btn-danger:hover,
.delete-confirm-btn:hover {
    background: #b91c1c;
    border-color: #b91c1c;
}

.delete-cancel-btn {
    background: #ffffff;
}

/* ── Messages ────────────────────────────────────────────────────── */
.msg-badge-new {
    display: inline-block;
    background: var(--brand);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 20px;
    font-family: 'Sora', sans-serif;
    line-height: 1.4;
}

.msg-badge-saved {
    display: inline-block;
    background: #fff4d8;
    color: #7a4b00;
    font-size: 11px;
    font-weight: 800;
    padding: 2px 8px;
    border: 1px solid #f5d58a;
    border-radius: 20px;
    font-family: 'Sora', sans-serif;
    line-height: 1.4;
}

.messages-list {
    display: grid;
    gap: 14px;
}

.messages-empty-state {
    text-align: center;
}

.messages-panel-header {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    align-items: stretch;
}

.messages-header-main {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
}

.messages-heading {
    min-width: 0;
}

.messages-mark-all-btn {
    background: #eaf7ff;
    color: var(--brand-deep);
    border: 1px solid #b9e0f5;
    box-shadow: 0 8px 20px rgba(0, 119, 182, 0.08);
}

.messages-mark-all-btn::before {
    content: "\2713";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--brand);
    color: #ffffff;
    font-size: 12px;
    font-weight: 900;
    line-height: 1;
}

.messages-mark-all-btn:hover {
    background: #d9f0fc;
    border-color: #8dcae8;
    color: var(--brand-deep);
    transform: translateY(-1px);
}

.messages-mark-all-form {
    flex: 0 0 auto;
    margin-left: 0;
}

.messages-filters-wrap {
    align-items: flex-start;
    width: 100%;
}

.messages-filters {
    justify-content: flex-start;
}

.msg-card {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) auto;
    gap: 16px;
    align-items: flex-start;
    padding: 18px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--bg);
    transition: box-shadow 0.2s;
}

.msg-card:hover {
    box-shadow: var(--shadow-sm);
}

.msg-unread {
    border-left: 3px solid var(--brand);
    background: #f8fbff;
}

.msg-saved {
    box-shadow: inset 3px 0 0 #f0b429;
}

.msg-avatar {
    width: 44px;
    height: 44px;
    font-size: 16px;
    flex-shrink: 0;
}

.msg-body {
    min-width: 0;
}

.msg-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 8px;
}

.msg-title-group {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.msg-title-group strong {
    font-family: 'Sora', sans-serif;
    color: var(--text);
    font-size: 15px;
}

.msg-header time {
    color: var(--text-muted);
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}

.msg-service-tag {
    display: inline-block;
    background: var(--accent-light);
    color: var(--brand-deep);
    font-size: 12px;
    font-weight: 500;
    padding: 2px 10px;
    border-radius: 20px;
}

.msg-contact-row {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    color: var(--text-muted);
    font-size: 13px;
    margin-bottom: 12px;
}

.msg-contact-row a {
    color: var(--brand);
    font-weight: 800;
    text-decoration: none;
}

.msg-contact-row a:hover {
    color: var(--brand-dark);
}

.msg-body p {
    color: var(--text);
    font-size: 14px;
    line-height: 1.65;
    margin: 0;
    white-space: pre-wrap;
}

.msg-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 172px;
}

.msg-actions form {
    width: 100%;
}

.msg-actions .table-btn {
    width: 100%;
    min-height: 36px;
    padding: 9px 14px;
    border-radius: 14px;
    white-space: nowrap;
}

.msg-mark-read-btn {
    gap: 8px;
    background: #eef8ff;
    color: var(--brand-deep);
    border: 1px solid #cbe7f6;
    box-shadow: 0 6px 16px rgba(0, 119, 182, 0.08);
}

.msg-mark-read-btn::before {
    content: "\2713";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--brand);
    color: #ffffff;
    font-size: 12px;
    font-weight: 900;
    line-height: 1;
}

.msg-mark-read-btn:hover {
    background: #ddf1fb;
    border-color: #9dd4ee;
}

.msg-save-btn {
    gap: 8px;
    background: #fff7e6;
    color: #7a4b00;
    border: 1px solid #f5d58a;
}

.msg-save-btn::before {
    content: "\2605";
    color: #d19000;
    font-size: 14px;
    line-height: 1;
}

.msg-save-btn:hover {
    background: #ffedbd;
    border-color: #e5bd59;
}

.msg-save-btn.saved {
    background: #f8f2e5;
    color: #5f4b27;
}

.msg-save-btn.saved::before {
    color: #9b6a00;
}

@media (max-width: 760px) {
    .msg-card {
        grid-template-columns: 44px minmax(0, 1fr);
    }

    .msg-actions {
        grid-column: 1 / -1;
        flex-direction: row;
        flex-wrap: wrap;
    }

    .msg-header {
        flex-direction: column;
        gap: 6px;
    }
}

@media (max-width: 520px) {
    .messages-heading {
        width: 100%;
    }

    .messages-header-main {
        flex-direction: column;
        align-items: stretch;
    }

    .messages-mark-all-form {
        width: 100%;
        margin-left: 0;
    }

    .messages-mark-all-btn {
        width: 100%;
        white-space: normal;
        line-height: 1.25;
    }
}

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

.messages-stat-card {
    min-width: 0;
    padding: 14px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: #ffffff;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.04);
}

.messages-stat-card span {
    display: block;
    color: var(--text-muted);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0;
    margin-bottom: 6px;
}

.messages-stat-card strong {
    display: block;
    color: var(--text);
    font-family: 'Sora', sans-serif;
    font-size: 22px;
    line-height: 1.2;
    overflow-wrap: anywhere;
}

.messages-stat-card.is-unread {
    border-color: #b9e0f5;
    background: #f4fbff;
}

.messages-stat-card.is-saved {
    border-color: #f5d58a;
    background: #fffaf0;
}

.msg-card {
    grid-template-columns: 46px minmax(0, 1fr) minmax(148px, auto);
    gap: 18px;
    padding: 18px;
    border-radius: var(--radius-sm);
    background: #ffffff;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
}

.msg-card:hover {
    border-color: #cbd5e1;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

.msg-unread {
    border-left: 4px solid var(--brand);
    background: #fbfdff;
    cursor: pointer;
}

.msg-saved {
    box-shadow: inset 4px 0 0 #f0b429, 0 8px 24px rgba(15, 23, 42, 0.04);
}

.msg-title-group strong {
    font-size: 16px;
    overflow-wrap: anywhere;
}

.msg-service-tag,
.msg-badge-new,
.msg-badge-saved {
    border-radius: 999px;
}

.msg-contact-row {
    gap: 8px;
    margin-bottom: 14px;
}

.msg-contact-row a,
.msg-contact-copy,
.msg-contact-chip {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    max-width: 100%;
    padding: 7px 10px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: var(--bg);
    color: var(--brand-deep);
    font: inherit;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
    overflow-wrap: anywhere;
}

.msg-contact-row a span,
.msg-contact-copy span,
.msg-contact-chip span {
    color: var(--text-muted);
    font-size: 11px;
    text-transform: uppercase;
}

.msg-contact-row a:hover,
.msg-contact-copy:hover,
.msg-contact-copy.copied {
    background: var(--accent-light);
    border-color: #b9e0f5;
}

.msg-preview {
    color: var(--text);
    font-size: 14px;
    line-height: 1.65;
    margin: 0;
}

.msg-details {
    margin-top: 10px;
    border-top: 1px solid var(--border);
    padding-top: 10px;
}

.msg-details summary {
    display: inline-flex;
    color: var(--brand);
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
}

.msg-details p {
    margin-top: 10px;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--bg);
}

.msg-actions {
    min-width: 148px;
}

.msg-reply-btn {
    border: 1px solid #cbe7f6;
    background: #eef8ff;
    color: var(--brand-deep);
}

.msg-reply-btn:hover {
    background: #dff3fc;
    border-color: #9dd4ee;
}

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

    .msg-card {
        grid-template-columns: 46px minmax(0, 1fr);
    }

    .msg-actions {
        grid-column: 1 / -1;
        display: grid;
        grid-template-columns: repeat(3, minmax(120px, 1fr));
        min-width: 0;
    }
}

@media (max-width: 560px) {
    .messages-stats-grid,
    .msg-actions {
        grid-template-columns: 1fr;
    }

    .msg-card {
        grid-template-columns: 1fr;
    }

    .msg-avatar {
        display: none;
    }
}
