/* ============================================
   TerraPulse Dashboard — Style System
   ============================================ */

/* === CSS Custom Properties === */
:root {
    /* Background colors — Coffee palette */
    --bg-body: #332620;
    --bg-sidebar: #271C17;
    --bg-card: #3F302A;
    --bg-card-hover: #4D3B33;
    --bg-card-inner: #3A2C25;
    --bg-topbar: rgba(39, 28, 23, 0.9);
    --bg-input: #3A2C25;

    /* Border */
    --border: rgba(255, 255, 255, 0.1);
    --border-hover: rgba(255, 255, 255, 0.2);

    /* Text */
    --text-primary: #F5EDE8;
    --text-secondary: #C4AFA5;
    --text-muted: #8C756A;

    /* Accents — Earthy tones */
    --green: #8CB369;
    --green-light: #A7C98B;
    --green-dim: rgba(140, 179, 105, 0.18);
    --blue: #7EACC1;
    --blue-light: #9DC3D4;
    --blue-dim: rgba(126, 172, 193, 0.18);
    --amber: #D4A054;
    --amber-dim: rgba(212, 160, 84, 0.18);
    --red: #C75D4A;
    --red-dim: rgba(199, 93, 74, 0.18);
    --purple: #9B7EB4;
    --purple-dim: rgba(155, 126, 180, 0.18);
    --cyan: #6FAEA8;

    /* Gradients — Coffee & earth tones */
    --gradient-green: linear-gradient(135deg, #8CB369, #6E9A4B);
    --gradient-blue: linear-gradient(135deg, #7EACC1, #5C8FA6);
    --gradient-amber: linear-gradient(135deg, #D4A054, #B8843A);
    --gradient-red: linear-gradient(135deg, #C75D4A, #A84535);
    --gradient-purple: linear-gradient(135deg, #9B7EB4, #7D5F9A);
    --gradient-card: linear-gradient(145deg, rgba(92, 74, 64, 0.9), rgba(92, 74, 64, 0.5));

    /* Sizing */
    --sidebar-width: 260px;
    --sidebar-collapsed: 72px;
    --topbar-height: 68px;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.3);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.4);
    --shadow-lg: 0 8px 30px rgba(0,0,0,0.5);
    --shadow-glow-green: 0 0 20px rgba(16, 185, 129, 0.15);
    --shadow-glow-blue: 0 0 20px rgba(59, 130, 246, 0.15);

    /* Transitions */
    --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}

/* === Reset & Base === */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 14px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-body);
    color: var(--text-primary);
    display: flex;
    min-height: 100vh;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4 {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 600;
    letter-spacing: -0.02em;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    cursor: pointer;
    font-family: inherit;
    border: none;
    background: none;
    color: inherit;
}

input, select {
    font-family: inherit;
    color: inherit;
}

/* === Scrollbar === */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: transparent;
}
::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.08);
    border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
    background: rgba(255,255,255,0.15);
}

/* ============================================
   SIDEBAR
   ============================================ */
.sidebar {
    width: var(--sidebar-width);
    min-width: var(--sidebar-width);
    height: 100vh;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 100;
    background: var(--bg-sidebar);
    border-right: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    transition: width var(--transition), min-width var(--transition);
    overflow: hidden;
}

.sidebar-logo {
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--border);
}

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 36px;
    width: auto;
    object-fit: contain;
}

.sidebar-toggle {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    transition: var(--transition-fast);
}

.sidebar-toggle:hover {
    background: rgba(255,255,255,0.06);
    color: var(--text-primary);
}

/* Navigation */
.sidebar-nav {
    flex: 1;
    padding: 12px 12px;
    overflow-y: auto;
}

.nav-section-label {
    padding: 16px 12px 6px;
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-muted);
    white-space: nowrap;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    transition: var(--transition-fast);
    position: relative;
    white-space: nowrap;
    margin-bottom: 2px;
}

.nav-item:hover {
    background: rgba(255,255,255,0.04);
    color: var(--text-primary);
}

.nav-item.active {
    background: var(--green-dim);
    color: var(--green-light);
}

.nav-item.active svg {
    stroke: var(--green);
}

.nav-item svg {
    flex-shrink: 0;
}

