/* =========================================
   SMART NURSERY TRACKING
   Main Stylesheet
========================================= */


/* ---------- VARIABLES ---------- */

:root {
    --forest: #14532D;
    --emerald: #16A34A;
    --brown: #795548;
    --background: #F8FAF7;
    --white: #FFFFFF;
    --slate: #334155;
    --muted: #64748B;
    --light-green: #DCFCE7;
    --border: #E2E8F0;
    --dark: #102A1B;

    --container: 1180px;
    --radius: 18px;
    --shadow: 0 20px 50px rgba(20, 83, 45, 0.10);
}


/* ---------- RESET ---------- */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: var(--background);
    color: var(--slate);
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

button,
input,
textarea,
select {
    font: inherit;
}


/* ---------- GLOBAL ---------- */

.container {
    width: min(92%, var(--container));
    margin: 0 auto;
}

.section-label {
    display: inline-block;
    color: var(--emerald);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-bottom: 14px;
}


/* ---------- HEADER ---------- */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(248, 250, 247, 0.95);
    border-bottom: 1px solid rgba(20, 83, 45, 0.08);
    backdrop-filter: blur(12px);
}

.nav-container {
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.brand img {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.brand-name {
    color: var(--forest);
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 0.04em;
}

.brand-subtitle {
    color: var(--emerald);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.18em;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

.main-nav a {
    color: var(--slate);
    font-size: 0.9rem;
    font-weight: 600;
    transition: 0.25s ease;
}

.main-nav a:hover {
    color: var(--emerald);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 18px;
}

.login-link {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--forest);
}


/* ---------- BUTTONS ---------- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    border-radius: 10px;
    padding: 12px 20px;
    font-size: 0.9rem;
    font-weight: 700;
    transition: 0.25s ease;
}

.btn-primary {
    background: var(--forest);
    color: var(--white);
    box-shadow: 0 8px 20px rgba(20, 83, 45, 0.18);
}

.btn-primary:hover {
    background: var(--emerald);
    transform: translateY(-2px);
}

.btn-secondary {
    background: var(--white);
    color: var(--forest);
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    border-color: var(--emerald);
    transform: translateY(-2px);
}

.btn-light {
    background: var(--white);
    color: var(--forest);
}

.btn-light:hover {
    transform: translateY(-2px);
}

.btn-large {
    padding: 15px 24px;
}


/* ---------- HERO ---------- */

.hero {
    padding: 90px 0 100px;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 70px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    background: var(--light-green);
    color: var(--forest);
    border-radius: 100px;
    padding: 8px 14px;
    font-size: 0.78rem;
    font-weight: 700;
    margin-bottom: 22px;
}

.eyebrow-dot {
    width: 8px;
    height: 8px;
    background: var(--emerald);
    border-radius: 50%;
}

.hero h1 {
    color: var(--dark);
    font-size: clamp(2.7rem, 5vw, 4.7rem);
    line-height: 1.05;
    letter-spacing: -0.04em;
    margin-bottom: 25px;
}

.hero h1 span {
    display: block;
    color: var(--forest);
}

.hero-description {
    max-width: 620px;
    color: var(--muted);
    font-size: 1.08rem;
    line-height: 1.8;
    margin-bottom: 15px;
}

.hero-motto {
    color: var(--brown);
    font-weight: 700;
    font-style: italic;
    margin-bottom: 30px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 38px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 600;
}

.trust-item strong {
    font-size: 1.1rem;
}


/* ---------- HERO VISUAL ---------- */

.hero-visual {
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.visual-glow {
    position: absolute;
    width: 390px;
    height: 390px;
    border-radius: 50%;
    background: var(--light-green);
    filter: blur(2px);
}

.dashboard-preview {
    position: relative;
    z-index: 2;
    width: min(100%, 480px);
    background: var(--white);
    border: 1px solid rgba(20, 83, 45, 0.10);
    border-radius: 24px;
    padding: 25px;
    box-shadow: var(--shadow);
    transform: rotate(1.5deg);
}

.preview-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 22px;
}

.preview-header small {
    display: block;
    color: var(--muted);
    font-size: 0.75rem;
    margin-bottom: 2px;
}

.preview-header h3 {
    color: var(--dark);
    font-size: 1.2rem;
}

.status-badge {
    display: flex;
    align-items: center;
    gap: 7px;
    background: var(--light-green);
    color: var(--forest);
    padding: 7px 11px;
    border-radius: 100px;
    font-size: 0.7rem;
    font-weight: 700;
}

.status-badge span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--emerald);
}

