:root {
    --primary: #4b6043; /* Elegant Dark Olive Green */
    --primary-dark: #35442e;
    --primary-light: #738e65;
    --secondary: #d99a26; /* Warm Ochre Gold */
    --bg-main: #f3f6f1; /* Soft cream herbal background */
    --bg-gradient: linear-gradient(135deg, #f3f6f1 0%, #e5e9e0 100%);
    --bg-surface: rgba(255, 255, 255, 0.7); /* Frosted Milky Glass */
    --bg-surface-solid: #ffffff;
    --text-primary: #283321; /* High contrast dark green-charcoal */
    --text-secondary: #58694f; /* Soft olive grey */
    --text-muted: #88997f; /* Herbal grey for labels */
    --border-color: rgba(0, 0, 0, 0.08); /* Clean dark borders with low opacity */
    --border-focus: rgba(75, 96, 67, 0.2);
    --danger: #c94c4c;
    --danger-bg: rgba(201, 76, 76, 0.08);
    --success: #388e3c;
    --success-bg: rgba(56, 142, 60, 0.08);
    --warning: #f57c00;
    --warning-bg: rgba(245, 124, 0, 0.08);
    --radius: 20px;
    --radius-sm: 12px;
    --shadow: 0 8px 32px 0 rgba(75, 96, 67, 0.06);
    --glass-blur: blur(16px);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background: var(--bg-main);
    background-image: var(--bg-gradient);
    color: var(--text-primary);
    overflow-x: hidden;
    min-height: 100vh;
}

.app-container {
    max-width: 500px;
    margin: 0 auto;
    min-height: 100vh;
    position: relative;
    border-right: 1px solid rgba(0, 0, 0, 0.03);
    border-left: 1px solid rgba(0, 0, 0, 0.03);
    background: transparent;
}

/* --- Layout --- */
.app-header {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 500px;
    height: 70px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1.5rem;
    z-index: 1000;
}

.header-title {
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    background: linear-gradient(135deg, var(--text-primary) 30%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.header-btn {
    background: rgba(0, 0, 0, 0.04);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.header-btn:active {
    transform: scale(0.92);
    background: rgba(0, 0, 0, 0.08);
}

.app-ui {
    padding-top: 85px;
    padding-bottom: 110px;
}

.bottom-nav {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 92%;
    max-width: 460px;
    height: 72px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: space-around;
    box-shadow: var(--shadow);
    z-index: 1000;
    padding: 0 10px;
}

.nav-item {
    background: none;
    border: none;
    color: var(--text-muted);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    font-size: 0.65rem;
    font-weight: 600;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    flex: 1;
    min-width: 0;
}

.nav-item.active {
    color: var(--primary);
    background: rgba(75, 96, 67, 0.08);
}

.nav-item i {
    font-size: 1.5rem;
    transition: transform 0.2s ease;
}

.nav-item.active i {
    transform: translateY(-2px);
    color: var(--primary);
}

/* --- Views & Animations --- */
.view-content {
    padding: 1.2rem;
    animation: fadeIn 0.4s ease;
}

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

.hidden {
    display: none !important;
}

/* --- Cards --- */
.card {
    background: var(--bg-surface);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 1.25rem;
    margin-bottom: 1.25rem;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--primary);
    opacity: 0.8;
}

.card.gold-accent::before {
    background: var(--secondary);
}

.card.danger-accent::before {
    background: var(--danger);
}

.card-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.card-subtitle {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

/* --- Weather Widget (Clima) --- */
.weather-widget {
    background: linear-gradient(135deg, rgba(115, 142, 101, 0.12) 0%, rgba(255, 255, 255, 0.8) 100%);
    border: 1px solid rgba(75, 96, 67, 0.15);
    border-radius: var(--radius);
    padding: 1.25rem;
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: var(--shadow);
}

.weather-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.weather-temp {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-primary);
}

.weather-status {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
}

.weather-advice {
    font-size: 0.8rem;
    color: var(--secondary);
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 4px;
    font-weight: 600;
}

.weather-details {
    text-align: right;
    font-size: 0.8rem;
    color: var(--text-secondary);
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.weather-icon-lg {
    font-size: 2.8rem;
    color: var(--secondary);
}

/* --- Economy Dashboard --- */
.finance-summary {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 1.25rem;
}

.finance-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 1.2rem 1rem;
    text-align: center;
    box-shadow: var(--shadow);
}

.finance-label {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.finance-value {
    font-size: 1.3rem;
    font-weight: 800;
}

.finance-value.income {
    color: var(--success);
}

.finance-value.expense {
    color: var(--danger);
}

.finance-value.balance {
    color: var(--secondary);
}

/* --- Forms & Controls --- */
.input-group {
    margin-bottom: 1rem;
}

.input-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-secondary);
    margin-bottom: 6px;
}

.form-input, .form-select, .form-textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 0.85rem 1rem;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 500;
    outline: none;
    transition: all 0.2s ease;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
    border-color: var(--primary);
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 0 0 3px var(--border-focus);
}

.form-textarea {
    resize: none;
    height: 90px;
}

.btn {
    background: var(--primary);
    color: #ffffff; /* White text for contrast */
    border: none;
    padding: 0.9rem 1.5rem;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    width: 100%;
}

.btn:active {
    transform: scale(0.97);
    opacity: 0.9;
}

.btn-secondary {
    background: rgba(0, 0, 0, 0.04);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
}

.btn-danger {
    background: var(--danger-bg);
    border: 1px solid var(--danger);
    color: var(--danger);
}

/* --- Tab Selector (Parcelas, etc) --- */
.tab-selector {
    display: flex;
    background: rgba(0, 0, 0, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 4px;
    margin-bottom: 1.25rem;
    overflow-x: auto;
}

.tab-btn {
    flex: 1;
    background: none;
    border: none;
    color: var(--text-secondary);
    padding: 10px;
    font-size: 0.85rem;
    font-weight: 700;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    text-align: center;
}

.tab-btn.active {
    background: var(--primary);
    color: #ffffff;
}

/* --- Stock Control Widget --- */
.stock-control {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(0, 0, 0, 0.03);
    padding: 8px 12px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    width: fit-content;
    margin-top: 10px;
}

.stock-btn {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    border: none;
    background: rgba(0, 0, 0, 0.05);
    color: var(--text-primary);
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: background 0.2s;
}

.stock-btn:active {
    background: var(--primary);
    color: #ffffff;
}

.stock-value {
    font-size: 0.95rem;
    font-weight: 700;
    min-width: 50px;
    text-align: center;
}

/* --- Inventory & Treatments Lists --- */
.item-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.item-card {
    background: rgba(255, 255, 255, 0.45);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 6px;
    transition: all 0.2s ease;
}

.item-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.item-title {
    font-weight: 700;
    font-size: 1rem;
    color: var(--text-primary);
}

.item-badge {
    padding: 3px 8px;
    border-radius: 8px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
}

.badge-insecticida { background: rgba(230, 100, 100, 0.12); color: #c63b3b; border: 1px solid rgba(230, 100, 100, 0.25); }
.badge-herbicida { background: rgba(230, 160, 80, 0.12); color: #c97c1d; border: 1px solid rgba(230, 160, 80, 0.25); }
.badge-abono { background: rgba(100, 180, 120, 0.12); color: #2e7d32; border: 1px solid rgba(100, 180, 120, 0.25); }
.badge-fungicida { background: rgba(100, 150, 230, 0.12); color: #2b6cb0; border: 1px solid rgba(100, 150, 230, 0.25); }
.badge-otro { background: rgba(120, 120, 120, 0.12); color: #666666; border: 1px solid rgba(120, 120, 120, 0.25); }

.item-info-line {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.item-info-line span {
    font-weight: 600;
    color: var(--text-primary);
}

/* --- Safety Period Alerts (Plazos de Seguridad) --- */
.safety-alert {
    padding: 10px 14px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
}

.safety-alert.active {
    background: var(--danger-bg);
    color: var(--danger);
    border: 1px solid rgba(201, 76, 76, 0.15);
}

.safety-alert.safe {
    background: var(--success-bg);
    color: var(--success);
    border: 1px solid rgba(56, 142, 60, 0.15);
}

.safety-countdown {
    margin-left: auto;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

/* --- Interactive Harvest Counter --- */
.harvest-counter {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.4);
    border: 1px solid var(--border-color);
    padding: 1rem;
    border-radius: var(--radius-sm);
    margin-top: 10px;
}

.harvest-btn-large {
    width: 60px;
    height: 60px;
    border-radius: 18px;
    border: none;
    background: var(--primary);
    color: #ffffff;
    font-size: 1.8rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.1s ease;
    box-shadow: 0 4px 12px rgba(75, 96, 67, 0.15);
}

.harvest-btn-large:active {
    transform: scale(0.9);
}

.harvest-total {
    text-align: center;
}

.harvest-number {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1;
}

.harvest-unit {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 700;
    text-transform: uppercase;
}

/* --- Interactive Croquis Map --- */
.croquis-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin-top: 15px;
}

.croquis-cell {
    aspect-ratio: 1;
    background: rgba(255, 255, 255, 0.55);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    font-weight: 700;
    cursor: pointer;
    color: var(--text-secondary);
    transition: all 0.25s ease;
    padding: 4px;
    text-align: center;
}

.croquis-cell i {
    font-size: 1.4rem;
    margin-bottom: 4px;
}

.croquis-cell.treated {
    background: rgba(75, 96, 67, 0.12);
    border-color: var(--primary);
    color: var(--primary);
}

.croquis-cell.pending {
    background: rgba(245, 124, 0, 0.1);
    border-color: var(--warning);
    color: var(--warning);
}

.croquis-cell.plaga {
    background: rgba(201, 76, 76, 0.1);
    border-color: var(--danger);
    color: var(--danger);
}

.croquis-legend {
    display: flex;
    justify-content: space-around;
    margin-top: 15px;
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
}

.legend-color {
    width: 12px;
    height: 12px;
    border-radius: 3px;
}

/* --- Field Journal (Diario) --- */
.journal-entry {
    background: rgba(255, 255, 255, 0.45);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 1rem;
    margin-bottom: 12px;
    position: relative;
}

.journal-header {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 6px;
    font-weight: 600;
}

.journal-text {
    font-size: 0.9rem;
    color: var(--text-primary);
    line-height: 1.4;
    word-break: break-word;
}

.journal-photo-placeholder {
    width: 100%;
    height: 140px;
    background: rgba(0, 0, 0, 0.04);
    border-radius: 8px;
    margin-top: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px dashed var(--border-color);
    color: var(--text-muted);
    font-size: 0.8rem;
    overflow: hidden;
}

.journal-photo-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.delete-entry {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 1rem;
    transition: color 0.2s;
}

.delete-entry:hover {
    color: var(--danger);
}

.image-upload-btn {
    background: rgba(0, 0, 0, 0.02);
    border: 1px dashed var(--border-color);
    padding: 10px;
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    font-size: 0.85rem;
    text-align: center;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 1rem;
    transition: all 0.2s;
}

.image-upload-btn:active {
    background: rgba(0, 0, 0, 0.05);
}

/* --- Search & Header controls --- */
.search-bar {
    display: flex;
    gap: 8px;
    margin-bottom: 1.25rem;
}

.search-input {
    flex: 1;
}

/* --- Action Sheet / Modal --- */
.action-sheet-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 20000;
    display: flex;
    align-items: flex-end;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.action-sheet-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.action-sheet {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    background: var(--bg-surface-solid);
    border-top: 1px solid var(--border-color);
    border-radius: 24px 24px 0 0;
    padding: 1.5rem;
    transform: translateY(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    max-height: 85vh;
    overflow-y: auto;
}

.action-sheet-overlay.active .action-sheet {
    transform: translateY(0);
}

.sheet-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
}

.sheet-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
}

.close-sheet {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.3rem;
    cursor: pointer;
}

.fab {
    position: fixed;
    bottom: 105px;
    right: 20px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--primary);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    border: none;
    box-shadow: 0 4px 16px rgba(75, 96, 67, 0.2);
    cursor: pointer;
    z-index: 99;
    transition: all 0.2s ease;
}

.fab:active {
    transform: scale(0.92) rotate(45deg);
}

/* --- Inline Fields List & Counters --- */
.inline-fields {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

.inline-fields .input-group {
    flex: 1;
}

/* --- Empty state helper --- */
.empty-state {
    text-align: center;
    padding: 2rem 1rem;
    color: var(--text-muted);
    font-size: 0.9rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.empty-state i {
    font-size: 2.5rem;
}

/* --- Floating Alert notifications --- */
.toast {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(-100px);
    background: var(--bg-surface-solid);
    border: 1px solid var(--border-color);
    padding: 12px 20px;
    border-radius: 14px;
    box-shadow: var(--shadow);
    z-index: 30000;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    font-weight: 600;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    color: var(--text-primary);
    width: 90%;
    max-width: 400px;
}

.toast.show {
    transform: translateX(-50%) translateY(0);
}

.toast.success i { color: var(--success); }
.toast.error i { color: var(--danger); }
.toast.info i { color: var(--secondary); }

/* --- Backup styling --- */
.backup-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 1rem;
}

.info-box {
    background: rgba(217, 154, 38, 0.08);
    border: 1px solid rgba(217, 154, 38, 0.2);
    border-radius: var(--radius-sm);
    padding: 10px 12px;
    color: var(--secondary);
    font-size: 0.8rem;
    line-height: 1.3;
    margin-bottom: 12px;
    display: flex;
    gap: 8px;
    align-items: flex-start;
}

.info-box i {
    font-size: 1rem;
    margin-top: 2px;
}

/* --- Google Drive Sync & Persistence --- */
.sync-panel {
    background: rgba(0, 0, 0, 0.02);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 15px;
}

.sync-status-card {
    transition: all 0.3s ease;
}

.sync-status-card.connected {
    background: rgba(143, 167, 107, 0.08) !important;
    border: 1px solid rgba(143, 167, 107, 0.2) !important;
}

.sync-status-card.disconnected {
    background: rgba(230, 194, 98, 0.08) !important;
    border: 1px solid rgba(230, 194, 98, 0.2) !important;
}

.status-badge {
    animation: statusPulse 2s infinite ease-in-out;
}

@keyframes statusPulse {
    0% { opacity: 0.8; }
    50% { opacity: 1; }
    100% { opacity: 0.8; }
}

.persistence-status {
    padding: 8px 12px;
    background: rgba(143, 167, 107, 0.05);
    border-radius: 8px;
    border: 1px dashed rgba(143, 167, 107, 0.25);
}

/* --- details summary custom list-style reset --- */
.advanced-sync-details summary {
    list-style: none;
}
.advanced-sync-details summary::-webkit-details-marker {
    display: none;
}

/* --- CLOUD SYNC STATUS INDICATOR --- */
.cloud-sync-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 6px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    transition: all 0.3s ease;
    cursor: help;
}

.cloud-sync-status i {
    font-size: 1.15rem;
    transition: all 0.3s ease;
}

.cloud-sync-status.syncing i {
    color: var(--secondary);
    animation: cloudPulse 1.2s infinite ease-in-out;
}

.cloud-sync-status.saved i {
    color: var(--success);
}

.cloud-sync-status.offline i {
    color: var(--warning);
}

@keyframes cloudPulse {
    0% { transform: scale(1); opacity: 0.6; }
    50% { transform: scale(1.15); opacity: 1; }
    100% { transform: scale(1); opacity: 0.6; }
}

/* --- CALENDAR WIDGET SYSTEM --- */
.calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.calendar-days-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 6px;
}

.calendar-day-cell {
    aspect-ratio: 1;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-primary);
    transition: all 0.2s ease;
}

.calendar-day-cell:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
}

.calendar-day-cell.selected {
    border-color: var(--primary-light);
    background: rgba(255, 255, 255, 0.07);
}

.calendar-day-cell.other-month {
    opacity: 0.25;
}

.calendar-day-cell.today {
    background: rgba(76, 201, 240, 0.1);
    border-color: var(--primary-light);
}

.calendar-dots-container {
    display: flex;
    gap: 3px;
    position: absolute;
    bottom: 5px;
    justify-content: center;
    width: 100%;
}

.calendar-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
}

.calendar-dot.huerto {
    background: #eab308; /* Yellow */
}

.calendar-dot.olivar {
    background: #22c55e; /* Green */
}