.nav-badge {
    font-size: 0.6rem;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 10px;
    margin-left: auto;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.nav-badge.live {
    background: var(--green-dim);
    color: var(--green);
    animation: pulse-badge 2s infinite;
}

.nav-badge.alert {
    background: var(--red-dim);
    color: var(--red);
}

@keyframes pulse-badge {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* Sidebar Footer */
.sidebar-footer {
    padding: 16px;
    border-top: 1px solid var(--border);
}

.user-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px;
    border-radius: var(--radius-sm);
    transition: var(--transition-fast);
}

.user-card:hover {
    background: rgba(255,255,255,0.04);
}

.user-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--gradient-green);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.8rem;
    flex-shrink: 0;
}

.user-info {
    display: flex;
    flex-direction: column;
    white-space: nowrap;
}

.user-name {
    font-weight: 600;
    font-size: 0.85rem;
}

.user-role {
    font-size: 0.7rem;
    color: var(--text-muted);
}

/* ============================================
   MAIN CONTENT
   ============================================ */
.main-content {
    margin-left: var(--sidebar-width);
    flex: 1;
    min-height: 100vh;
    transition: margin-left var(--transition);
}

/* Top Bar */
.topbar {
    height: var(--topbar-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 28px;
    position: sticky;
    top: 0;
    z-index: 50;
    background: var(--bg-topbar);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
}

.topbar-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.mobile-menu-btn {
    display: none;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
}

.page-title h1 {
    font-size: 1.3rem;
    font-weight: 700;
}

.page-subtitle {
    font-size: 0.78rem;
    color: var(--text-secondary);
    margin-top: 2px;
}

.topbar-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.topbar-search {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    background: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    transition: var(--transition-fast);
}

.topbar-search:focus-within {
    border-color: var(--green);
    box-shadow: var(--shadow-glow-green);
}

.topbar-search svg {
    color: var(--text-muted);
    flex-shrink: 0;
}

.topbar-search input {
    border: none;
    background: none;
    outline: none;
    font-size: 0.85rem;
    width: 200px;
    color: var(--text-primary);
}

.topbar-search input::placeholder {
    color: var(--text-muted);
}

.topbar-icon-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    position: relative;
    transition: var(--transition-fast);
}

.topbar-icon-btn:hover {
    background: rgba(255,255,255,0.06);
    color: var(--text-primary);
}

.notif-dot {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 8px;
    height: 8px;
    background: var(--red);
    border-radius: 50%;
    border: 2px solid var(--bg-body);
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.3); }
}

.topbar-datetime {
    font-size: 0.8rem;
    color: var(--text-secondary);
    font-variant-numeric: tabular-nums;
    min-width: 130px;
    text-align: right;
}

/* ============================================
   CONTENT WRAPPER
   ============================================ */
.content-wrapper {
    padding: 24px 28px 40px;
}

.dashboard-section {
    display: none;
    animation: fadeIn 0.4s ease;
}

.dashboard-section.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

.section-header {
    margin-bottom: 24px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

.section-header h2 {
    font-size: 1.5rem;
    font-weight: 700;
    width: 100%;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* ============================================
   KPI CARDS
   ============================================ */
.kpi-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.kpi-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 20px;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.kpi-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.kpi-temperature::before { background: var(--gradient-amber); }
.kpi-humidity::before { background: var(--gradient-blue); }
.kpi-health::before { background: var(--gradient-green); }
.kpi-water::before { background: var(--gradient-purple); }

.kpi-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.kpi-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
}

.kpi-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
}

.kpi-temperature .kpi-icon { background: var(--amber-dim); color: var(--amber); }
.kpi-humidity .kpi-icon { background: var(--blue-dim); color: var(--blue); }
.kpi-health .kpi-icon { background: var(--green-dim); color: var(--green); }
.kpi-water .kpi-icon { background: var(--purple-dim); color: var(--purple); }

.kpi-trend {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 20px;
}

.kpi-trend.up { background: var(--green-dim); color: var(--green); }
.kpi-trend.down { background: var(--red-dim); color: var(--red); }
.kpi-trend.stable { background: rgba(255,255,255,0.06); color: var(--text-secondary); }

.kpi-value {
    font-family: 'Inter', sans-serif;
    font-size: 2.2rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1;
    margin-bottom: 4px;
}