.preview-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 14px;
}

.preview-card {
    background: var(--background);
    border-radius: 14px;
    padding: 17px;
}

.preview-card span,
.preview-card small {
    display: block;
}

.preview-card span {
    color: var(--muted);
    font-size: 0.72rem;
}

.preview-card strong {
    display: block;
    color: var(--forest);
    font-size: 1.55rem;
    margin: 5px 0;
}

.preview-card small {
    color: var(--emerald);
    font-size: 0.68rem;
}

.growth-card {
    background: var(--forest);
    color: var(--white);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 14px;
}

.growth-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.growth-heading span,
.growth-heading strong {
    display: block;
}

.growth-heading span {
    font-size: 0.72rem;
    opacity: 0.75;
}

.growth-heading strong {
    font-size: 0.85rem;
}

.growth-percent {
    font-size: 1.4rem !important;
    font-weight: 800;
    opacity: 1 !important;
}

.progress-bar {
    height: 9px;
    background: rgba(255, 255, 255, 0.18);
    border-radius: 100px;
    overflow: hidden;
    margin: 18px 0 9px;
}

.progress-bar div {
    width: 78%;
    height: 100%;
    background: var(--emerald);
    border-radius: inherit;
}

.growth-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.65rem;
    opacity: 0.7;
}

.preview-footer {
    display: flex;
    align-items: center;
    gap: 12px;
}

.mini-icon {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    background: var(--light-green);
    border-radius: 11px;
}

.preview-footer div:nth-child(2) {
    flex: 1;
}

.preview-footer strong,
.preview-footer span {
    display: block;
}

.preview-footer strong {
    color: var(--dark);
    font-size: 0.8rem;
}

.preview-footer div:nth-child(2) span {
    color: var(--muted);
    font-size: 0.68rem;
}

.arrow {
    color: var(--emerald);
    font-weight: 800;
}


/* ---------- FEATURES ---------- */

.features-section {
    padding: 100px 0;
    background: var(--white);
}

.section-heading {
    max-width: 700px;
    margin-bottom: 50px;
}

.section-heading h2,
.about-content h2,
.technology-content h2,
.cta-content h2 {
    color: var(--dark);
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1.15;
    letter-spacing: -0.03em;
    margin-bottom: 18px;
}

.section-heading h2 span,
.about-content h2 span,
.technology-content h2 span,
.cta-content h2 span {
    color: var(--forest);
}

