:root {
    --primary: #4f46e5;
    --bg: #f3f4f6;
}

body {
    font-family: 'Pretendard', sans-serif;
    background-color: var(--bg);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
}

.container {
    background: white;
    width: 90%;
    max-width: 400px;
    padding: 30px;
    border-radius: 25px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    text-align: center;
}

h1 { color: #1f2937; margin-bottom: 5px; }
.subtitle { color: #6b7280; font-size: 0.9rem; margin-bottom: 25px; }

input[type="text"] {
    width: 100%;
    padding: 15px;
    border: 2px solid #e5e7eb;
    border-radius: 15px;
    box-sizing: border-box;
    font-size: 1rem;
    margin-bottom: 20px;
    transition: border-color 0.3s;
}

input[type="text"]:focus {
    outline: none;
    border-color: var(--primary);
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 25px;
}

.category-grid input[type="radio"] { display: none; }
.category-grid label {
    padding: 10px;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    font-size: 0.85rem;
    cursor: pointer;
}

.category-grid input[type="radio"]:checked + label {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

button {
    width: 100%;
    padding: 15px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 15px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
}

.result-box {
    margin-top: 30px;
    padding: 20px;
    background: #eef2ff;
    border-radius: 20px;
    border: 2px solid #c7d2fe;
}

.btn-map {
    display: inline-block;
    margin-top: 15px;
    color: var(--primary);
    text-decoration: none;
    font-weight: bold;
}