.kpi-label {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.kpi-unit {
    font-size: 0.7rem;
    color: var(--text-muted);
    margin-top: 2px;
}

.kpi-sparkline {
    height: 36px;
    margin-top: 12px;
}

.kpi-sparkline canvas {
    width: 100% !important;
    height: 36px !important;
}

/* ============================================
   CARDS (Generic)
   ============================================ */
.chart-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 20px;
    transition: var(--transition);
}

.chart-card:hover {
    border-color: var(--border-hover);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    flex-wrap: wrap;
    gap: 8px;
}

.card-header h3 {
    font-size: 1rem;
    font-weight: 600;
}

.card-subtitle {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-top: 2px;
}

.card-link {
    font-size: 0.78rem;
    color: var(--green);
    font-weight: 500;
    transition: var(--transition-fast);
}

.card-link:hover {
    color: var(--green-light);
}

.card-actions {
    display: flex;
    gap: 6px;
}

/* Chips / Tags */
.chip {
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
    border: 1px solid var(--border);
    background: transparent;
    color: var(--text-secondary);
    transition: var(--transition-fast);
    cursor: pointer;
}

.chip:hover {
    border-color: var(--border-hover);
    color: var(--text-primary);
}

.chip.active {
    background: var(--green-dim);
    border-color: var(--green);
    color: var(--green);
}

/* AI Badge */
.ai-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    background: var(--purple-dim);
    color: var(--purple);
    animation: pulse-badge 3s infinite;
}

/* ============================================
   CHART CONTAINERS
   ============================================ */
.chart-container {
    position: relative;
    height: 240px;
}

.chart-container.chart-tall {
    height: 320px;
}

.chart-container.chart-doughnut {
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chart-container canvas {
    width: 100% !important;
    height: 100% !important;
}

/* ============================================
   GRIDS
   ============================================ */
.charts-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 16px;
    margin-bottom: 24px;
}

.bottom-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 16px;
}

/* ============================================
   ALERTS (Mini List in Overview)
   ============================================ */
.alerts-mini-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-height: 260px;
    overflow-y: auto;
}

.alert-mini-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px;
    border-radius: var(--radius-sm);
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--border);
    transition: var(--transition-fast);
}

.alert-mini-item:hover {
    background: rgba(255,255,255,0.04);
}

.alert-mini-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-top: 5px;
    flex-shrink: 0;
}

.alert-mini-dot.critical { background: var(--red); box-shadow: 0 0 8px var(--red); }
.alert-mini-dot.warning { background: var(--amber); box-shadow: 0 0 8px var(--amber); }
.alert-mini-dot.info { background: var(--blue); box-shadow: 0 0 8px var(--blue); }

.alert-mini-content h5 {
    font-size: 0.82rem;
    font-weight: 600;
    margin-bottom: 2px;
}

.alert-mini-content p {
    font-size: 0.72rem;
    color: var(--text-muted);
}

/* ============================================
   RECOMMENDATION HIGHLIGHT (Overview)
   ============================================ */
.recommendation-highlight {
    text-align: center;
    padding: 10px 0;
}

.rec-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 12px;
    border-radius: 50%;
    background: var(--blue-dim);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--blue);
}

.recommendation-highlight h4 {
    font-size: 1rem;
    margin-bottom: 8px;
}

.recommendation-highlight p {
    font-size: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 12px;
}

.rec-meta {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 16px;
    font-size: 0.75rem;
}

.rec-confidence { color: var(--green); font-weight: 600; }
.rec-savings { color: var(--amber); font-weight: 600; }

/* ============================================
   BUTTONS
   ============================================ */
.btn-primary {
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    background: var(--gradient-green);
    color: white;
    font-weight: 600;
    font-size: 0.85rem;
    border: none;
    transition: var(--transition);
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.25);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(16, 185, 129, 0.35);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-ghost {
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    font-weight: 500;
    font-size: 0.85rem;
    color: var(--text-secondary);
    transition: var(--transition-fast);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.btn-ghost:hover {
    border-color: var(--border-hover);
    background: rgba(255,255,255,0.04);
    color: var(--text-primary);
}

.btn-sm {
    padding: 6px 12px;
    font-size: 0.75rem;
}

/* ============================================
   LIVE INDICATOR
   ============================================ */
.live-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 5px 12px;
    border-radius: 20px;
    background: var(--red-dim);
    color: var(--red);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
}