.section-heading p {
    color: var(--muted);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.feature-card {
    background: var(--background);
    border: 1px solid transparent;
    border-radius: var(--radius);
    padding: 28px;
    transition: 0.25s ease;
}

.feature-card:hover {
    border-color: rgba(22, 163, 74, 0.25);
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(20, 83, 45, 0.07);
}

.feature-icon {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    background: var(--light-green);
    border-radius: 13px;
    font-size: 1.25rem;
    margin-bottom: 20px;
}

.feature-card h3 {
    color: var(--dark);
    margin-bottom: 10px;
    font-size: 1.05rem;
}

.feature-card p {
    color: var(--muted);
    font-size: 0.88rem;
    line-height: 1.7;
    margin-bottom: 18px;
}

.feature-card a {
    color: var(--forest);
    font-size: 0.82rem;
    font-weight: 800;
}


/* ---------- ABOUT ---------- */

.about-section {
    padding: 110px 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    align-items: center;
    gap: 80px;
}

.about-visual {
    min-height: 400px;
    display: grid;
    place-items: center;
}

.about-card {
    width: min(100%, 380px);
    aspect-ratio: 1 / 1;
    border-radius: 35px;
    background: var(--forest);
    color: var(--white);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: var(--shadow);
}

.tree-symbol {
    font-size: 5rem;
    margin-bottom: 15px;
}

.about-card span {
    font-size: 0.75rem;
    letter-spacing: 0.16em;
    opacity: 0.7;
}

.about-card strong {
    font-size: 2rem;
    margin: 5px 0 12px;
}

.about-line {
    width: 60px;
    height: 2px;
    background: var(--emerald);
    margin-bottom: 12px;
}

.about-content p {
    color: var(--muted);
    margin-bottom: 18px;
}


/* ---------- TECHNOLOGY ---------- */

.technology-section {
    padding: 100px 0;
    background: var(--dark);
    color: var(--white);
}

.technology-content {
    max-width: 900px;
}

.technology-content h2 {
    color: var(--white);
}

.technology-content h2 span {
    color: #4ADE80;
}

.technology-content > p {
    max-width: 700px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 45px;
}

.technology-points {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.technology-points div {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding-top: 18px;
}

.technology-points strong {
    display: block;
    color: #4ADE80;
    font-size: 0.75rem;
    margin-bottom: 10px;
}

.technology-points span {
    font-size: 0.85rem;
    font-weight: 700;
}


/* ---------- CTA ---------- */

.cta-section {
    padding: 100px 0;
    background: var(--emerald);
    color: var(--white);
    text-align: center;
}

.cta-content {
    max-width: 760px;
}

.cta-content .section-label {
    color: var(--light-green);
}

.cta-content h2 {
    color: var(--white);
}

.cta-content h2 span {
    color: var(--light-green);
}

.cta-content p {
    max-width: 600px;
    margin: 0 auto 30px;
    color: rgba(255, 255, 255, 0.85);
}


/* ---------- FOOTER ---------- */

.site-footer {
    background: #0B2115;
    color: var(--white);
    padding: 30px 0;
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-brand img {
    width: 42px;
    height: 42px;
    object-fit: contain;
}

.footer-brand strong,
.footer-brand span {
    display: block;
}

.footer-brand strong {
    font-size: 0.8rem;
}

.footer-brand span {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.68rem;
    margin-top: 3px;
}

.footer-content > p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.72rem;
}

/* =========================================================
   AUTHENTICATION / LOGIN
========================================================= */

.auth-page {
    margin: 0;
    min-height: 100vh;
    background: #f8faf7;
    font-family: "Inter", sans-serif;
    color: #334155;
}

.auth-container {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
}


/* =========================================================
   LEFT VISUAL PANEL
========================================================= */

.auth-visual {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    background:
        linear-gradient(
            145deg,
            #14532d 0%,
            #0f4225 55%,
            #092d19 100%
        );
    color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 48px;
}

.auth-visual::before {
    content: "";
    position: absolute;
    width: 520px;
    height: 520px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    right: -180px;
    top: -150px;
}

.auth-visual::after {
    content: "";
    position: absolute;
    width: 380px;
    height: 380px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 50%;
    left: -180px;
    bottom: -140px;
}

.auth-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(
            circle at 80% 20%,
            rgba(22, 163, 74, 0.16),
            transparent 35%
        );
    pointer-events: none;
}

.auth-visual-content {
    position: relative;
    z-index: 2;
    max-width: 560px;
}

.auth-logo {
    display: inline-flex;
    align-items: center;
    margin-bottom: 110px;
}

.auth-logo img {
    width: 190px;
    height: auto;
    object-fit: contain;
}

.auth-message {
    max-width: 510px;
}

.auth-eyebrow {
    display: inline-block;
    margin-bottom: 20px;
    color: #86efac;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
}

.auth-message h1 {
    margin: 0 0 22px;
    color: #ffffff;
    font-size: clamp(38px, 4vw, 62px);
    line-height: 1.05;
    letter-spacing: -2px;
    font-weight: 800;
}

.auth-message p {
    max-width: 490px;
    margin: 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: 16px;
    line-height: 1.8;
}


/* =========================================================
   LEFT PANEL FEATURES
========================================================= */

.auth-features {
    margin-top: 55px;
    display: grid;
    gap: 18px;
}

.auth-feature {
    display: flex;
    align-items: center;
    gap: 14px;
}

.feature-icon {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(134, 239, 172, 0.12);
    border: 1px solid rgba(134, 239, 172, 0.2);
    color: #86efac;
    font-size: 14px;
    font-weight: 700;
}

.auth-feature strong {
    display: block;
    color: #ffffff;
    font-size: 13px;
    margin-bottom: 3px;
}

.auth-feature small {
    display: block;
    color: rgba(255, 255, 255, 0.5);
    font-size: 11px;
}


/* =========================================================
   LEFT FOOTER
========================================================= */

.auth-visual-footer {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 9px;
    color: rgba(255, 255, 255, 0.4);
    font-size: 11px;
}


/* =========================================================
   RIGHT FORM PANEL
========================================================= */

.auth-form-section {
    min-height: 100vh;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 50px;
}

.auth-form-wrapper {
    width: 100%;
    max-width: 440px;
}


/* =========================================================
   FORM HEADER
========================================================= */

.auth-heading {
    margin-bottom: 38px;
}

.auth-form-label {
    display: block;
    margin-bottom: 12px;
    color: #16a34a;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.8px;
}

.auth-heading h2 {
    margin: 0 0 12px;
    color: #17261d;
    font-size: 32px;
    line-height: 1.2;
    letter-spacing: -1px;
    font-weight: 800;
}

.auth-heading p {
    margin: 0;
    color: #64748b;
    font-size: 14px;
    line-height: 1.7;
}


/* =========================================================
   FORM
========================================================= */

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.form-group label,
.label-row label {
    color: #334155;
    font-size: 13px;
    font-weight: 600;
}

.label-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.forgot-password {
    color: #16a34a;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
}

.forgot-password:hover {
    text-decoration: underline;
}


/* =========================================================
   INPUTS
========================================================= */

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-wrapper input {
    width: 100%;
    height: 52px;
    box-sizing: border-box;
    border: 1px solid #dbe3dd;
    border-radius: 10px;
    outline: none;
    background: #ffffff;
    padding: 0 60px 0 45px;
    color: #17261d;
    font-family: inherit;
    font-size: 14px;
    transition: all 0.2s ease;
}

.input-wrapper input::placeholder {
    color: #a1aeb0;
}

.input-wrapper input:hover {
    border-color: #b9c9bd;
}

.input-wrapper input:focus {
    border-color: #16a34a;
    box-shadow: 0 0 0 4px rgba(22, 163, 74, 0.08);
}

.input-icon {
    position: absolute;
    left: 17px;
    z-index: 2;
    color: #94a3a0;
    font-size: 16px;
    font-weight: 700;
    pointer-events: none;
}

.password-toggle {
    position: absolute;
    right: 14px;
    border: 0;
    background: transparent;
    color: #64748b;
    font-family: inherit;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
}

.password-toggle:hover {
    color: #16a34a;
}


/* =========================================================
   REMEMBER ME
========================================================= */

.remember-row {
    margin-top: -5px;
}

.checkbox-label {
    display: inline-flex !important;
    align-items: center;
    gap: 9px;
    color: #64748b !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    cursor: pointer;
}

.checkbox-label input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.custom-checkbox {
    width: 16px;
    height: 16px;
    border: 1px solid #cbd5cf;
    border-radius: 4px;
    background: #ffffff;
    position: relative;
    transition: 0.2s ease;
}

.checkbox-label input:checked + .custom-checkbox {
    background: #16a34a;
    border-color: #16a34a;
}

.checkbox-label input:checked + .custom-checkbox::after {
    content: "✓";
    position: absolute;
    left: 3px;
    top: -1px;
    color: #ffffff;
    font-size: 12px;
    font-weight: 800;
}


/* =========================================================
   SIGN IN BUTTON
========================================================= */

.auth-submit {
    width: 100%;
    height: 52px;
    border: none;
    border-radius: 10px;
    background: #14532d;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 18px 0 22px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s ease;
}

.auth-submit:hover {
    background: #16a34a;
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(20, 83, 45, 0.16);
}

.submit-arrow {
    font-size: 19px;
    transition: transform 0.2s ease;
}

.auth-submit:hover .submit-arrow {
    transform: translateX(4px);
}


/* =========================================================
   DIVIDER
========================================================= */

.auth-divider {
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 30px 0;
    color: #a0aaa4;
    font-size: 10px;
    font-weight: 700;
}

.auth-divider::before,
.auth-divider::after {
    content: "";
    height: 1px;
    flex: 1;
    background: #e7ece8;
}


/* =========================================================
   DEMO LOGIN
========================================================= */

.demo-login {
    width: 100%;
    min-height: 50px;
    box-sizing: border-box;
    border: 1px solid #dce7df;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 18px;
    color: #14532d;
    background: #f8faf7;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    transition: all 0.2s ease;
}

.demo-login:hover {
    border-color: #16a34a;
    background: #f0fdf4;
}

.demo-login span:last-child {
    font-size: 18px;
}


/* =========================================================
   REGISTER
========================================================= */

.auth-register {
    margin: 28px 0 0;
    text-align: center;
    color: #64748b;
    font-size: 12px;
}

.auth-register a {
    color: #14532d;
    font-weight: 700;
    text-decoration: none;
}

.auth-register a:hover {
    color: #16a34a;
    text-decoration: underline;
}


/* =========================================================
   SECURITY MESSAGE
========================================================= */

.auth-security {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 7px;
    color: #94a3a0;
    font-size: 10px;
}

.security-icon {
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #dcfce7;
    color: #16a34a;
    font-size: 9px;
    font-weight: 800;
}


/* =========================================================
   MOBILE LOGO
========================================================= */

.mobile-auth-logo {
    display: none;
}

.mobile-auth-logo img {
    width: 170px;
    height: auto;
}

/* =========================================================
   REGISTER SELECT
========================================================= */

.input-wrapper select {
    width: 100%;
    height: 52px;
    box-sizing: border-box;

    border: 1px solid #dbe3dd;
    border-radius: 10px;

    outline: none;
    background: #ffffff;

    padding: 0 45px;

    color: #17261d;
    font-family: inherit;
    font-size: 14px;

    cursor: pointer;

    appearance: none;
    -webkit-appearance: none;

    transition: all 0.2s ease;
}

.input-wrapper select:invalid {
    color: #a1aeb0;
}

.input-wrapper select:focus {
    border-color: #16a34a;
    box-shadow: 0 0 0 4px rgba(22, 163, 74, 0.08);
}

.input-wrapper select:hover {
    border-color: #b9c9bd;
}

.checkbox-label a {
    color: #16a34a;
    text-decoration: none;
    font-weight: 600;
}

.checkbox-label a:hover {
    text-decoration: underline;
}

/* =========================================================
   SNT SIDEBAR HELP
========================================================= */

.sidebar-help {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 11px;
    position: relative;

    padding: 12px;

    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;

    background: rgba(255, 255, 255, 0.04);

    color: inherit;
    font-family: inherit;
    text-align: left;

    cursor: pointer;

    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}

.sidebar-help:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-1px);
}

