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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #f5f7fa;
    min-height: 100vh;
    color: #333;
}

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

.header h1 {
    font-size: 2.8em;
    font-weight: 300;
    margin-bottom: 10px;
}

.header p {
    font-size: 1.2em;
    opacity: 0.9;
}

.main-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    max-width: 1400px;
    margin: 40px auto;
    padding: 0 20px;
}

.input-section, .result-section {
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    padding: 30px;
}

.input-section h2, .result-section h2 {
    color: #2c3e50;
    font-size: 1.6em;
    font-weight: 600;
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 3px solid #667eea;
}

.prediction-form {
    display: grid;
    gap: 20px;
}

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

label {
    font-weight: 600;
    color: #34495e;
    margin-bottom: 8px;
    font-size: 0.95em;
}

input, select {
    padding: 12px 16px;
    border: 2px solid #e8ecef;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: #fafbfc;
}

input:focus, select:focus {
    outline: none;
    border-color: #667eea;
    background: white;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

select {
    cursor: pointer;
}

.predict-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 16px 32px;
    border: none;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 20px;
}

.predict-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.result {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    color: white;
    box-shadow: 0 8px 30px rgba(102, 126, 234, 0.2);
}

.result-icon {
    font-size: 3em;
    margin-bottom: 15px;
}

.result h3 {
    font-size: 1.5em;
    margin-bottom: 15px;
    font-weight: 600;
}

.prediction-text {
    font-size: 1.2em;
    font-weight: 500;
    line-height: 1.5;
}

.placeholder {
    text-align: center;
    padding: 60px 20px;
    color: #7f8c8d;
}

.placeholder-icon {
    font-size: 4em;
    margin-bottom: 20px;
    opacity: 0.5;
}

.placeholder p {
    font-size: 1.1em;
    line-height: 1.6;
}

@media (max-width: 1024px) {
    .main-container {
        grid-template-columns: 1fr;
        gap: 20px;
        margin: 20px auto;
    }
    
    .header h1 {
        font-size: 2.2em;
    }
    
    .input-section, .result-section {
        padding: 25px;
    }
}

@media (max-width: 768px) {
    .header {
        padding: 30px 15px;
    }
    
    .header h1 {
        font-size: 2em;
    }
    
    .main-container {
        padding: 0 15px;
    }
    
    .input-section, .result-section {
        padding: 20px;
    }
    
    .prediction-form {
        gap: 15px;
    }
}