.live-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--red);
    animation: pulse-dot 1.5s infinite;
}

/* ============================================
   PREDIO (Property View)
   ============================================ */
.predio-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 16px;
}

.predio-map-card {
    min-height: 400px;
}

.predio-map {
    height: 340px;
    position: relative;
}

.vineyard-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 12px;
    height: 100%;
}

.vineyard-zone {
    border-radius: var(--radius-md);
    padding: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.vineyard-zone::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0.15;
    border-radius: var(--radius-md);
}

.zone-a { background: rgba(140, 179, 105, 0.1); border: 1px solid rgba(140, 179, 105, 0.25); }
.zone-b { background: rgba(212, 160, 84, 0.1); border: 1px solid rgba(212, 160, 84, 0.25); }
.zone-c { background: rgba(140, 179, 105, 0.1); border: 1px solid rgba(140, 179, 105, 0.25); }
.zone-d { background: rgba(199, 93, 74, 0.1); border: 1px solid rgba(199, 93, 74, 0.25); }
.zone-e { background: rgba(140, 179, 105, 0.1); border: 1px solid rgba(140, 179, 105, 0.25); }
.zone-f { background: rgba(212, 160, 84, 0.1); border: 1px solid rgba(212, 160, 84, 0.25); }

.vineyard-zone:hover {
    transform: scale(1.02);
}

.zone-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.zone-value {
    font-family: 'Inter', sans-serif;
    font-size: 1.8rem;
    font-weight: 800;
}

.zone-status {
    font-size: 0.7rem;
    font-weight: 600;
    padding: 2px 10px;
    border-radius: 20px;
}

.zone-status.optimal { background: var(--green-dim); color: var(--green); }
.zone-status.warning { background: var(--amber-dim); color: var(--amber); }
.zone-status.critical { background: var(--red-dim); color: var(--red); }

.predio-details {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.info-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid var(--border);
}

.info-row:last-child { border-bottom: none; }

.info-label { color: var(--text-muted); font-size: 0.82rem; }
.info-value { font-weight: 600; font-size: 0.85rem; }

/* ============================================
   REAL-TIME
   ============================================ */
.realtime-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

.realtime-gauges {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.gauge-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gauge-ring {
    position: relative;
    width: 120px;
    height: 120px;
}

.gauge-ring svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.gauge-bg {
    fill: none;
    stroke: rgba(255,255,255,0.06);
    stroke-width: 8;
}

.gauge-fill {
    fill: none;
    stroke: var(--blue);
    stroke-width: 8;
    stroke-linecap: round;
    stroke-dasharray: calc(var(--percentage) * 3.267) 326.7;
    transition: stroke-dasharray 1s ease;
}

.gauge-fill.temp { stroke: var(--amber); }
.gauge-fill.ph { stroke: var(--green); }
.gauge-fill.cond { stroke: var(--purple); }

.gauge-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.gauge-value {
    font-family: 'Inter', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    display: block;
}

.gauge-label {
    font-size: 0.65rem;
    color: var(--text-muted);
    display: block;
    margin-top: 2px;
}

/* Sensor Select */
.select-sensor {
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    background: var(--bg-input);
    border: 1px solid var(--border);
    font-size: 0.8rem;
    color: var(--text-primary);
    outline: none;
    cursor: pointer;
}

.select-sensor:focus {
    border-color: var(--green);
}

/* Data Table */
.table-wrapper {
    overflow-x: auto;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.82rem;
}

.data-table th {
    text-align: left;
    padding: 10px 12px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    font-size: 0.68rem;
    letter-spacing: 0.08em;
    border-bottom: 1px solid var(--border);
    white-space: nowrap;
}

.data-table td {
    padding: 10px 12px;
    border-bottom: 1px solid var(--border);
    white-space: nowrap;
}

.data-table tbody tr {
    transition: var(--transition-fast);
}

.data-table tbody tr:hover {
    background: rgba(255,255,255,0.02);
}

.status-badge {
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
}

.status-badge.online { background: var(--green-dim); color: var(--green); }
.status-badge.warning { background: var(--amber-dim); color: var(--amber); }
.status-badge.offline { background: var(--red-dim); color: var(--red); }

.last-update {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-variant-numeric: tabular-nums;
}

/* ============================================
   PREDICTIONS
   ============================================ */
.predictions-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 16px;
    margin-bottom: 24px;
}