.sidebar-help:focus-visible {
    outline: 2px solid rgba(117, 190, 132, 0.8);
    outline-offset: 2px;
}


/* Help Icon */

.sidebar-help .help-icon {
    flex-shrink: 0;

    width: 34px;
    height: 34px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 9px;

    background: rgba(75, 150, 96, 0.18);
    border: 1px solid rgba(110, 180, 125, 0.18);

    color: #9fd4aa;

    font-size: 14px;
    font-weight: 800;
}


/* Help Text */

.sidebar-help-content {
    min-width: 0;
    flex: 1;

    display: flex;
    flex-direction: column;
    gap: 2px;
}

.sidebar-help-content strong {
    color: #ffffff;

    font-size: 12px;
    font-weight: 700;

    line-height: 1.3;
}

.sidebar-help-content span {
    color: rgba(255, 255, 255, 0.52);

    font-size: 10px;

    line-height: 1.4;

    white-space: nowrap;
}


/* Arrow */

.help-arrow {
    flex-shrink: 0;

    color: rgba(255, 255, 255, 0.35);

    font-size: 16px;

    transition:
        color 0.2s ease,
        transform 0.2s ease;
}

.sidebar-help:hover .help-arrow {
    color: #9fd4aa;
    transform: translateX(3px);
}


