* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Hind Siliguri', sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    padding: 20px;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Header Styles */
.header {
    text-align: center;
    margin-bottom: 30px;
    color: white;
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 10px;
}

.logo i {
    font-size: 2.5rem;
    color: #ff6b6b;
}

.logo span {
    font-size: 2.2rem;
    font-weight: 700;
}

.tagline {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Card Styles */
.dashboard {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.status-card,
.input-card,
.predictions-card,
.calendar-card {
    background: white;
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.status-card:hover,
.input-card:hover,
.predictions-card:hover,
.calendar-card:hover {
    transform: translateY(-5px);
}

.card-header {
    display: flex;
    justify-content: between;
    align-items: center;
    margin-bottom: 20px;
    border-bottom: 2px solid #f8f9fa;
    padding-bottom: 15px;
}

.card-header h2 {
    color: #2c3e50;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.card-header h2 i {
    color: #e84393;
}

/* Status Card */
.status-content {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.cycle-day,
.next-period,
.ovulation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px;
    border-radius: 10px;
    background: #f8f9fa;
}

.cycle-day .label,
.next-period .label,
.ovulation .label {
    font-weight: 500;
    color: #2c3e50;
}

.cycle-day .value,
.next-period .value,
.ovulation .value {
    font-weight: 600;
    color: #e84393;
}

/* Form Styles */
.input-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-weight: 500;
    color: #2c3e50;
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-group input {
    padding: 12px 15px;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    font-family: 'Hind Siliguri', sans-serif;
}

.form-group input:focus {
    outline: none;
    border-color: #e84393;
}

.btn-primary {
    background: linear-gradient(135deg, #e84393, #fd79a8);
    color: white;
    border: none;
    padding: 15px 25px;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: 'Hind Siliguri', sans-serif;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(232, 67, 147, 0.3);
}

/* Predictions Grid */
.predictions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.prediction-item {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    border-left: 4px solid #e84393;
}

.prediction-month {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 8px;
}

.prediction-date {
    color: #e84393;
    font-weight: 500;
}

.ovulation-date {
    color: #00b894;
    font-size: 0.9rem;
    margin-top: 5px;
}

/* Calendar Styles */
.calendar-nav {
    display: flex;
    align-items: center;
    gap: 15px;
}

.calendar-nav button {
    background: #e84393;
    color: white;
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.calendar-nav button:hover {
    background: #fd79a8;
}

#currentMonth {
    font-weight: 600;
    color: #2c3e50;
    min-width: 150px;
    text-align: center;
}

.calendar {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
    margin-top: 15px;
}

.calendar-header {
    text-align: center;
    font-weight: 600;
    color: #2c3e50;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 5px;
}

.calendar-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.calendar-day.empty {
    background: transparent;
    cursor: default;
}

.calendar-day.normal {
    background: #f8f9fa;
    color: #2c3e50;
}

.calendar-day.period {
    background: #e84393;
    color: white;
    font-weight: 600;
}

.calendar-day.ovulation-day {
    background: #00b894;
    color: white;
    font-weight: 600;
}

.calendar-day.fertile {
    background: #ffeaa7;
    color: #2c3e50;
}

.calendar-day:hover:not(.empty) {
    transform: scale(1.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .dashboard {
        grid-template-columns: 1fr;
    }
    
    .logo {
        flex-direction: column;
        gap: 10px;
    }
    
    .logo span {
        font-size: 1.8rem;
    }
    
    .predictions-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
}

@media (max-width: 480px) {
    body {
        padding: 10px;
    }
    
    .status-card,
    .input-card,
    .predictions-card,
    .calendar-card {
        padding: 15px;
    }
    
    .calendar-header,
    .calendar-day {
        font-size: 0.8rem;
    }
}