.prediction-insights {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.insight-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}

.insight-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
}

.insight-icon.risk-low { background: var(--green-dim); color: var(--green); }
.insight-icon.risk-medium { background: var(--amber-dim); color: var(--amber); }
.insight-icon.risk-high { background: var(--red-dim); color: var(--red); }

.insight-card h4 {
    font-size: 0.9rem;
    font-weight: 600;
}

.insight-value {
    font-size: 0.75rem;
    font-weight: 700;
    padding: 2px 10px;
    border-radius: 20px;
}

.insight-value.low { background: var(--green-dim); color: var(--green); }
.insight-value.medium { background: var(--amber-dim); color: var(--amber); }
.insight-value.high { background: var(--red-dim); color: var(--red); }
.insight-value.optimal { background: var(--blue-dim); color: var(--blue); }

.insight-card p {
    font-size: 0.78rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* ============================================
   RECOMMENDATIONS
   ============================================ */
.rec-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.rec-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.rec-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
}

.rec-card.priority-high::before { background: var(--gradient-red); }
.rec-card.priority-medium::before { background: var(--gradient-amber); }
.rec-card.priority-low::before { background: var(--gradient-blue); }

.rec-card:hover {
    border-color: var(--border-hover);
    transform: translateX(4px);
}

.rec-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.rec-priority {
    font-size: 0.7rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.rec-priority.high { background: var(--red-dim); color: var(--red); }
.rec-priority.medium { background: var(--amber-dim); color: var(--amber); }
.rec-priority.low { background: var(--blue-dim); color: var(--blue); }

.rec-time {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.rec-card h4 {
    font-size: 1.05rem;
    margin-bottom: 8px;
}

.rec-card > p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 16px;
}

.rec-metrics {
    display: flex;
    gap: 24px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.rec-metric {
    display: flex;
    align-items: center;
    gap: 8px;
}

.rec-metric-label {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.rec-metric-value {
    font-weight: 700;
    font-size: 0.85rem;
}

.rec-metric-value.highlight {
    color: var(--green);
}

.rec-progress {
    width: 80px;
    height: 6px;
    background: rgba(255,255,255,0.06);
    border-radius: 3px;
    overflow: hidden;
}

.rec-progress-fill {
    height: 100%;
    background: var(--gradient-green);
    border-radius: 3px;
    transition: width 1s ease;
}

.rec-actions {
    display: flex;
    gap: 8px;
}

/* ============================================
   ALERTS (Full Section)
   ============================================ */
.alerts-filters {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
}

.alerts-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.alert-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 16px 20px;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    transition: var(--transition);
    animation: slideInRight 0.3s ease;
}

@keyframes slideInRight {
    from { opacity: 0; transform: translateX(-10px); }
    to { opacity: 1; transform: translateX(0); }
}

.alert-item:hover {
    border-color: var(--border-hover);
}

.alert-icon {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.alert-icon.critical { background: var(--red-dim); color: var(--red); }
.alert-icon.warning { background: var(--amber-dim); color: var(--amber); }
.alert-icon.info { background: var(--blue-dim); color: var(--blue); }

.alert-content {
    flex: 1;
}

.alert-content h5 {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.alert-content p {
    font-size: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.alert-time {
    font-size: 0.7rem;
    color: var(--text-muted);
    white-space: nowrap;
    flex-shrink: 0;
}

/* ============================================
   HISTORY
   ============================================ */
.history-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.stats-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.stat-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
}

.stat-item:last-child { border-bottom: none; }

.stat-label {
    font-size: 0.82rem;
    color: var(--text-secondary);
}

.stat-value {
    font-weight: 700;
    font-size: 0.9rem;
    font-family: 'Inter', sans-serif;
}

.stat-value.green {
    color: var(--green);
}

/* ============================================
   SENSORS
   ============================================ */
.sensors-summary {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.sensor-stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 20px;
    text-align: center;
    transition: var(--transition);
}

.sensor-stat-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-2px);
}

.sensor-stat-number {
    font-family: 'Inter', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    display: block;
    margin-bottom: 4px;
}

.sensor-stat-card.online .sensor-stat-number { color: var(--green); }
.sensor-stat-card.warning .sensor-stat-number { color: var(--amber); }
.sensor-stat-card.offline .sensor-stat-number { color: var(--red); }
.sensor-stat-card.total .sensor-stat-number { color: var(--blue); }

.sensor-stat-label {
    font-size: 0.78rem;
    color: var(--text-secondary);
}

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

.sensor-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 18px;
    transition: var(--transition);
}

.sensor-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-2px);
}

