body {
    background: #f4f6f8;
    font-family: 'Segoe UI', Arial, sans-serif;
    margin: 0;
    padding: 0;
}
.container {
    max-width: 400px;
    margin: 40px auto;
    background: #fff;
    padding: 32px 24px 24px 24px;
    border-radius: 10px;
    box-shadow: 0 2px 16px rgba(0,0,0,0.08);
}
h2 {
    text-align: center;
    margin-bottom: 24px;
    color: #222;
}
label {
    display: block;
    margin-bottom: 6px;
    color: #333;
    font-weight: 500;
}
input[type="text"], textarea {
    width: 100%;
    padding: 8px 10px;
    margin-bottom: 18px;
    border: 1px solid #d1d5db;
    border-radius: 5px;
    font-size: 1rem;
    background: #f9fafb;
    transition: border 0.2s;
}
input[type="text"]:focus, textarea:focus {
    border: 1.5px solid #0078d7;
    outline: none;
}
textarea {
    min-height: 80px;
    resize: vertical;
}
button {
    width: 100%;
    padding: 10px;
    background: #0078d7;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}
button:hover {
    background: #005fa3;
}
.switch {
    display: flex;
    align-items: center;
    margin-bottom: 18px;
    cursor: pointer;
}
.switch input {
    display: none;
}
.slider {
    width: 36px;
    height: 20px;
    background: #ccc;
    border-radius: 20px;
    position: relative;
    margin-right: 10px;
    transition: background 0.2s;
}
.slider:before {
    content: "";
    position: absolute;
    left: 2px;
    top: 2px;
    width: 16px;
    height: 16px;
    background: #fff;
    border-radius: 50%;
    transition: transform 0.2s;
}
input:checked + .slider {
    background: #0078d7;
}
input:checked + .slider:before {
    transform: translateX(16px);
}
#result {
    margin-top: 16px;
    text-align: center;
    color: #0078d7;
    font-weight: 500;
}
