/* ==============================================================
	Theme Forms 
   ==============================================================*/

.theme-form {
    width: 100%;
	display: grid;
	gap: 20px 0;
}


.theme-form-field {
    margin-bottom: 10px;
}

.theme-form-field label {
    display: none;
    margin-bottom: 6px;
    font-weight: 600;
}

.theme-form-field input,
.theme-form-field textarea,
.theme-form-field select {
    width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 3px;
    font: inherit;
    box-sizing: border-box;
}

.theme-form-field textarea {
    min-height: 0;
    resize: vertical;
}

.theme-form-field input:focus,
.theme-form-field textarea:focus,
.theme-form-field select:focus {
    outline: none;
    border-color: var(--primary-color);
}

.theme-form-field-error {
    margin: 5px 0 0;
    font-size: 0.9rem;
    color: #b00020;
}

.theme-form-field.has-error input,
.theme-form-field.has-error textarea,
.theme-form-field.has-error select {
    border-color: #b00020;
}

.theme-form-message {
    margin-bottom: 20px;
    padding: 12px 15px;
    border-radius: 5px;
}

.theme-form-error {
    background: #fff0f0;
    color: #8b0000;
}

.theme-form button {
    display: block;
	width: fit-content;
    margin: 10px auto 0;
    padding: 8px 18px;
    background: var(--primary-color);
    border: 0;
    border-radius: 10px;
    text-align: center;
    color: var(--secondary-color);
    font-family: var(--font-body);
    font-size: 1.1rem;
    cursor: pointer;
}

.theme-form button:hover {
    opacity: 0.9;
}

.form-field {
    margin-bottom: 10px;
}

.form-field label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
}

.form-field input,
.form-field textarea {
    width: 100%;
    padding: 5px;
    border: 1px solid #ccc;
}

.form-field textarea {
    resize: vertical;
}