.sensor-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.sensor-card-header h5 {
    font-size: 0.9rem;
    font-weight: 600;
}

.sensor-detail {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
    font-size: 0.78rem;
}

.sensor-detail-label { color: var(--text-muted); }
.sensor-detail-value { font-weight: 500; }

.sensor-signal {
    display: flex;
    gap: 2px;
    align-items: flex-end;
    height: 16px;
}

.sensor-signal-bar {
    width: 3px;
    border-radius: 2px;
    background: rgba(255,255,255,0.1);
}

.sensor-signal-bar.active {
    background: var(--green);
}

/* ============================================
   SETTINGS
   ============================================ */
.settings-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.settings-card {
    max-width: 800px;
}

.settings-list {
    display: flex;
    flex-direction: column;
}

.setting-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
    gap: 16px;
}

.setting-row:last-child { border-bottom: none; }

.setting-info {
    flex: 1;
}

.setting-name {
    display: block;
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 2px;
}

.setting-desc {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.setting-input {
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    background: var(--bg-input);
    border: 1px solid var(--border);
    font-size: 0.82rem;
    outline: none;
    min-width: 200px;
    transition: var(--transition-fast);
}

.setting-input.small {
    min-width: 80px;
    width: 80px;
    text-align: center;
}

.setting-input:focus {
    border-color: var(--green);
    box-shadow: var(--shadow-glow-green);
}

.setting-select {
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    background: var(--bg-input);
    border: 1px solid var(--border);
    font-size: 0.82rem;
    outline: none;
    cursor: pointer;
}

.setting-select:focus {
    border-color: var(--green);
}

.toggle-group {
    display: flex;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.toggle-btn {
    padding: 6px 16px;
    font-size: 0.82rem;
    font-weight: 500;
    border: none;
    transition: var(--transition-fast);
}

.toggle-btn.active {
    background: var(--green);
    color: white;
}

/* Switch toggle */
.switch {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255,255,255,0.1);
    transition: var(--transition);
    border-radius: 24px;
}

.slider::before {
    content: '';
    position: absolute;
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background: white;
    transition: var(--transition);
    border-radius: 50%;
}

.switch input:checked + .slider {
    background: var(--green);
}

.switch input:checked + .slider::before {
    transform: translateX(20px);
}

.api-key-row {
    display: flex;
    gap: 8px;
    align-items: center;
}

.settings-actions {
    display: flex;
    gap: 12px;
    max-width: 800px;
}

/* ============================================
   TOAST NOTIFICATIONS
   ============================================ */
.toast-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.toast {
    padding: 14px 20px;
    border-radius: var(--radius-md);
    background: var(--bg-card);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    animation: slideUp 0.3s ease, fadeOut 0.3s ease 4.7s forwards;
    backdrop-filter: blur(12px);
    min-width: 280px;
    max-width: 400px;
}

.toast.success { border-left: 3px solid var(--green); }
.toast.warning { border-left: 3px solid var(--amber); }
.toast.error { border-left: 3px solid var(--red); }

@keyframes slideUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeOut {
    from { opacity: 1; }
    to { opacity: 0; }
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1200px) {
    .kpi-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .grid-70-30 {
        grid-template-columns: 1fr;
    }
    .bottom-grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
    .bottom-grid {
        grid-template-columns: 1fr 1fr;
    }
    .sensors-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .sidebar {
        transform: translateX(-100%);
        z-index: 200;
    }

    .sidebar.open {
        transform: translateX(0);
        box-shadow: var(--shadow-lg);
    }

    .main-content {
        margin-left: 0;
    }

    .mobile-menu-btn {
        display: flex;
    }

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

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

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

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

    .topbar-search {
        display: none;
    }
}

@media (max-width: 768px) {
    .kpi-grid {
        grid-template-columns: 1fr;
    }
    
    .grid-70-30 {
        grid-template-columns: 1fr;
    }
    
    .bottom-grid-4 {
        grid-template-columns: 1fr;
    }

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

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

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

    .realtime-gauges {
        grid-template-columns: 1fr 1fr;
    }

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

    .content-wrapper {
        padding: 16px;
    }

    .topbar {
        padding: 0 16px;
    }

    .topbar-datetime {
        display: none;
    }
}

/* Overlay when sidebar is open on mobile */
.sidebar-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 150;
    display: none;
}

