@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@200..700&display=swap');

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Oswald', sans-serif; 
    background-color: #f0f4f8; 
    color: #333333;
    min-height: 100vh;
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

h1 {
    font-size: 28px;
    color: #1e293b;
    margin-bottom: 24px;
    text-align: center;
    font-weight: 600;
    letter-spacing: 0.5px;
}

form {
    background-color: #ffffff; 
    width: 100%;
    max-width: 500px; 
    margin: 0 auto; 
    border-radius: 12px; 
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05); 
    padding: 30px; 
    display: flex;
    flex-direction: column;
}

form br {
    display: none;
}

label {
    display: block;
    font-size: 15px;
    font-weight: 400;
    color: #4a5568;
    margin-top: 16px;
    margin-bottom: 6px;
    letter-spacing: 0.3px;
}

label[for="term&cond"] {
    display: inline;
    margin-top: 0;
    margin-bottom: 0;
    padding-left: 8px;
    vertical-align: middle;
}

input[type="text"],
input[type="number"],
input[type="email"],
input[type="password"],
input[type="date"],
select {
    width: 100%;
    padding: 10px 14px;
    font-family: 'Oswald', sans-serif;
    font-size: 15px;
    border: 1px solid #cbd5e1;
    border-radius: 6px; 
    background-color: #fff;
    color: #334155;
    outline: none;
    transition: all 0.3s ease;
}

input:focus, select:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

input[type="color"] {
    width: 100%;
    height: 40px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    cursor: pointer;
    background: none;
    padding: 2px;
}

input[type="range"] {
    width: 100%;
    margin: 8px 0;
    cursor: pointer;
}

input[type="checkbox"] {
    width: 16px;
    height: 16px;
    cursor: pointer;
    display: inline-block;
    vertical-align: middle;
    margin-top: 16px; 
}

.final_btn {
    width: 100%;
    padding: 12px;
    font-family: 'Oswald', sans-serif;
    font-size: 16px;
    font-weight: 500;
    border: none;
    border-radius: 6px; 
    cursor: pointer;
    letter-spacing: 0.5px;
    transition: all 0.2s ease;
}

input[type="submit"].final_btn {
    background-color: #3b82f6; 
    color: #ffffff;
    margin-top: 24px; 
}

input[type="submit"].final_btn:hover {
    background-color: #2563eb; 
}

input[type="reset"].final_btn {
    background-color: #f1f5f9; 
    color: #64748b;
    margin-top: 12px; 
}

input[type="reset"].final_btn:hover {
    background-color: #e2e8f0;
    color: #475569;
}

input[type="image"].final_btn {
    width: 20%;
    height: 10%;
    padding: 0;
    margin-top: 12px;
    margin-bottom: 12px;
    display: flex;
    margin-left: auto;
    margin-right: auto;
}

#valor-ansiedad {
    display: inline-block;
    background-color: #3b82f6;
    color: white;
    padding: 2px 12px;
    font-family: 'Oswald', sans-serif;
    font-size: 14px;
    font-weight: 400;
    border-radius: 20px;
    margin-top: 5px;
    text-align: center;
    width: fit-content;
}

.form-section {
    background-color: #f8fafc;
    border-left: 4px solid #3b82f6;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 6px;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.05);
}

.section-title {
    font-size: 16px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 16px;
    margin-top: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.checkbox-group {
    margin-left: 16px;
    padding: 10px 0;
}

.checkbox-group label {
    display: inline;
    margin-top: 0;
    margin-bottom: 0;
    margin-left: 6px;
    font-weight: 400;
}

.checkbox-group input[type="checkbox"] {
    margin-top: 0;
}

.button-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 20px;
}