/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background: #f5f7fa;
    color: #333;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

header {
    background: #2d3436;
    color: #ffffff;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

header h3, header h4 {
    font-weight: 400;
    margin: 3px 0;
    font-size: 1rem;
    color: #dfe6e9;
}

main {
    flex: 1;
    padding: 40px 20px;
    max-width: 800px;
    margin: auto;
}

section {
    background: #ffffff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
}

section h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #2d3436;
}

#news-input {
    width: 100%;
    height: 200px;
    padding: 15px;
    font-size: 1rem;
    border: 2px solid #dfe6e9;
    border-radius: 10px;
    resize: vertical;
    outline: none;
    transition: border-color 0.3s;
}

#news-input:focus {
    border-color: #0984e3;
}

button {
    display: inline-block;
    margin-top: 15px;
    padding: 12px 25px;
    font-size: 1rem;
    font-weight: 600;
    background-color: #0984e3;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #74b9ff;
}

#result-text {
    font-size: 1.2rem;
    padding: 10px;
    color: #2d3436;
    background: #f1f2f6;
    border-left: 5px solid #0984e3;
    margin-top: 15px;
    border-radius: 5px;
}

footer {
    text-align: center;
    padding: 20px;
    background: #2d3436;
    color: white;
    font-size: 0.9rem;
    box-shadow: 0 -2px 8px rgba(0,0,0,0.1);
}
