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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #1e88e5 0%, #0d47a1 100%);
    min-height: 100vh;
    padding: 20px;
}

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

header {
    text-align: center;
    color: white;
    margin-bottom: 40px;
    padding-top: 40px;
}

h1 {
    font-size: 3em;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

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

.search-box {
    margin-bottom: 30px;
}

#searchInput {
    width: 100%;
    padding: 15px 20px;
    font-size: 1.1em;
    border: none;
    border-radius: 50px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    outline: none;
    transition: box-shadow 0.3s;
}

#searchInput:focus {
    box-shadow: 0 6px 12px rgba(30, 136, 229, 0.3);
}

.results {
    background: white;
    border-radius: 10px;
    padding: 20px;
    min-height: 200px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.hint {
    text-align: center;
    color: #999;
    padding: 40px;
    font-style: italic;
}

.advice-card {
    background: #e3f2fd;
    border-left: 4px solid #2196f3;
    padding: 20px;
    margin-bottom: 15px;
    border-radius: 5px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.advice-card:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(33, 150, 243, 0.3);
}

.advice-text {
    font-size: 1.1em;
    line-height: 1.6;
    color: #333;
    margin-bottom: 10px;
}

.advice-author {
    text-align: right;
    color: #1976d2;
    font-weight: bold;
    font-style: italic;
}

.no-results {
    text-align: center;
    color: #666;
    padding: 40px;
}

.no-results p {
    font-size: 1.1em;
    margin-bottom: 10px;
}

@media (max-width: 600px) {
    h1 {
        font-size: 2em;
    }

    .subtitle {
        font-size: 1em;
    }
}
