.otys-form-wrapper {
	max-width: 680px;
}

.otys-form-title {
	margin-bottom: 1.5rem;
}

.otys-form-messages {
	padding: 0.75rem 1rem;
	border-radius: 4px;
	margin-bottom: 1.25rem;
	display: none;
}

.otys-form-messages:not(:empty) {
	display: block;
}

.otys-form-messages.otys-success {
	background: #d4edda;
	border: 1px solid #c3e6cb;
	color: #155724;
}

.otys-form-messages.otys-error {
	background: #f8d7da;
	border: 1px solid #f5c6cb;
	color: #721c24;
}

.otys-form-page {
	border: none;
	padding: 0;
	margin: 0 0 1.5rem;
}

.otys-form-page legend {
	font-weight: 600;
	font-size: 1.1em;
	margin-bottom: 1rem;
}

.otys-field {
	margin-bottom: 1.25rem;
}

.otys-field label {
	display: block;
	font-weight: 600;
	margin-bottom: 0.35rem;
}

.otys-required {
	color: #c00;
	margin-left: 2px;
}

.otys-field input[type="text"],
.otys-field input[type="email"],
.otys-field input[type="tel"],
.otys-field input[type="url"],
.otys-field input[type="number"],
.otys-field input[type="date"],
.otys-field input[type="time"],
.otys-field select,
.otys-field textarea {
	width: 100%;
	padding: 0.5rem 0.75rem;
	border: 1px solid #ccc;
	border-radius: 4px;
	font-size: 1rem;
	box-sizing: border-box;
}

.otys-field textarea {
	resize: vertical;
}

.otys-field input:focus,
.otys-field select:focus,
.otys-field textarea:focus {
	outline: 2px solid #0073aa;
	border-color: #0073aa;
}

.otys-radio-label,
.otys-checkbox-label {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	font-weight: normal;
	margin-bottom: 0.3rem;
	cursor: pointer;
}

.otys-field-hint {
	font-size: 0.85em;
	color: #666;
	margin: 0.25rem 0 0;
}

.otys-form-submit {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	margin-top: 1.5rem;
}

.otys-btn-submit {
	padding: 0.65rem 1.5rem;
	background: #0073aa;
	color: #fff;
	border: none;
	border-radius: 4px;
	font-size: 1rem;
	cursor: pointer;
	transition: background 0.2s;
}

.otys-btn-submit:hover {
	background: #005c8a;
}

.otys-btn-submit:disabled {
	opacity: 0.65;
	cursor: not-allowed;
}

.otys-form-spinner {
	width: 20px;
	height: 20px;
	border: 3px solid #ccc;
	border-top-color: #0073aa;
	border-radius: 50%;
	animation: otys-spin 0.7s linear infinite;
}

@keyframes otys-spin {
	to { transform: rotate(360deg); }
}
