/* Restaurante Newton · formulario de reservas — colores del logo: azul #9C7B4C y blanco */
.rrb { --rrb-red: #9C7B4C; --rrb-red-dark: #7A5E36; --rrb-ink: #1C1A17; --rrb-err: #A81A26; --rrb-err-dark: #8E1520; --rrb-soft: #6B6B6B; --rrb-line: #D0D0D0; --rrb-mist: #F6F4F1;
	font-family: inherit; color: var(--rrb-ink); max-width: 1100px; margin: 0 auto; text-align: left; }
.rrb *, .rrb *::before, .rrb *::after { box-sizing: border-box; }
.rrb button, .rrb input, .rrb select { font: inherit; letter-spacing: normal; text-transform: none; margin: 0; box-shadow: none; }
.rrb-grid { display: grid; grid-template-columns: 300px 1fr; gap: 40px; align-items: start; }

/* calendario */
.rrb-cal { border: 1px solid var(--rrb-line); border-radius: 4px; padding: 6px; background: #fff; min-height: 200px; }
.rrb-cal.loading { opacity: .5; pointer-events: none; }
.rrb-cal-head { display: flex; align-items: center; justify-content: space-between; border: 1px solid var(--rrb-line); border-radius: 3px; padding: 6px 8px; margin-bottom: 8px; background: var(--rrb-mist); }
.rrb-cal-head b { font-size: 17px; }
.rrb .rrb-nav { width: 28px; height: 28px; border-radius: 50%; border: 0; background: var(--rrb-ink); color: #fff; font-size: 20px; line-height: 1; cursor: pointer; padding: 0; }
.rrb .rrb-nav:disabled { background: #BDBDBD; cursor: default; }
.rrb-cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; }
.rrb-wd { text-align: center; font-weight: 700; font-size: 14px; padding: 6px 0; }
.rrb .rrb-day { aspect-ratio: 1.2; border: 1px solid #E6E6E6; background: #fff; color: var(--rrb-ink); font-size: 15px; text-align: right; padding: 4px 6px; cursor: pointer; border-radius: 0; min-height: 30px; }
.rrb .rrb-day.empty { border-color: transparent; }
.rrb .rrb-day.ok:hover { border-color: var(--rrb-red); }
.rrb .rrb-day.off { color: #C4C4C4; background: #FAFAFA; cursor: default; }
.rrb .rrb-day.full { text-decoration: line-through; color: #B04A4C; background: #F9EAEA; }
.rrb .rrb-day.today { font-weight: 700; }
.rrb .rrb-day.sel { background: var(--rrb-red); border-color: var(--rrb-red); color: #fff; font-weight: 700; }
.rrb-legend { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--rrb-soft); margin-top: 8px; }
.rrb-sw { width: 14px; height: 14px; display: inline-block; border: 1px solid #E6E6E6; }
.rrb-sw.full { background: #F9EAEA; }
.rrb-loading { color: var(--rrb-soft); padding: 20px; text-align: center; }

/* formulario */
.rrb-row { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.rrb-field { margin-bottom: 10px; }
.rrb-field label { display: block; font-weight: 700; font-size: 14px; margin-bottom: 6px; }
.rrb select, .rrb input[type=text], .rrb input[type=tel], .rrb input[type=email] { display: block; width: 100%; height: 36px; padding: 6px 8px; border: 1px solid #A9A9A9; border-radius: 2px; background: #fff; color: #444; font-size: 14px; }
.rrb select:focus, .rrb input:focus { outline: 2px solid rgba(37, 66, 145, .25); border-color: var(--rrb-red); }
.rrb select:disabled { background: var(--rrb-mist); }
.rrb-note { margin: 2px 0 16px; font-size: 15px; line-height: 1.45; }
.rrb-check { display: flex; gap: 8px; align-items: flex-start; font-size: 14px; margin: 6px 0 12px; cursor: pointer; }
.rrb-check input { width: 18px; height: 18px; margin-top: 1px; accent-color: var(--rrb-red); flex: none; }
.rrb-check a { color: var(--rrb-red); }
.rrb-trap { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.rrb .rrb-btn { display: block; width: 100%; height: 38px; border: 1px solid var(--rrb-red); background: var(--rrb-red); color: #fff; font-weight: 700; border-radius: 3px; cursor: pointer; font-size: 15px; }
.rrb .rrb-btn:hover { background: var(--rrb-red-dark); border-color: var(--rrb-red-dark); }
.rrb .rrb-btn:disabled { opacity: .5; cursor: default; }
.rrb-msg:empty { display: none; }
.rrb-msg { padding: 10px 12px; border-radius: 3px; margin-bottom: 10px; font-size: 14px; }
.rrb-msg.bad { background: #F9EAEA; color: var(--rrb-err-dark); border-left: 4px solid var(--rrb-err); }

/* confirmación */
.rrb-ok { max-width: 560px; margin: 0 auto; text-align: center; border: 1px solid var(--rrb-line); border-top: 5px solid var(--rrb-red); border-radius: 4px; padding: 28px 22px; background: #fff; }
.rrb-ok-icon { width: 54px; height: 54px; border-radius: 50%; background: var(--rrb-red); color: #fff; font-size: 30px; line-height: 54px; margin: 0 auto 10px; }
.rrb-ok h3 { margin: 0 0 8px; font-size: 24px; color: var(--rrb-ink); }
.rrb-ok p { margin: 0 0 10px; font-size: 16px; }
.rrb-ref { color: var(--rrb-soft); font-size: 14px !important; }
.rrb-ok .rrb-btn { max-width: 260px; margin: 16px auto 0; }

@media (max-width: 820px) {
	.rrb-grid { grid-template-columns: 1fr; gap: 20px; }
	.rrb-cal { max-width: 360px; margin: 0 auto; width: 100%; }
}
@media (max-width: 480px) {
	.rrb-row { grid-template-columns: 1fr; gap: 0; }
	.rrb select, .rrb input[type=text], .rrb input[type=tel], .rrb input[type=email] { height: 42px; font-size: 16px; }
	.rrb .rrb-btn { height: 46px; font-size: 16px; }
}
.rrb .rrb-day.blocked { background: repeating-linear-gradient(45deg, #FAFAFA 0 4px, #EDEDED 4px 8px); color: #B5B5B5; }
.rrb-hint { display: block; font-size: 12px; color: var(--rrb-soft); margin-top: 4px; }
.rrb-notice:empty { display: none; }
.rrb-notice { margin: -2px 0 12px; padding: 10px 12px; border-radius: 3px; font-size: 14px; font-weight: 600; }
.rrb-notice.bad { background: #F9EAEA; color: var(--rrb-err-dark); border-left: 4px solid var(--rrb-err); }
.rrb-notice.info { background: #FFF4DB; color: #6B4600; border-left: 4px solid #D48A00; }
.rrb-ok .rrb-spam { background: #FFF4DB; color: #6B4600; border-left: 4px solid #D48A00; padding: 10px 12px; border-radius: 3px; font-size: 14px !important; text-align: left; }
.rrb-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.rrb-chip { display: inline-flex; align-items: center; cursor: pointer; }
.rrb-chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.rrb-chip span { border: 1px solid #A9A9A9; background: #fff; border-radius: 999px; padding: 6px 12px; font-size: 14px; line-height: 1.2; }
.rrb-chip input:checked + span { background: var(--rrb-red); border-color: var(--rrb-red); color: #fff; font-weight: 700; }
.rrb-chip input:focus-visible + span { outline: 2px solid var(--rrb-red); outline-offset: 2px; }

/* Firma: desarrollado por Lead-In Business */
.rrb-credit { max-width: 1100px; margin: 26px auto 0; padding-top: 14px; border-top: 1px solid #E6E6E6; text-align: center; font-size: 12px; line-height: 1; }
.rrb-credit a { display: inline-flex; align-items: center; gap: 8px; color: #8A8A8A; text-decoration: none; opacity: .85; transition: opacity .15s; }
.rrb-credit a:hover, .rrb-credit a:focus-visible { opacity: 1; }
.rrb-credit img { height: 32px; width: auto; max-width: 176px; display: block; }

/* ===== Newton: web con fondo negro ===== */
.rrb { color: #EDE6DA !important; }
.rrb-field label, .rrb-note, .rrb-check { color: #EDE6DA !important; }
.rrb-cal, .rrb-cal .rrb-legend { color: #1C1A17 !important; }
.rrb-cal .rrb-legend { color: #6B6B6B !important; }
.rrb-hint { color: #A69C8C !important; }
.rrb-check a { color: #C9AB81 !important; }
.rrb-check input { accent-color: #C9AB81 !important; }
.rrb select, .rrb input[type=text], .rrb input[type=tel], .rrb input[type=email] { border-color: #3A352E !important; }
.rrb select:focus, .rrb input:focus { outline: 2px solid rgba(201, 171, 129, .45) !important; border-color: #C9AB81 !important; }
.rrb .rrb-btn { background: #C9AB81 !important; border-color: #C9AB81 !important; color: #111 !important; }
.rrb .rrb-btn:hover { background: #B4955F !important; border-color: #B4955F !important; color: #111 !important; }
.rrb .rrb-day.sel { background: #C9AB81 !important; border-color: #C9AB81 !important; color: #111 !important; }
.rrb .rrb-day.ok:hover { border-color: #C9AB81 !important; }
.rrb-chip input:checked + span { background: #C9AB81 !important; border-color: #C9AB81 !important; color: #111 !important; }
.rrb-ok { background: #161412 !important; border-color: #3A352E !important; border-top-color: #C9AB81 !important; color: #EDE6DA !important; }
.rrb-ok h3 { color: #fff !important; }
.rrb-ok-icon { background: #C9AB81 !important; color: #111 !important; }
.rrb-ref { color: #A69C8C !important; }
.rrb-credit { border-top-color: #3A352E !important; }
.rrb-credit a { color: #A69C8C !important; }
.rrb-credit img { filter: brightness(0) invert(1) !important; opacity: .8 !important; }
