/* Calendar Grid Styles */
.calendar-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

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

.calendar-nav {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.calendar-nav h2 {
    margin: 0;
    min-width: 200px;
    text-align: center;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.calendar-day-header {
    background: var(--primary);
    color: white;
    padding: 1rem;
    text-align: center;
    font-weight: 500;
    font-size: 0.9rem;
}

.calendar-day {
    min-height: 120px;
    background: white;
    border-right: 1px solid #eee;
    border-bottom: 1px solid #eee;
    padding: 0.5rem;
    position: relative;
    transition: background-color 0.2s;
    cursor: pointer;
}

.calendar-day:nth-child(7n) {
    border-right: none;
}

.calendar-day:hover {
    background-color: #fafafa;
}

.calendar-day.today {
    background-color: #f0f7ef;
}

.calendar-day.other-month {
    background-color: #f9f9f9;
    color: #ccc;
}

.day-number {
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.moon-icon {
    font-size: 1.2rem;
}

.best-for-icons {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 0.5rem;
    flex-wrap: wrap;
}

.best-for-icon {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    background: #eee;
}

.best-for-icon.leafy {
    background: #e8f5e9;
    color: #2e7d32;
}

.best-for-icon.fruiting {
    background: #fff3e0;
    color: #ef6c00;
}

.best-for-icon.roots {
    background: #efebe9;
    color: #5d4037;
}

.best-for-icon.flowers {
    background: #f3e5f5;
    color: #7b1fa2;
}

.event-dot {
    font-size: 0.75rem;
    padding: 0.15rem 0.4rem;
    border-radius: 4px;
    margin-bottom: 0.2rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    background: #e3f2fd;
    color: #1565c0;
}

.event-dot.type-Sowed {
    background: #e3f2fd;
    color: #1565c0;
}

.event-dot.type-Transplanted {
    background: #e8f5e9;
    color: #2e7d32;
}

.event-dot.type-Harvested {
    background: #fff3e0;
    color: #ef6c00;
}

.event-dot.type-Note {
    background: #f3e5f5;
    color: #7b1fa2;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .calendar-day {
        min-height: 80px;
    }

    .calendar-day-header {
        padding: 0.5rem;
        font-size: 0.8rem;
    }

    .event-dot {
        font-size: 0.6rem;
    }
}

/* Radio Card Styles (Copied from plant-dictionary.css) */
.radio-card {
    position: relative;
    cursor: pointer;
}

.radio-card input {
    position: absolute;
    opacity: 0;
}

.radio-card span {
    display: block;
    padding: 0.75rem;
    background: #f5f5f5;
    border: 2px solid transparent;
    border-radius: 8px;
    text-align: center;
    transition: all 0.2s;
    font-weight: 500;
}

.radio-card input:checked+span {
    background: rgba(45, 90, 39, 0.1);
    border-color: var(--primary);
    color: var(--primary);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-navigation {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    margin-top: 2rem;
}

.btn-primary,
.btn-secondary {
    cursor: pointer;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    font-family: 'Outfit', sans-serif;
}

.btn-primary {
    background: var(--primary);
    color: white;
}

.btn-secondary {
    background: #f5f5f5;
    color: var(--text-dark);
}

/* Modal Styles overlap with style.css but ensuring inputs look good */
textarea,
select,
input[type="date"] {
    font-family: 'Outfit', sans-serif;
}