.todisco-rental-wrapper {
	max-width: 820px;
	margin: 35px auto;
	color: #242424;
}

.todisco-rental-wrapper,
.todisco-rental-wrapper * {
	box-sizing: border-box;
}

.todisco-rental-heading {
	margin-bottom: 24px;
}

.todisco-rental-heading h2 {
	margin: 0 0 10px;
	font-size: clamp(28px, 4vw, 38px);
	line-height: 1.2;
}

.todisco-rental-heading p {
	max-width: 720px;
	margin: 0;
	color: #5c5c5c;
	font-size: 16px;
	line-height: 1.6;
}

.todisco-rental-form {
	padding: 32px;
	background: #ffffff;
	border: 1px solid #e0e0e0;
	border-radius: 10px;
	box-shadow: 0 8px 28px rgba(0, 0, 0, 0.05);
}

.todisco-form-section {
	margin-bottom: 32px;
}

.todisco-form-section h3 {
	margin: 0 0 20px;
	padding-bottom: 10px;
	border-bottom: 1px solid #e6e6e6;
	font-size: 21px;
	line-height: 1.3;
}

.todisco-form-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px;
}

.todisco-form-field {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 7px;
}

.todisco-field-full {
	grid-column: 1 / -1;
}

.todisco-form-field label {
	font-weight: 600;
	font-size: 15px;
	line-height: 1.4;
}

.todisco-form-field label span,
.todisco-checkbox-field label span {
	color: #b00020;
}

.todisco-form-field input,
.todisco-form-field select,
.todisco-form-field textarea {
	width: 100%;
	min-height: 48px;
	margin: 0;
	padding: 11px 13px;
	color: #222222;
	background-color: #ffffff;
	border: 1px solid #bbbbbb;
	border-radius: 5px;
	font: inherit;
	font-size: 16px;
	line-height: 1.4;
	transition:
		border-color 0.2s ease,
		box-shadow 0.2s ease;
}

.todisco-form-field textarea {
	min-height: 120px;
	resize: vertical;
}

.todisco-form-field input:focus,
.todisco-form-field select:focus,
.todisco-form-field textarea:focus {
	outline: none;
	border-color: #343434;
	box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.08);
}

.todisco-form-field input[readonly] {
	color: #555555;
	background-color: #f4f4f4;
	cursor: not-allowed;
}

.todisco-character-counter {
	align-self: flex-end;
	color: #707070;
	font-size: 12px;
}

.todisco-price-summary {
	display: grid;
	grid-template-columns: 1fr auto;
	align-items: center;
	gap: 5px 20px;
	margin: 0 0 32px;
	padding: 20px;
	background: #f5f5f5;
	border: 1px solid #dddddd;
	border-radius: 7px;
}

.todisco-price-summary span {
	font-size: 16px;
	font-weight: 600;
}

.todisco-price-summary strong {
	font-size: 27px;
	line-height: 1.2;
}

.todisco-price-summary small {
	grid-column: 1 / -1;
	color: #606060;
	font-size: 13px;
}

.todisco-consents {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.todisco-checkbox-field {
	display: grid;
	grid-template-columns: 20px 1fr;
	align-items: start;
	gap: 10px;
}

.todisco-checkbox-field input {
	width: 18px;
	height: 18px;
	margin: 3px 0 0;
	accent-color: #222222;
}

.todisco-checkbox-field label {
	font-size: 14px;
	line-height: 1.55;
	cursor: pointer;
}

.todisco-checkbox-field a {
	text-decoration: underline;
}

.todisco-honeypot {
	position: absolute !important;
	left: -9999px !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
	opacity: 0 !important;
	pointer-events: none !important;
}

.todisco-form-footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	margin-top: 8px;
}

.todisco-submit-button {
	min-width: 190px;
	min-height: 50px;
	padding: 12px 24px;
	color: #ffffff;
	background: #222222;
	border: 1px solid #222222;
	border-radius: 5px;
	font: inherit;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.3;
	cursor: pointer;
	transition:
		background-color 0.2s ease,
		opacity 0.2s ease,
		transform 0.1s ease;
}

.todisco-submit-button:hover {
	background: #000000;
}

.todisco-submit-button:active {
	transform: translateY(1px);
}

.todisco-submit-button:focus-visible {
	outline: 3px solid rgba(0, 0, 0, 0.25);
	outline-offset: 3px;
}

.todisco-submit-button:disabled {
	opacity: 0.6;
	cursor: wait;
}

.todisco-required-note {
	margin: 0;
	color: #707070;
	font-size: 13px;
}

@media (max-width: 680px) {
	.todisco-rental-wrapper {
		margin: 20px auto;
	}

	.todisco-rental-form {
		padding: 22px 18px;
	}

	.todisco-form-grid {
		grid-template-columns: 1fr;
		gap: 17px;
	}

	.todisco-field-full {
		grid-column: auto;
	}

	.todisco-price-summary {
		grid-template-columns: 1fr;
	}

	.todisco-price-summary strong {
		font-size: 24px;
	}

	.todisco-price-summary small {
		grid-column: auto;
	}

	.todisco-form-footer {
		flex-direction: column;
		align-items: stretch;
	}

	.todisco-submit-button {
		width: 100%;
	}

	.todisco-required-note {
		text-align: center;
	}
}

.todisco-form-field input,
.todisco-form-field select,
.todisco-form-field textarea {
	color: #000000 !important;
}

.todisco-form-field input::placeholder,
.todisco-form-field textarea::placeholder {
	color: #666666 !important;
	opacity: 1;
}

.todisco-form-field select option {
	color: #000000;
}

.todisco-form-message {
	margin: 0 0 24px;
	padding: 18px 20px;
	border: 1px solid;
	border-radius: 6px;
	font-size: 15px;
	line-height: 1.5;
}

.todisco-form-message strong {
	display: block;
	margin-bottom: 4px;
	font-size: 17px;
}

.todisco-form-message p {
	margin: 0;
}

.todisco-form-success {
	color: #14532d;
	background-color: #f0fdf4;
	border-color: #86efac;
}

.todisco-form-error {
	color: #7f1d1d;
	background-color: #fef2f2;
	border-color: #fca5a5;
}

.todisco-submit-button,
.todisco-submit-button:visited {
	color: #ffffff !important;
	background-color: #222222 !important;
	border: 2px solid #222222 !important;
}

.todisco-submit-button:hover,
.todisco-submit-button:focus {
	color: #000000 !important;
	background-color: #ffffff !important;
	border-color: #20d45a !important;
	box-shadow: 0 0 0 3px rgba(32, 212, 90, 0.2) !important;
}

.todisco-submit-button:active {
	color: #ffffff !important;
	background-color: #111111 !important;
	border-color: #20d45a !important;
	transform: translateY(1px);
}