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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    padding: 20px;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

header {
    background: linear-gradient(135deg, #ff9a56 0%, #ff6b9d 100%);
    color: white;
    padding: 40px 30px;
    text-align: center;
}

header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    font-weight: 600;
}

header p {
    font-size: 1.1rem;
    opacity: 0.9;
}

.calculator-section {
    padding: 40px 30px;
    background: #f8f9ff;
}

.form-group {
    margin-bottom: 25px;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #555;
}

input[type="number"] {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

input[type="number"]:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

button {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 15px 30px;
    font-size: 18px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    width: 100%;
}

button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(102, 126, 234, 0.3);
}

button:active {
    transform: translateY(0);
}

.results-section {
    padding: 40px 30px;
    border-top: 1px solid #e1e5e9;
}

.results-section h2 {
    color: #333;
    margin-bottom: 20px;
    font-size: 1.8rem;
}

#results {
    background: #f8f9ff;
    padding: 25px;
    border-radius: 8px;
    border-left: 4px solid #667eea;
    margin-bottom: 25px;
    font-family: 'Courier New', monospace;
    white-space: pre-line;
    max-height: 300px;
    overflow-y: auto;
}

.final-amount {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    color: white;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
}

.final-amount h3 {
    font-size: 1.4rem;
}

.final-amount span {
    font-weight: 700;
    font-size: 1.6rem;
}

.info-section {
    padding: 40px 30px;
    background: #f8f9ff;
    border-top: 1px solid #e1e5e9;
}

.info-section h3 {
    color: #333;
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.info-section p {
    margin-bottom: 15px;
    color: #666;
}

.info-section ul {
    list-style: none;
    padding-left: 0;
}

.info-section li {
    padding: 10px 0;
    border-bottom: 1px solid #e1e5e9;
    color: #666;
}

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

.info-section strong {
    color: #333;
}

@media (max-width: 600px) {
    body {
        padding: 10px;
    }
    
    header {
        padding: 30px 20px;
    }
    
    header h1 {
        font-size: 2rem;
    }
    
    .calculator-section,
    .results-section,
    .info-section {
        padding: 30px 20px;
    }
}

.week-result {
    background: white;
    padding: 15px;
    margin: 10px 0;
    border-radius: 6px;
    border-left: 4px solid #ff6b9d;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.week-number {
    font-weight: 700;
    color: #ff6b9d;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.milk-amounts {
    margin-top: 5px;
    color: #555;
}
