/* =========================================================
   FarmaPro.app - Clean UI stylesheet
   ========================================================= */

:root {
    --fp-green-dark: #173524;
    --fp-green-mid: #1f432e;
    --fp-green: #276749;
    --fp-green-soft: #e8f3ec;
    --fp-lime: #a7d46f;
    --fp-bg: #f6f7f2;
    --fp-card: #ffffff;
    --fp-text: #1f2d24;
    --fp-muted: #6b756d;
    --fp-border: #dfe7dd;
    --fp-danger: #c53030;
    --fp-warning: #b7791f;
    --fp-blue: #2b6cb0;
}

* { box-sizing: border-box; }
html, body { min-height: 100%; }

body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    color: var(--fp-text);
    background: var(--fp-bg);
}

a { text-decoration: none; }
.alert { border-radius: 15px; }

/* =========================================================
   LOGIN
   ========================================================= */

.fp-login-page {
    min-height: 100vh;
    overflow-x: hidden;
}

.fp-login-wrapper {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
}

.fp-login-left {
    position: relative;
    padding: 48px 64px;
    background:
        radial-gradient(circle at top left, rgba(143, 191, 77, 0.35), transparent 34%),
        linear-gradient(135deg, #173524 0%, #214b34 52%, #315f3e 100%);
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
}

.fp-login-left::after {
    content: "";
    position: absolute;
    right: -140px;
    bottom: -140px;
    width: 420px;
    height: 420px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 50%;
}

.fp-login-brand {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 16px;
}

.fp-logo-mark {
    width: 100px;
    height: 100px;
    border-radius: 18px;
    background: linear-gradient(135deg, #214b34 0%, #2f6b47 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 15px 35px rgba(0, 0, 0, .20);
    overflow: hidden;
    flex: 0 0 auto;
}

.fp-logo-icon {
    width: 70px;
    height: 70px;
    object-fit: contain;
}

.fp-brand-label {
    display: block;
    margin-bottom: 10px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: rgba(255, 255, 255, .75);
}

.fp-login-brand h1 {
    margin: 0;
    font-size: 32px;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -1px;
}

.fp-login-brand p,
.fp-client-subtitle {
    margin-top: 8px;
    margin-bottom: 0;
    color: rgba(255, 255, 255, .75);
    font-size: 15px;
}

.fp-login-copy {
    position: relative;
    z-index: 2;
    max-width: 680px;
    margin-top: 90px;
}

.fp-kicker {
    display: inline-flex;
    padding: 8px 13px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    color: #e8f7df;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.4px;
    margin-bottom: 20px;
}

.fp-login-copy h2 {
    font-size: clamp(34px, 4vw, 58px);
    line-height: 1.04;
    letter-spacing: -1.8px;
    font-weight: 800;
    margin-bottom: 22px;
}

.fp-login-copy p {
    max-width: 570px;
    font-size: 18px;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.78);
    margin: 0;
}

.fp-login-stats {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-top: 40px;
}

.fp-login-stats div {
    padding: 18px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.11);
    border: 1px solid rgba(255, 255, 255, 0.13);
    backdrop-filter: blur(10px);
}

.fp-login-stats strong {
    display: block;
    font-size: 16px;
    margin-bottom: 4px;
}

.fp-login-stats span {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.72);
}

.fp-login-right {
    background: linear-gradient(180deg, #ffffff 0%, #f5f7f2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 36px;
}

.fp-login-card {
    width: 100%;
    max-width: 430px;
    background: var(--fp-card);
    border-radius: 28px;
    padding: 42px;
    box-shadow: 0 24px 70px rgba(31, 45, 36, 0.12);
    border: 1px solid rgba(223, 231, 221, 0.8);
}

.fp-login-card-wow {
    position: relative;
    overflow: hidden;
}

.fp-login-card-wow::before {
    content: "";
    position: absolute;
    top: -90px;
    right: -90px;
    width: 210px;
    height: 210px;
    border-radius: 50%;
    background: rgba(39, 103, 73, 0.08);
}

.fp-login-card-wow::after {
    content: "";
    position: absolute;
    bottom: -120px;
    left: -120px;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: rgba(143, 191, 77, 0.10);
}

.fp-login-card > * {
    position: relative;
    z-index: 2;
}

.fp-login-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 28px;
}