/* =========================================================
   SIDEBAR BOTTOM
========================================================= */

.sidebar-bottom {
    display: flex;
    flex-direction: column;
    gap: 12px;
}


/* =========================================================
   SIGN OUT
========================================================= */

.logout-button {
    display: flex;
    align-items: center;
    gap: 10px;

    width: 100%;

    padding: 11px 12px;

    border-radius: 10px;

    color: rgba(255, 255, 255, 0.65);

    text-decoration: none;

    font-size: 12px;
    font-weight: 600;

    transition:
        background 0.2s ease,
        color 0.2s ease;
}

.logout-button:hover {
    background: rgba(255, 255, 255, 0.06);
    color: #ffffff;
}

.logout-button span:first-child {
    font-size: 17px;
}
/* =========================================================
   SNT SYSTEM GUIDELINES
========================================================= */

.snt-guidelines-overlay {
    position: fixed;
    inset: 0;

    z-index: 99999;

    display: none;
    align-items: center;
    justify-content: center;

    padding: 24px;

    background: rgba(8, 18, 12, 0.72);

    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.snt-guidelines-overlay.active {
    display: flex;
}


/* Prevent dashboard from scrolling behind modal */

body.snt-guidelines-open {
    overflow: hidden;
}


/* =========================================================
   MODAL
========================================================= */

.snt-guidelines-modal {
    width: min(1050px, 100%);
    max-height: min(820px, 92vh);

    display: flex;
    flex-direction: column;

    overflow: hidden;

    background: #ffffff;

    border: 1px solid rgba(31, 86, 48, 0.12);

    border-radius: 18px;

    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.28),
        0 8px 30px rgba(0, 0, 0, 0.12);

    animation: sntGuidelinesIn 0.22s ease;
}

