:root {
    --primary-color: #00a7c7;
    --primary-dark: #008ca8;
    --text-color: #333;
    --border-color: #ddd;
    --background-light: #f9f9f9;
    --shadow-color: rgba(0, 0, 0, 0.1);
    --success-color: #28a745;
    --error-color: #dc3545;
}

body {
    font-family: 'Segoe UI', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    margin: 0;
    padding: 0;
    background-color: #f5f5f5;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.logo {
    max-width: 200px;
    margin: 20px auto 40px;
    display: block;
}

.form-container {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 6px var(--shadow-color);
    margin-bottom: 30px;
}

h1 {
    color: var(--primary-color);
    margin-bottom: 30px;
    font-size: 24px;
    text-align: center;
}

.form-group {
    margin-bottom: 25px;
}

.form-section {
    background: var(--background-light);
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 25px;
    border: 1px solid var(--border-color);
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-color);
}

input[type="text"],
input[type="date"],
select {
    width: 50%;
    padding: 12px;
    border: 2px solid var(--border-color);
    border-radius: 6px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

input[type="text"]:focus,
input[type="date"]:focus,
select:focus {
    outline: none;
    border-color: var(--primary-color);
}

#privacyKey{
    width: 50%;
}

.radio-group,
.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.radio-option,
.checkbox-option {
    display: flex;
    align-items: center;
    padding: 8px;
    border-radius: 4px;
    transition: background-color 0.2s ease;
}

.radio-option:hover,
.checkbox-option:hover {
    background-color: #f0f0f0;
}

.radio-option input,
.checkbox-option input {
    margin-right: 10px;
}

.radio-option label,
.checkbox-option label {
    margin: 0;
    font-weight: normal;
    cursor: pointer;
}

.scale-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    gap: 8px;
    flex-wrap: wrap; /* Added for better mobile responsiveness */
    min-height: 60px; /* Ensure minimum height */
    background: white; /* Added for better visibility */
}

.scale-number {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--border-color);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s ease;
    background: white; /* Added for better visibility */
    font-weight: 500; /* Make numbers more visible */
}

.scale-number:hover {
    border-color: var(--primary-color);
    background-color: var(--background-light);
}

.scale-number.selected {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}


.primary-button {
    background: var(--primary-color);
    color: white;
    padding: 14px 28px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    width: 100%;
    transition: background-color 0.3s ease;
}

.primary-button:hover {
    background: var(--primary-dark);
}

.helper-text {
    color: #666;
    font-size: 14px;
    margin-top: -5px;
    margin-bottom: 15px;
}

.scale-description {
    color: #666;
    font-size: 14px;
    margin-top: -5px;
    margin-bottom: 15px;
    text-align: center;
}

.personal-info {
    background: var(--background-light);
    padding: 25px;
    border-radius: 8px;
    margin-bottom: 25px;
    border: 1px solid var(--border-color);
}

@media (max-width: 600px) {
    .container {
        padding: 10px;
    }
    
    .form-container {
        padding: 20px;
    }
    
    .scale-number {
        width: 30px;
        height: 30px;
        font-size: 14px;
    }
}