.fp-login-card-logo {
    width: 58px;
    height: 58px;
    border-radius: 18px;
    background: #f3f0e7;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 14px 34px rgba(31, 45, 36, 0.10);
}

.fp-login-card-logo-img {
    width: 36px;
    height: 36px;
    object-fit: contain;
}

.fp-system-badge {
    display: inline-flex;
    align-items: center;
    padding: 8px 13px;
    border-radius: 999px;
    background: var(--fp-green-soft);
    color: var(--fp-green);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .6px;
}

.fp-login-card h3 {
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 6px;
}

.fp-login-card p {
    color: var(--fp-muted);
    margin-bottom: 0;
}

.form-label {
    font-size: 14px;
    font-weight: 700;
    color: var(--fp-text);
}

.fp-input-group { position: relative; }

.fp-input-group span {
    position: absolute;
    left: 17px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--fp-muted);
    z-index: 3;
    font-size: 15px;
}

.fp-input {
    height: 52px;
    border-radius: 15px;
    border: 1px solid var(--fp-border);
    background: #fbfcfa;
    padding-left: 16px;
    font-size: 15px;
}

.fp-input-with-icon { padding-left: 48px; }

.fp-input:focus {
    border-color: var(--fp-green);
    box-shadow: 0 0 0 4px rgba(39, 103, 73, 0.12);
}