@keyframes sntGuidelinesIn {

    from {
        opacity: 0;
        transform: translateY(15px) scale(0.98);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }

}


/* =========================================================
   HEADER
========================================================= */

.snt-guidelines-header {
    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 20px 24px;

    background: #173d25;

    color: #ffffff;
}

.snt-guidelines-title-area {
    display: flex;
    align-items: center;
    gap: 13px;
}

.snt-guidelines-logo {
    width: 44px;
    height: 44px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 12px;

    background: rgba(255, 255, 255, 0.1);

    font-size: 21px;
}

.snt-help-label {
    display: block;

    margin-bottom: 3px;

    color: rgba(255, 255, 255, 0.55);

    font-size: 9px;
    font-weight: 800;

    letter-spacing: 1.2px;
}

.snt-guidelines-header h2 {
    margin: 0;

    color: #ffffff;

    font-size: 19px;
    font-weight: 750;
}

.snt-guidelines-header p {
    margin: 3px 0 0;

    color: rgba(255, 255, 255, 0.62);

    font-size: 11px;
}

.snt-guidelines-close {
    width: 36px;
    height: 36px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 0;
    border-radius: 9px;

    background: rgba(255, 255, 255, 0.08);

    color: #ffffff;

    font-size: 24px;
    line-height: 1;

    cursor: pointer;

    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

.snt-guidelines-close:hover {
    background: rgba(255, 255, 255, 0.16);
    transform: rotate(3deg);
}


/* =========================================================
   BODY
========================================================= */

.snt-guidelines-body {
    flex: 1;

    min-height: 0;

    overflow-y: auto;

    padding: 22px 24px 26px;

    background: #f7faf8;
}


/* =========================================================
   INTRO
========================================================= */

.snt-guide-intro {
    display: flex;
    align-items: flex-start;
    gap: 13px;

    margin-bottom: 20px;

    padding: 16px;

    border: 1px solid #e0ebe3;
    border-radius: 13px;

    background: #ffffff;
}

.snt-guide-intro-icon {
    width: 38px;
    height: 38px;

    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 10px;

    background: #edf7ef;

    font-size: 18px;
}

.snt-guide-intro h3 {
    margin: 0 0 5px;

    color: #173d25;

    font-size: 14px;
}

.snt-guide-intro p {
    margin: 0;

    color: #65746a;

    font-size: 11px;
    line-height: 1.65;
}


/* =========================================================
   NAVIGATION
========================================================= */

.snt-guide-navigation {
    display: grid;

    grid-template-columns:
        repeat(9, minmax(90px, 1fr));

    gap: 7px;

    margin-bottom: 18px;

    padding: 7px;

    border: 1px solid #e1e9e3;
    border-radius: 12px;

    background: #ffffff;
}

.snt-guide-nav-item {
    min-width: 0;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    gap: 5px;

    padding: 10px 5px;

    border: 0;
    border-radius: 9px;

    background: transparent;

    color: #718078;

    cursor: pointer;

    transition:
        background 0.2s ease,
        color 0.2s ease;
}

.snt-guide-nav-item span {
    font-size: 16px;
}

.snt-guide-nav-item strong {
    font-size: 9px;
    font-weight: 700;
}

.snt-guide-nav-item:hover {
    background: #f1f6f2;
    color: #245c36;
}

.snt-guide-nav-item.active {
    background: #e9f5ec;
    color: #1f6535;
}


/* =========================================================
   GUIDE CONTENT
========================================================= */

.snt-guide-content {
    min-height: 0;
}

.snt-guide-panel {
    display: none;

    padding: 22px;

    border: 1px solid #e0e9e2;
    border-radius: 14px;

    background: #ffffff;
}

.snt-guide-panel.active {
    display: block;

    animation: sntGuidePanelIn 0.18s ease;
}

@keyframes sntGuidePanelIn {

    from {
        opacity: 0;
        transform: translateY(5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}

.snt-guide-number {
    display: inline-flex;

    margin-bottom: 9px;

    color: #5a9870;

    font-size: 10px;
    font-weight: 800;

    letter-spacing: 1px;
}

.snt-guide-panel h3 {
    margin: 0 0 7px;

    color: #173d25;

    font-size: 17px;
}

.snt-guide-panel > p {
    max-width: 780px;

    margin: 0 0 17px;

    color: #65746a;

    font-size: 11px;

    line-height: 1.7;
}


/* =========================================================
   GUIDE POINTS
========================================================= */

.snt-guide-points {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 8px;
}

.snt-guide-points div {
    display: flex;
    align-items: flex-start;
    gap: 9px;

    padding: 10px 11px;

    border-radius: 9px;

    background: #f6f9f7;

    color: #4d5c52;

    font-size: 10px;

    line-height: 1.55;
}

.snt-guide-points div span {
    flex-shrink: 0;

    width: 20px;
    height: 20px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 6px;

    background: #e5f3e8;

    color: #27703d;

    font-size: 9px;
    font-weight: 800;
}


/* =========================================================
   IMPORTANT NOTICE
========================================================= */

.snt-guide-notice {
    display: flex;
    align-items: flex-start;
    gap: 11px;

    margin-top: 14px;

    padding: 13px 15px;

    border: 1px solid #eadfbf;
    border-radius: 11px;

    background: #fffaf0;
}

.snt-guide-notice-icon {
    width: 24px;
    height: 24px;

    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 7px;

    background: #f1d98d;

    color: #6b5312;

    font-size: 11px;
    font-weight: 800;
}

.snt-guide-notice strong {
    display: block;

    margin-bottom: 3px;

    color: #665015;

    font-size: 11px;
}

.snt-guide-notice p {
    margin: 0;

    color: #796b45;

    font-size: 10px;

    line-height: 1.55;
}


/* =========================================================
   FOOTER
========================================================= */

.snt-guidelines-footer {
    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 13px 20px;

    border-top: 1px solid #e5ebe7;

    background: #ffffff;
}

.snt-guidelines-footer span {
    color: #89958d;

    font-size: 10px;
    font-weight: 600;
}

.snt-guidelines-footer-button {
    padding: 8px 15px;

    border: 0;
    border-radius: 8px;

    background: #245f35;

    color: #ffffff;

    font-family: inherit;

    font-size: 10px;
    font-weight: 700;

    cursor: pointer;

    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

.snt-guidelines-footer-button:hover {
    background: #194b29;
    transform: translateY(-1px);
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 900px) {

    .snt-guide-navigation {
        grid-template-columns:
            repeat(5, minmax(80px, 1fr));
    }

}


@media (max-width: 650px) {

    .snt-guidelines-overlay {
        padding: 10px;
    }

    .snt-guidelines-modal {
        max-height: 96vh;
        border-radius: 14px;
    }

    .snt-guidelines-header {
        padding: 15px;
    }

    .snt-guidelines-body {
        padding: 15px;
    }

    .snt-guide-navigation {
        grid-template-columns:
            repeat(3, 1fr);
    }

    .snt-guide-points {
        grid-template-columns: 1fr;
    }

    .snt-guidelines-footer {
        padding: 11px 15px;
    }

}


@media (max-width: 420px) {

    .snt-guidelines-header h2 {
        font-size: 16px;
    }

    .snt-guidelines-header p {
        font-size: 10px;
    }

    .snt-guide-intro {
        padding: 12px;
    }

    .snt-guide-panel {
        padding: 15px;
    }

}

/* SNT Help Button */
#openSNTGuidelines {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 10px 12px;
    background: transparent;
    color: inherit;
    border: none;
    border-radius: 6px;
    font: inherit;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.2s ease;
}

#openSNTGuidelines:hover {
    background: rgba(25, 135, 84, 0.1);
}

#openSNTGuidelines:focus-visible {
    outline: 2px solid #198754;
    outline-offset: 2px;
}