﻿:root {
    --primary-color: #cf8b0b;
    --error-color: #ff0000;
}
.form-section {
	padding: 0px;
	margin: 0px;
}

.form-section h3 {
	font-size: 1.2rem;
	color: #000000;
}
.form-section p {
	font-size: 1rem;
}
.form-group {
    margin-bottom: 15px;
    position: relative;
}
input[type="text"],
input[type="tel"],
input[type="email"],
input[type="number"],
input[type="date"],
textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 2px;
    font-size: 16px;
    box-sizing: border-box;
    outline: none;
}

input[type="text"]:focus,
input[type="tel"]:focus,
input[type="email"]:focus,
input[type="number"]:focus,
input[type="date"]:focus,
textarea:focus {
    border-color: #cf8b0b;
    box-shadow: 0 0 0 0.1px #cf8b0b;
}

textarea {
    min-height: 150px;
    resize: vertical;
        font-family: Arial, sans-serif;
}

label {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
    transition: all 0.3s ease;
    pointer-events: none;
    background-color: white;
    padding: 0 5px;
}

textarea + label {
    top: 25px;
    transform: none;
}

input:focus + label,
input:not(:placeholder-shown) + label,
textarea:focus + label,
textarea:not(:placeholder-shown) + label {
    top: 0;
    font-size: 12px;
    color: var(--primary-color);
}

.required::after {
    content: " *";
    color: var(--error-color);
}

button {
	background-color: var(--primary-color);
	color: white;
	padding: 12px 40px;
	border: none;
	border-radius: 100px;
	cursor: pointer;
	font-size: 1.3rem;
	display: block;
}

button:hover {
    background-color: #b3973f;
}

.error-message {
    color: var(--error-color);
    font-size: 14px;
    margin-top: 5px;
    display: none;
}

.radio-group {
	margin-bottom: 8px;
}

.radio-group input[type="radio"] {
	margin-right: 10px;
	width: 20px;
	height: 20px;
}

.radio-group label {
	position: static;
	transform: none;
	background: none;
	padding: 0;
	color: #333;
	font-size: 1rem;
}
.conditional-fields {
	border: 1px solid #cf8b0b;
	display: none;
	margin-top: 20px;
	padding: 15px;
	border-radius: 2px;
}