.fp-btn-primary {
    height: 52px;
    border-radius: 15px;
    border: 0;
    background: linear-gradient(135deg, #276749 0%, #3f8f57 100%);
    color: #fff;
    font-weight: 800;
    box-shadow: 0 14px 30px rgba(39, 103, 73, 0.24);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all .18s ease;
}

.fp-btn-primary:hover {
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 18px 34px rgba(39, 103, 73, 0.28);
}

.fp-btn-primary i {
    font-size: 14px;
    transition: transform .18s ease;
}

.fp-btn-primary:hover i { transform: translateX(3px); }

.fp-login-card-note {
    margin-top: 22px;
    padding: 14px 16px;
    border-radius: 16px;
    background: var(--fp-bg);
    border: 1px solid var(--fp-border);
    color: var(--fp-muted);
    font-size: 13px;
    display: flex;
    gap: 10px;
    align-items: center;
}

.fp-login-card-note i { color: var(--fp-green); }
.fp-alert { border-radius: 16px; border: 0; }

.fp-login-footer {
    margin-top: 28px;
    text-align: center;
    color: var(--fp-muted);
    font-size: 13px;
}

/* =========================================================
   APP LAYOUT
   ========================================================= */

.fp-app-body { background: var(--fp-bg); }

/* Desktop sidebar */

.fp-sidebar {
    position: fixed;
    left: 0;
    top: 0;
    width: 292px;
    height: 100vh;
    padding: 12px;
    background:
        radial-gradient(circle at top left, rgba(143, 191, 77, 0.18), transparent 34%),
        linear-gradient(180deg, #173524 0%, #1f432e 52%, #163120 100%);
    color: #fff;
    z-index: 1000;
    overflow: hidden;
}

.fp-sidebar-inner {
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.fp-sidebar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 6px 4px 10px;
}

.fp-sidebar-logo {
    width: 50px;
    height: 50px;
    border-radius: 16px;
    background: #f3f0e7;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 14px 30px rgba(0,0,0,.18);
    flex: 0 0 auto;
}

.fp-sidebar-logo img {
    width: 34px;
    height: 34px;
    object-fit: contain;
}

.fp-sidebar-title {
    font-size: 20px;
    font-weight: 900;
    letter-spacing: -0.6px;
    line-height: 1;
}

.fp-sidebar-subtitle {
    margin-top: 4px;
    font-size: 11px;
    font-weight: 700;
    color: rgba(255,255,255,.75);
    line-height: 1.3;
}

.fp-sidebar-location {
    margin-top: 2px;
    font-size: 11px;
    color: rgba(255,255,255,.55);
}

.fp-sidebar-nav {
    flex: 1 1 auto;
    overflow: hidden;
    padding: 2px 0 8px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.fp-nav-section {
    margin: 10px 8px 4px;
    font-size: 9px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: rgba(255,255,255,.38);
}

.fp-sidebar-nav a {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 38px;
    padding: 8px 12px;
    border-radius: 14px;
    color: rgba(255,255,255,.74);
    font-size: 14px;
    font-weight: 700;
    transition: all .18s ease;
}

.fp-sidebar-nav a i {
    width: 18px;
    text-align: center;
    color: rgba(255,255,255,.62);
    transition: all .18s ease;
}

.fp-sidebar-nav a:hover {
    background: rgba(255,255,255,.10);
    color: #fff;
    transform: none;
}

.fp-sidebar-nav a:hover i { color: var(--fp-lime); }

.fp-sidebar-nav a.active {
    background: rgba(255,255,255,.14);
    color: #fff;
}

.fp-sidebar-nav a.active::before {
    content: "";
    position: absolute;
    left: 0;
    top: 10px;
    bottom: 10px;
    width: 4px;
    border-radius: 999px;
    background: var(--fp-lime);
}

.fp-sidebar-nav a.active i { color: var(--fp-lime); }

.fp-sidebar-footer {
    margin-top: 10px;
    padding: 10px 12px;
    border-radius: 16px;
    background: rgba(0,0,0,.14);
    border: 1px solid rgba(255,255,255,.08);
    flex: 0 0 auto;
}

.fp-sidebar-footer strong {
    display: block;
    font-size: 13px;
    font-weight: 900;
}

.fp-sidebar-footer span {
    display: block;
    margin-top: 2px;
    font-size: 11px;
    color: rgba(255,255,255,.55);
}

/* Main and topbar */

.fp-main {
    margin-left: 292px;
    min-height: 100vh;
}

.fp-topbar {
    height: 92px;
    background: #fff;
    border-bottom: 1px solid #e2e8df;
    padding: 20px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.fp-topbar-left {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.fp-page-title { min-width: 0; }

.fp-page-title h1,
.fp-topbar h1 {
    font-size: 30px;
    font-weight: 800;
    margin: 0;
    color: var(--fp-text);
}

.fp-page-title p,
.fp-topbar p {
    margin: 4px 0 0;
    color: var(--fp-muted);
    font-size: 14px;
}

.fp-topbar-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 14px;
    flex: 0 0 auto;
}

/* User dropdown */

.fp-user-pill {
    border: 0;
    background: var(--fp-bg);
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    border-radius: 999px;
    cursor: pointer;
}

.fp-user-pill::after { margin-left: 8px; }

.fp-user-avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--fp-green);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
}

.fp-user-info { text-align: left; }

.fp-user-pill strong {
    display: block;
    font-size: 13px;
    line-height: 1;
}

.fp-user-pill span {
    display: block;
    font-size: 12px;
    color: var(--fp-muted);
    margin-top: 3px;
}

.fp-user-dropdown {
    min-width: 260px;
    border: none;
    border-radius: 18px;
    box-shadow: 0 20px 50px rgba(0,0,0,.12);
    padding: 10px;
}

.fp-dropdown-header { padding: 10px 12px; }
.fp-dropdown-header strong { display: block; }
.fp-dropdown-header small { color: var(--fp-muted); }

.fp-user-dropdown .dropdown-item {
    border-radius: 10px;
    padding: 10px 12px;
}

.fp-user-dropdown .dropdown-item i { width: 20px; }

.fp-content { padding: 32px; }

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

.fp-kpi-card {
    position: relative;
    overflow: hidden;

    min-height: 128px;

    background:
        radial-gradient(circle at top right, rgba(167,212,111,.16), transparent 34%),
        linear-gradient(135deg, #ffffff 0%, #f7faf4 100%);

    border: 1px solid rgba(226,232,223,.9);
    border-radius: 26px;

    padding: 24px;

    display: flex;
    align-items: center;
    gap: 18px;

    box-shadow:
        0 14px 36px rgba(31,45,36,.07);

    transition: all .18s ease;
}

.fp-kpi-card::after {
    content: "";
    position: absolute;
    right: -45px;
    bottom: -45px;

    width: 120px;
    height: 120px;

    border-radius: 50%;

    background: rgba(39,103,73,.06);
}

.fp-kpi-card:hover {
    transform: translateY(-3px);
    box-shadow:
        0 20px 48px rgba(31,45,36,.11);
}

.fp-kpi-card > * {
    position: relative;
    z-index: 2;
}

.fp-kpi-icon {
    width: 58px;
    height: 58px;

    border-radius: 20px;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 23px;

    flex: 0 0 auto;

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.65),
        0 12px 26px rgba(31,45,36,.08);
}

.fp-kpi-card span {
    display: block;

    color: var(--fp-muted);

    font-size: 13px;
    font-weight: 800;

    letter-spacing: -0.1px;
}

.fp-kpi-card h3 {
    margin: 8px 0 0;

    font-size: 36px;
    font-weight: 900;

    letter-spacing: -1.2px;
    line-height: 1;

    color: var(--fp-text);
}

.fp-kpi-card small {
    display: none;
}

/* Ikone */
.fp-kpi-icon.green {
    background: linear-gradient(135deg, #e8f3ec 0%, #d9eddf 100%);
    color: #276749;
}

.fp-kpi-icon.amber {
    background: linear-gradient(135deg, #fff3d8 0%, #ffe8a8 100%);
    color: #b7791f;
}

.fp-kpi-icon.blue {
    background: linear-gradient(135deg, #e7f0ff 0%, #d5e6ff 100%);
    color: #2b6cb0;
}

.fp-kpi-icon.red {
    background: linear-gradient(135deg, #fdeaea 0%, #fad0d0 100%);
    color: #c53030;
}

.fp-kpi-icon {
    width: 54px;
    height: 54px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}

.fp-kpi-icon.green { background: var(--fp-green-soft); color: var(--fp-green); }
.fp-kpi-icon.amber { background: #fff3d8; color: var(--fp-warning); }
.fp-kpi-icon.blue { background: #e7f0ff; color: var(--fp-blue); }
.fp-kpi-icon.red { background: #fdeaea; color: var(--fp-danger); }

.fp-kpi-card h3{
    font-size:32px;
    font-weight:650;
    line-height:1;
    margin-top:6px;
}

.fp-kpi-card span{
    font-size:13px;
    font-weight:700;
    color:#6b756d;
}

.fp-kpi-card small { color: #89938c; }

.fp-panel {
    background: #fff;
    border: 1px solid #e2e8df;
    border-radius: 26px;
    padding: 24px;
    box-shadow: 0 12px 34px rgba(31,45,36,.06);
}

.fp-panel-header { margin-bottom: 20px; }
.fp-panel-header h5 { font-weight: 800; margin: 0; }
.fp-panel-header p { margin: 4px 0 0; color: var(--fp-muted); font-size: 14px; }

.fp-activity-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.fp-activity-list > div {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px;
    border-radius: 16px;
    background: var(--fp-bg);
}

.fp-activity-list strong { display: block; font-size: 14px; }
.fp-activity-list small { color: var(--fp-muted); }

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-top: 6px;
}

.dot.green { background: var(--fp-green); }
.dot.amber { background: #d69e2e; }
.dot.blue { background: var(--fp-blue); }

/* =========================================================
   MOBILE TOPBAR + OFFCANVAS SIDEBAR
   ========================================================= */

.fp-mobile-menu-btn {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: var(--fp-green-dark);
    color: white;
    border: none;
    flex: 0 0 auto;
}

.fp-mobile-menu-btn:hover {
    background: var(--fp-green);
    color: white;
}

.fp-mobile-sidebar {
    height: 100vh;
    background:
        radial-gradient(circle at top left, rgba(143, 191, 77, 0.20), transparent 35%),
        linear-gradient(180deg, #173524 0%, #1f432e 100%);
    color: #fff;
    border: 0;
    width: 86%;
    max-width: 360px;
}

.fp-mobile-sidebar .offcanvas-body {
    padding: 0;
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
}

.fp-mobile-sidebar-header {
    padding: 16px 18px 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex: 0 0 auto;
}

.fp-mobile-sidebar-logo {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    background: #f3f0e7;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 14px 28px rgba(0,0,0,.18);
}

.fp-mobile-sidebar-logo img {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.fp-mobile-sidebar-header h5 {
    margin: 0;
    font-size: 18px;
    font-weight: 850;
    letter-spacing: -0.4px;
}

.fp-mobile-sidebar-header span {
    color: rgba(255,255,255,.65);
    font-size: 12px;
}

.fp-mobile-sidebar-close {
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 13px;
    background: rgba(255,255,255,.10);
    color: #fff;
}

.fp-mobile-sidebar-client {
    margin: 0 16px 10px;
    padding: 12px 14px;
    border-radius: 16px;
    background: rgba(255,255,255,.10);
    border: 1px solid rgba(255,255,255,.12);
    backdrop-filter: blur(10px);
    flex: 0 0 auto;
}

.fp-mobile-sidebar-client span {
    display: block;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: .8px;
    color: rgba(255,255,255,.55);
    margin-bottom: 4px;
}

.fp-mobile-sidebar-client strong {
    display: block;
    font-size: 13px;
    line-height: 1.25;
}

.fp-mobile-sidebar-client small {
    display: block;
    margin-top: 3px;
    color: rgba(255,255,255,.65);
}

.fp-mobile-sidebar-section {
    margin: 12px 20px 6px;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255,255,255,.42);
    font-weight: 800;
}

.fp-mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: 0 12px 12px;
    overflow-y: auto;
    overflow-x: hidden;
    flex: 1 1 auto;
}

.fp-mobile-nav a {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255,255,255,.76);
    padding: 10px 12px;
    border-radius: 13px;
    font-size: 16px;
    font-weight: 700;
    transition: all .18s ease;
}

.fp-mobile-nav a i {
    width: 20px;
    height: 20px;
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,.65);
}

.fp-mobile-nav a:hover,
.fp-mobile-nav a.active {
    background: rgba(255,255,255,.13);
    color: #fff;
}

.fp-mobile-nav a.active i { color: var(--fp-lime); }

.fp-mobile-sidebar-footer {
    margin: 8px 16px 14px;
    padding: 10px 12px;
    border-radius: 14px;
    background: rgba(0,0,0,.12);
    border: 1px solid rgba(255,255,255,.08);
    flex: 0 0 auto;
}

.fp-mobile-sidebar-footer span {
    display: block;
    font-weight: 800;
    font-size: 13px;
}

.fp-mobile-sidebar-footer small { color: rgba(255,255,255,.55); }

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

@media (max-width: 991.98px) {
    .fp-login-wrapper { grid-template-columns: 1fr; }
    .fp-login-left { display: none; }
    .fp-login-right { min-height: 100vh; padding: 22px; }
    .fp-login-card { padding: 30px 24px; border-radius: 22px; }

    .fp-sidebar { display: none !important; }
    .fp-main { margin-left: 0; }

    .fp-topbar {
        height: auto;
        padding: 14px 16px;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
    }

    .fp-topbar-left {
        flex: 1;
        min-width: 0;
        display: flex;
        align-items: center;
        gap: 12px;
    }

    .fp-page-title {
        min-width: 0;
        flex: 1;
    }

    .fp-page-title h1 {
        font-size: 20px;
        line-height: 1.1;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .fp-page-title p {
        font-size: 12px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .fp-topbar-actions {
        width: auto;
        flex: 0 0 auto;
        display: flex;
        align-items: center;
        justify-content: flex-end;
    }

    .fp-user-pill {
        width: 42px !important;
        height: 42px;
        padding: 0 !important;
        border-radius: 50% !important;
        justify-content: center;
        background: transparent;
    }

    .fp-user-info,
    .fp-user-pill::after {
        display: none !important;
    }

    .fp-user-avatar {
        width: 42px;
        height: 42px;
    }

    .fp-content { padding: 18px; }
}

@media (max-width: 575.98px) {
    .fp-login-card-top {
        align-items: flex-start;
        gap: 12px;
        flex-direction: column;
    }

    .fp-login-card { max-width: 100%; }
    .fp-kpi-card { padding: 18px; border-radius: 20px; }
    .fp-panel { padding: 18px; border-radius: 22px; }
}
.fp-mobile-sidebar-logo {
    background: linear-gradient(
        135deg,
        #214b34 0%,
        #2f6b47 100%
    );
}
.fp-sidebar-logo{
    background:none;
    box-shadow:none;
    width:auto;
    height:auto;
}

.fp-sidebar-logo img{
    width:58px;
    height:58px;
}
.fp-sidebar-title{
    font-size:22px;
}
.fp-dashboard-hero {
    position: relative;
    overflow: hidden;

    border-radius: 28px;
    padding: 28px 30px;

    color: #fff;

    background:
        radial-gradient(circle at top right, rgba(167,212,111,.25), transparent 30%),
        linear-gradient(135deg, #173524 0%, #276749 100%);

    box-shadow: 0 18px 44px rgba(23,53,36,.16);

    display: flex;
    justify-content: space-between;
    gap: 24px;
    align-items: center;
}

.fp-hero-main {
    min-width: 0;
}

.fp-dashboard-hero h2 {
    margin: 0;
    font-weight: 900;
    letter-spacing: -1px;
    font-size: 34px;
}

.fp-dashboard-hero p {
    margin: 9px 0 0;
    color: rgba(255,255,255,.78);
    max-width: 720px;
    font-size: 15px;
}

.fp-dashboard-hero p strong {
    color: #fff;
    font-weight: 900;
}

.fp-hero-kicker {
    display: inline-flex;
    margin-bottom: 10px;
    padding: 7px 11px;
    border-radius: 999px;
    background: rgba(255,255,255,.13);
    color: rgba(255,255,255,.82);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .7px;
    text-transform: uppercase;
}

.fp-weather-card {
    min-width: 245px;

    display: flex;
    align-items: center;
    gap: 16px;

    padding: 16px 18px;

    border-radius: 24px;

    background: rgba(255,255,255,.13);
    border: 1px solid rgba(255,255,255,.16);

    backdrop-filter: blur(10px);
}

.fp-weather-icon-wrap {
    width: 58px;
    height: 58px;

    border-radius: 20px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: rgba(255,255,255,.14);
}

.fp-weather-icon-wrap i {
    font-size: 30px;
    color: #FFD166;

    filter: drop-shadow(0 0 12px rgba(255,209,102,.35));
}

.fp-weather-temp {
    font-size: 30px;
    font-weight: 900;
    line-height: 1;
}

.fp-weather-location {
    margin-top: 4px;

    font-size: 13px;
    color: rgba(255,255,255,.72);
    font-weight: 700;
}

.fp-weather-desc {
    margin-top: 2px;

    font-size: 13px;
    color: rgba(255,255,255,.84);
    font-weight: 700;
}

@media (max-width: 991.98px) {
    .fp-dashboard-hero {
        padding: 22px;
        border-radius: 24px;
        flex-direction: column;
        align-items: stretch;
    }

    .fp-dashboard-hero h2 {
        font-size: 28px;
    }

    .fp-weather-card {
        width: 100%;
        min-width: 0;
    }
}

.fp-hero-kicker {
    display: inline-flex;
    margin-bottom: 10px;
    padding: 7px 11px;
    border-radius: 999px;
    background: rgba(255,255,255,.13);
    color: rgba(255,255,255,.82);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .7px;
    text-transform: uppercase;
}

.fp-hero-date {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 12px 15px;
    border-radius: 999px;
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.12);
    font-weight: 800;
}

.fp-panel-header-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.fp-panel-badge {
    display: inline-flex;
    padding: 7px 11px;
    border-radius: 999px;
    background: var(--fp-green-soft);
    color: var(--fp-green);
    font-size: 12px;
    font-weight: 800;
    white-space: nowrap;
}

.fp-panel-badge.red {
    background: #fdeaea;
    color: var(--fp-danger);
}

.fp-empty-state {
    min-height: 190px;
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 24px;
    border-radius: 22px;
    background: var(--fp-bg);
    border: 1px dashed var(--fp-border);
}

.fp-empty-icon {
    width: 58px;
    height: 58px;
    border-radius: 20px;
    background: var(--fp-green-soft);
    color: var(--fp-green);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    flex: 0 0 auto;
}

.fp-empty-state h6 {
    margin: 0 0 6px;
    font-weight: 900;
}

.fp-empty-state p {
    margin: 0;
    color: var(--fp-muted);
}

@media (max-width: 991.98px) {
    .fp-dashboard-hero {
        padding: 22px;
        border-radius: 24px;
        flex-direction: column;
        align-items: flex-start;
    }

    .fp-dashboard-hero h2 {
        font-size: 28px;
    }

    .fp-hero-date {
        width: 100%;
        justify-content: center;
    }

    .fp-panel-header-row {
        flex-direction: column;
    }

    .fp-empty-state {
        align-items: flex-start;
        flex-direction: column;
    }
}
.fp-login-card-top-center{
    display:flex;
    justify-content:center;
    align-items:center;
    margin-bottom:28px;
}

.fp-login-logo-large{
    width:110px;
    height:110px;
    object-fit:contain;

    filter:
        drop-shadow(0 10px 25px rgba(39,103,73,.15));
}
.fp-login-card-company{
    margin-top:22px;

    padding:16px 18px;

    border-radius:18px;

    background:#f7faf6;

    border:1px solid #e2e8df;
}

.fp-company-row{
    display:flex;
    align-items:center;
    gap:12px;

    font-size:13px;

    color:var(--fp-text);
}

.fp-company-row:not(:last-child){
    margin-bottom:10px;
}

.fp-company-row i{
    width:18px;

    color:var(--fp-green);

    text-align:center;
}
.fp-nav-dropdown {
    display: flex;
    flex-direction: column;
}

.fp-nav-dropdown-toggle {
    width: 100%;
    min-height: 38px;
    padding: 8px 12px;
    border-radius: 14px;
    border: 0;
    background: transparent;
    color: rgba(255,255,255,.74);
    font-size: 14px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.fp-nav-dropdown-toggle span {
    display: flex;
    align-items: center;
    gap: 12px;
}

.fp-nav-dropdown-toggle i {
    color: rgba(255,255,255,.62);
}

.fp-nav-dropdown-toggle:hover {
    background: rgba(255,255,255,.10);
    color: #fff;
}

.fp-nav-dropdown-menu {
    margin-left: 18px;
    padding-left: 10px;
    border-left: 1px solid rgba(255,255,255,.12);
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.fp-nav-dropdown-menu a {
    min-height: 34px;
    padding: 7px 10px;
    font-size: 13px;
}
.fp-nav-dropdown-menu {
    margin-left: 18px;
    padding-left: 10px;
    border-left: 1px solid rgba(255,255,255,.12);

    display: none;
    flex-direction: column;
    gap: 2px;
}

.fp-nav-dropdown.open .fp-nav-dropdown-menu {
    display: flex;
}

.fp-nav-dropdown.open .fp-nav-dropdown-toggle .fa-chevron-down {
    transform: rotate(180deg);
}

.fp-nav-dropdown-toggle .fa-chevron-down {
    transition: transform .18s ease;
}
.fp-nav-dropdown-toggle{
    width:100%;
    min-height:38px;
    padding:8px 12px;

    display:flex;
    align-items:center;
    justify-content:space-between;

    border:0;
    background:transparent;

    color:rgba(255,255,255,.74);

    font-size:14px;
    font-weight:700;

    border-radius:14px;
}

/* MOBILE DROPDOWN - IZLAZ */
.fp-mobile-nav .fp-nav-dropdown {
    width: 100%;
}

.fp-mobile-nav .fp-mobile-dropdown-toggle {
    width: 100%;
    min-height: 40px;
    padding: 10px 12px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    border: 0;
    border-radius: 13px;
    background: transparent;

    color: rgba(255,255,255,.76);

    font-family: inherit;
    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 1.2;
}

.fp-mobile-nav .fp-dropdown-label {
    display: flex;
    align-items: center;
    gap: 12px;

    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 1.2;
}

.fp-mobile-nav .fp-dropdown-label i {
    width: 20px;
    height: 20px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    font-size: 14px !important;
    color: rgba(255,255,255,.65);
}

.fp-mobile-nav .fp-mobile-dropdown-toggle > .fa-chevron-down {
    font-size: 12px;
    color: rgba(255,255,255,.55);
}

.fp-mobile-nav .fp-mobile-dropdown-toggle:hover {
    background: rgba(255,255,255,.13);
    color: #fff;
}

.fp-mobile-dropdown-title {
    font-size: 20px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    color: rgba(255,255,255,.76) !important;
    font-family: 'Inter', sans-serif !important;
}

.fp-mobile-nav-chevron {
    font-size: 12px !important;
    color: rgba(255,255,255,.55) !important;
}
.fp-mobile-nav .fp-mobile-nav-toggle {
    cursor: pointer;
}

.fp-mobile-nav .fp-mobile-nav-chevron {
    font-size: 12px;
    transition: transform .18s ease;
}

.fp-mobile-nav .fp-nav-dropdown.open .fp-mobile-nav-chevron {
    transform: rotate(180deg);
}

.fp-mobile-nav .fp-nav-dropdown-menu {
    display: none;
    margin-left: 18px;
    padding-left: 10px;
    border-left: 1px solid rgba(255,255,255,.12);
}

.fp-mobile-nav .fp-nav-dropdown.open .fp-nav-dropdown-menu {
    display: flex;
    flex-direction: column;
    gap: 3px;
}