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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    padding: 10px;
}

.container {
    max-width: 100%;
    margin: 0 auto;
    background: white;
    border-radius: 15px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    overflow: hidden;
}

.header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 20px;
    text-align: center;
}

h1 {
    font-size: 24px;
    margin-bottom: 10px;
}

.subtitle {
    font-size: 14px;
    opacity: 0.9;
}

.selection-form {
    padding: 20px;
    background: #f8f9fa;
}

.form-section {
    margin-bottom: 20px;
}

.form-section h3 {
    margin-bottom: 10px;
    color: #2d3436;
    font-size: 16px;
    font-weight: 600;
}

.form-section select {
    width: 100%;
    padding: 12px;
    font-size: 16px;
    border: 2px solid #dee2e6;
    border-radius: 8px;
    background: white;
    transition: border-color 0.3s ease;
}

.form-section select:enabled:hover {
    border-color: #667eea;
}

.form-section select:disabled {
    background: #f8f9fa;
    color: #6c757d;
    cursor: not-allowed;
}

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

.form-section input[type="number"]:enabled:hover {
    border-color: #667eea;
}

.form-section input[type="number"]:disabled {
    background: #f8f9fa;
    color: #6c757d;
    cursor: not-allowed;
}

.get-time-btn {
    width: 100%;
    padding: 15px;
    font-size: 18px;
    font-weight: 600;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.get-time-btn:enabled:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

.get-time-btn:disabled {
    background: #dee2e6;
    color: #6c757d;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.start-over-btn {
    width: 100%;
    padding: 12px;
    font-size: 16px;
    font-weight: 600;
    background: #6c757d;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s ease;
    margin-top: 20px;
}

.start-over-btn:hover {
    background: #495057;
}

.cooking-results {
    padding: 20px;
}

.cooking-result-card {
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

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

.result-header h2 {
    font-size: 24px;
    color: #2d3436;
    margin: 0;
}

.cooking-method-badge {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
}

.instruction-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 25px;
}

.instruction-item {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease;
}

.instruction-item.highlight {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    transform: scale(1.02);
}

.instruction-item:hover {
    transform: translateY(-2px);
}

.instruction-label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
    opacity: 0.8;
}

.instruction-value {
    font-size: 16px;
    font-weight: 700;
    color: inherit;
}

.cooking-notes {
    background: #fff9db;
    padding: 20px;
    border-radius: 10px;
    border-left: 4px solid #ffd93d;
    margin-bottom: 20px;
}

.cooking-notes h4 {
    margin: 0 0 10px 0;
    color: #2d3436;
    font-size: 16px;
}

.cooking-notes p {
    margin: 0;
    color: #5a5a5a;
    line-height: 1.5;
}

.safety-reminder {
    background: #ffebee;
    padding: 15px;
    border-radius: 10px;
    border-left: 4px solid #ff6b6b;
    color: #d32f2f;
    font-size: 14px;
}


.safety-banner {
    background: #ff6b6b;
    color: white;
    padding: 10px;
    text-align: center;
    font-size: 12px;
    font-weight: 500;
}

@media (max-width: 480px) {
    .instruction-grid {
        grid-template-columns: 1fr;
    }
    
    .result-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .result-header h2 {
        font-size: 20px;
    }
    
    h1 {
        font-size: 20px;
    }
    
    .cooking-result-card {
        padding: 20px;
    }
}