.sidebar-overlay.active {
    display: block;
}

/* ============================================
   NEW PREMIUM DASHBOARD STYLES
   ============================================ */
.glass-panel {
    background: rgba(22, 28, 36, 0.4);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.2);
    border-radius: 16px;
}

.kpi-title {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 4px;
}

.kpi-value-row {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 8px;
}

.kpi-status-badge {
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 600;
}
.kpi-status-badge.optimal { background: rgba(16, 185, 129, 0.15); color: #10B981; }
.kpi-status-badge.warning { background: rgba(245, 158, 11, 0.15); color: #F59E0B; }
.warning-text { color: #F59E0B; font-weight: 700; }

.kpi-subtext, .kpi-indicator {
    font-size: 0.75rem;
    color: var(--text-muted);
}
.kpi-indicator { color: #F59E0B; margin-top: 4px; font-weight: 500; }
.ai-badge-small { font-size: 0.65rem; background: rgba(139, 92, 246, 0.2); color: #C084FC; padding: 2px 6px; border-radius: 8px; }

.grid-70-30 {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.chart-70 { flex: 2; }
.chart-30 { flex: 1; }

.rec-card-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.rec-badge.high-priority { background: rgba(239, 68, 68, 0.15); color: #EF4444; padding: 4px 10px; border-radius: 12px; font-size: 0.75rem; font-weight: 600; }
.ai-confidence { font-size: 0.75rem; color: #C084FC; font-weight: 500; }
.rec-title { font-size: 1.1rem; margin-bottom: 16px; }

.rec-action-box {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 16px;
    border-radius: 12px;
    margin-bottom: 16px;
}
.rec-action-box h4 { color: var(--green); margin-bottom: 8px; font-size: 1rem; }
.rec-sector { font-size: 0.85rem; color: var(--text-secondary); margin-bottom: 8px; }
.rec-instruction { font-size: 0.9rem; line-height: 1.5; }
.rec-reason { font-size: 0.8rem; color: var(--text-muted); line-height: 1.4; margin-bottom: 20px; }
.rec-actions-btn { display: flex; flex-direction: column; gap: 8px; }
.w-100 { width: 100%; }
.mt-2 { margin-top: 8px; }

.map-card-container { position: relative; min-height: 350px; }
.predio-map { width: 100%; height: 300px; margin-top: 16px; position: relative; }
.map-4-sectors { 
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    grid-template-rows: 1fr 1fr; 
    gap: 8px; 
    height: 100%; 
}
.vineyard-zone {
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border: 2px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
    transition: all 0.2s;
}
.vineyard-zone:hover { opacity: 0.8; transform: scale(0.98); }
.status-optimal { background: rgba(16, 185, 129, 0.2); border-color: rgba(16, 185, 129, 0.4); }
.status-warning { background: rgba(245, 158, 11, 0.2); border-color: rgba(245, 158, 11, 0.4); }
.status-danger { background: rgba(239, 68, 68, 0.2); border-color: rgba(239, 68, 68, 0.4); }
.zone-label { font-weight: 600; font-size: 1rem; margin-bottom: 4px; }
.zone-status { font-size: 0.8rem; opacity: 0.8; }

.alert-item.type-critical { border-left: 4px solid #EF4444; }
.alert-item.type-warning { border-left: 4px solid #F59E0B; }
.alert-item.type-info { border-left: 4px solid #3B82F6; }
.alert-item.type-success { border-left: 4px solid #10B981; }
.alert-badge { font-size: 0.65rem; font-weight: 700; background: rgba(255,255,255,0.1); padding: 2px 6px; border-radius: 4px; }
.alert-badge.green { color: #10B981; }
.alert-badge.blue { color: #3B82F6; }

.table-wrapper { width: 100%; overflow-x: auto; margin-top: 16px; }
.status-chip { padding: 4px 10px; border-radius: 12px; font-size: 0.75rem; font-weight: 500; }
.status-chip.optimal { background: rgba(16, 185, 129, 0.15); color: #10B981; }
.status-chip.warning { background: rgba(245, 158, 11, 0.15); color: #F59E0B; }
.text-critical { color: #EF4444; font-weight: 600; }
.text-warning { color: #F59E0B; font-weight: 600; }
.text-optimal { color: #10B981; font-weight: 600; }
.btn-sm { padding: 6px 12px; font-size: 0.75rem; }

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

.weather-summary { display: flex; flex-direction: column; gap: 12px; margin-top: 16px; }
.weather-item { display: flex; justify-content: space-between; font-size: 0.85rem; border-bottom: 1px solid rgba(255,255,255,0.05); padding-bottom: 6px; }
.w-label { color: var(--text-secondary); }
.w-val { font-weight: 600; }

.balance-flow { display: flex; flex-direction: column; gap: 12px; margin-top: 16px; }
.flow-row { display: flex; justify-content: space-between; font-size: 0.85rem; }
.flow-row.positive span:last-child { color: #3B82F6; font-weight: 600; }
.flow-row.negative span:last-child { color: #F59E0B; font-weight: 600; }
.flow-divider { height: 1px; background: rgba(255,255,255,0.1); margin: 4px 0; }
.flow-row.total { font-size: 1rem; font-weight: 600; }

.confidence-big { display: flex; align-items: baseline; gap: 12px; margin-top: 16px; margin-bottom: 8px; }
.conf-value { font-size: 2.5rem; font-weight: 800; font-family: 'Inter', sans-serif; color: #C084FC; }
.conf-status { font-weight: 600; font-size: 0.9rem; }
.conf-subtext { font-size: 0.8rem; color: var(--text-secondary); margin-bottom: 16px; }
.conf-sources { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.source-tag { font-size: 0.7rem; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); padding: 4px 8px; border-radius: 4px; }
.conf-disclaimer { font-size: 0.7rem; color: var(--text-muted); font-style: italic; line-height: 1.4; }

.activity-timeline { display: flex; flex-direction: column; gap: 16px; margin-top: 16px; position: relative; }
.activity-timeline::before { content: ''; position: absolute; left: 5px; top: 10px; bottom: 10px; width: 1px; background: rgba(255,255,255,0.1); }
.timeline-item { display: flex; gap: 12px; position: relative; z-index: 1; }
.timeline-dot { width: 11px; height: 11px; border-radius: 50%; border: 2px solid var(--bg-body); margin-top: 4px; flex-shrink: 0; }
.bg-blue { background: #3B82F6; }
.bg-purple { background: #C084FC; }
.bg-green { background: #10B981; }
.bg-teal { background: #14B8A6; }
.timeline-content h4 { font-size: 0.85rem; font-weight: 600; margin-bottom: 2px; }
.timeline-content p { font-size: 0.75rem; color: var(--text-muted); }

.predio-selector-wrapper { margin-top: 12px; }
.predio-selector { background: rgba(255,255,255,0.05); color: var(--text-primary); border: 1px solid rgba(255,255,255,0.1); padding: 6px 12px; border-radius: 6px; font-size: 0.85rem; outline: none; }
.header-tag { display: inline-block; background: rgba(255,255,255,0.05); color: var(--text-secondary); font-size: 0.75rem; padding: 4px 8px; border-radius: 4px; margin-right: 6px; margin-top: 6px; }

/* === Light Theme Variables (Light Green Palette) === */
body.light-theme {
    /* Background colors — Light green palette */
    --bg-body: #F0FDF4; /* Very light green */
    --bg-sidebar: #FFFFFF;
    --bg-card: #FFFFFF;
    --bg-card-hover: #F8FAFC;
    --bg-card-inner: #F1F5F9;
    --bg-topbar: rgba(255, 255, 255, 0.9);
    --bg-input: #FFFFFF;

    /* Border */
    --border: rgba(0, 0, 0, 0.08);
    --border-hover: rgba(0, 0, 0, 0.15);

    /* Text */
    --text-primary: #1E293B;
    --text-secondary: #475569;
    --text-muted: #64748B;

    /* Accents */
    --green: #10B981;
    --green-dim: rgba(16, 185, 129, 0.15);
    
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.05);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.05);
}
