* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #f0f8f0, #ffffff);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.dictionary-container {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 128, 0, 0.1);
    width: 100%;
    max-width: 520px;
    border: 3px solid #4CAF50;
}

h1 {
    text-align: center;
    color: #1b5e20;
    margin-bottom: 30px;
    font-size: 28px;
}

.input-group {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

#wordInput {
    flex: 1;
    padding: 14px 18px;
    font-size: 18px;
    border: 2px solid #4CAF50;
    border-radius: 12px;
    outline: none;
    min-width: 250px;
}

#wordInput:focus {
    border-color: #2e7d32;
    box-shadow: 0 0 0 4px rgba(76, 175, 80, 0.2);
}

button {
    padding: 14px 24px;
    font-size: 16px;
    font-weight: bold;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s;
}

#searchBtn {
    background: #4CAF50;
    color: white;
}

#searchBtn:hover {
    background: #388e3c;
}

#resetBtn {
    background: #c8e6c9;
    color: #2e7d32;
}

#resetBtn:hover {
    background: #a5d6a7;
}

.result-box {
    background: #e8f5e9;
    padding: 25px;
    border-radius: 15px;
    min-height: 100px;
    border-left: 6px solid #4CAF50;
}

#resultText {
    font-size: 24px;
    color: #1b5e20;
    line-height: 1.6;
}

small {
    display: block;
    text-align: center;
    margin-top: 20px;
    color: #666;
    font-size: 12px;
}