* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    padding: 20px;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

h1 {
    color: #2c3e50;
    margin-bottom: 10px;
    font-size: 28px;
    text-align: center;
}

.subtitle {
    color: #7f8c8d;
    margin-bottom: 25px;
    font-size: 16px;
    text-align: center;
}

.question-section {
    margin-bottom: 25px;
    padding: 18px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    background: #f9f9f9;
}

.question-section h3 {
    color: #34495e;
    margin-bottom: 12px;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.option {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    background: white;
    border: 2px solid #ddd;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
}

.option:hover {
    border-color: #667eea;
    background: #f0f4ff;
}

.option input {
    margin-right: 10px;
    transform: scale(1.1);
}

.form-input {
    width: 100%;
    padding: 14px;
    font-size: 15px;
    border: 2px solid #ddd;
    border-radius: 8px;
    transition: border-color 0.2s;
}

.form-input:focus {
    outline: none;
    border-color: #667eea;
}

.btn {
    padding: 16px 25px;
    font-size: 15px;
    font-weight: 600;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
}

.btn-primary {
    background: #667eea;
    color: white;
    width: 100%;
}

.btn-primary:hover {
    background: #5a6fd8;
}

.checkbox-options {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 8px;
}

.message {
    padding: 12px 15px;
    border-radius: 8px;
    margin-bottom: 15px;
    display: none;
}

.message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.telegram-status {
    margin: 20px 0;
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    font-weight: bold;
    background: #f8d7da;
    color: #721c24;
    border: 2px solid #f5c6cb;
}

.telegram-status.connected {
    background: #d4edda;
    color: #155724;
    border: 2px solid #c3e6cb;
}

.loading {
    padding: 12px;
    text-align: center;
    color: #7f8c8d;
    font-style: italic;
}

@media (max-width: 768px) {
    .container {
        padding: 20px;
        border-radius: 15px;
    }

    h1 {
        font-size: 22px;
    }

    .checkbox-options {
        grid-template-columns: 1fr;
    }
}
