* {
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', sans-serif;
    background: linear-gradient(135deg, #667eea, #764ba2);
    margin: 0;
}

.container {
    max-width: 520px;
    margin: 20px auto;
    background: white;
    padding: 18px;
    border-radius: 18px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.logo {
    text-align: center;
}

.logo img {
    max-width: 110px;
}

h2 {
    text-align: center;
    font-size: 18px;
}

label {
    font-weight: 600;
    margin-top: 10px;
    display: block;
    font-size: 14px;
}

input, select, textarea {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    border-radius: 10px;
    border: 1px solid #ddd;
    font-size: 14px;
    font-family: inherit;
    box-sizing: border-box;
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 2px rgba(102,126,234,0.2);
}

button[type="submit"] {
    width: 100%;
    margin-top: 15px;
    padding: 12px;
    background: #667eea;
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 15px;
    cursor: pointer;
    transition: opacity 0.15s;
}

button[type="submit"]:hover {
    opacity: 0.88;
}

.error {
    color: red;
    font-size: 12px;
    margin-top: 3px;
    display: block;
}

/* SEARCHABLE DROPDOWN */
.sd-wrapper {
    position: relative;
    margin-top: 5px;
}

.sd-wrapper input[type="text"] {
    width: 100%;
    padding: 10px 36px 10px 10px;
    border-radius: 10px;
    border: 1px solid #ddd;
    font-size: 14px;
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'/%3E%3C/svg%3E") no-repeat right 10px center;
    box-sizing: border-box;
    margin-top: 0;
}

.sd-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #ddd;
    border-radius: 10px;
    max-height: 220px;
    overflow-y: auto;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

.sd-item {
    padding: 10px 12px;
    font-size: 14px;
    cursor: pointer;
    border-bottom: 1px solid #f0f0f0;
}

.sd-item:last-child { border-bottom: none; }
.sd-item:hover      { background: #f0f4ff; }

@media (max-width: 480px) {
    .container {
        margin: 10px;
        padding: 12px;
    }
}