/* Ris og ros – only what the RT19 form styles do not cover. */
.aw-tb [hidden] { display: none !important; }
.aw-tb-guide { margin: 0 0 24px; padding: 18px 22px 8px; border-left: 3px solid #ed1c24; background: #f7f7f7; }
.aw-tb-guide h5 { margin: 0 0 8px; }
.aw-tb-guide ol { margin: 0 0 10px 18px; padding: 0; }
.aw-tb-guide li { margin: 0 0 6px; }

.aw-tb-form .rt_form ul { list-style: none; margin: 0; padding: 0; }
.aw-tb-form .rt_form li { margin: 0 0 18px; }
.aw-tb-form .rt_form > ul > li > label,
.aw-tb-form legend { display: block; margin: 0 0 6px; padding: 0; border: 0; font-size: inherit; font-weight: 600; color: #444; }
.aw-tb-form fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }

.aw-tb-types fieldset { display: flex; flex-wrap: wrap; gap: 10px; }
.aw-tb-types legend { width: 100%; }
.aw-tb-form label.aw-tb-type { display: inline-flex; align-items: center; gap: 8px; margin: 0; padding: 10px 16px; border: 1px solid #ddd; background: #fff; cursor: pointer; font-weight: 400; }
.aw-tb-form label.aw-tb-type input { margin: 0; }
.aw-tb-form label.aw-tb-type:has(input:checked) { border-color: #ed1c24; box-shadow: inset 0 0 0 1px #ed1c24; }
.aw-tb-form label.aw-tb-type:focus-within { outline: 2px solid #ed1c24; outline-offset: 2px; }

.aw-tb-form select { width: 100%; max-width: 420px; }
.aw-tb-form textarea { width: 100%; box-sizing: border-box; }
.aw-tb-teller { display: block; margin-top: 4px; font-size: 13px; color: #888; text-align: right; }
.aw-tb-teller.is-near { color: #ed1c24; }

.aw-tb-form .aw-tb-confirm { display: flex; gap: 10px; align-items: flex-start; }
.aw-tb-form .aw-tb-confirm input { margin-top: 4px; flex: 0 0 auto; }
.aw-tb-form .aw-tb-confirm label { font-weight: 400; margin: 0; }

.aw-tb-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.aw-tb-form .submit:disabled { opacity: .6; cursor: wait; }
.aw-tb-personvern { margin-top: 8px; font-size: 13px; color: #888; }

/* Classic RT19 look: dark button like the theme's banner/footer buttons, red on hover. */
.aw-tb { max-width: 760px; }
.aw-tb-form .rt_form li.submit-button { float: none; }
.aw-tb-form .rt_form input.submit { float: none; background: #222; border: 0; color: #fff; padding: 12px 22px; cursor: pointer; transition: background-color .2s; }
.aw-tb-form .rt_form input.submit:hover, .aw-tb-form .rt_form input.submit:focus { background: #ed1c24; color: #fff; }
.aw-tb-personvern { clear: both; }
.aw-tb-form .rt_form li.aw-tb-confirm label.confirm-label { font-weight: 400; line-height: 1.5; }
@media (max-width: 600px) {
	.aw-tb-form label.aw-tb-type { flex: 1 1 100%; }
}
