.mod_Appointment #form_Appointment input.error,
.mod_Appointment #form_Appointment select.error,
.mod_Appointment #form_Appointment textarea.error
	{
		border-color: #ad0000 !important;
		background-color: #f9c8c5 !important;
	}

.mod_Appointment p.error,
.mod_Appointment p.error *
	{
		color: #ad0000 !important;
		font-weight: bold;
	}

.mod_Appointment p.successful
	{
		font-size: 18px;
		font-weight: normal;
		color: #6f9932 !important;
		line-height: 22px;
		margin-bottom: 0;
		text-align: left;
		font-weight: 600;
	}

.mod_Appointment #form_Appointment #contact_accept
	{
		display: inline-block;
		border: 1px solid #fff;
		width: 18px;
		height: 18px;
		border-radius: 4px;
		padding: 0;
		margin: 3px 10px 30px 0;
		float: left;
		cursor: pointer;
		color: transparent;
		/* font-size: 0; */
		/* line-height: 0; */
		background-color: transparent;
		background-position: center center;
		background-image: url(/site/css/images/checkbox_unchecked.png) !important;
	}

.mod_Appointment #form_Appointment #contact_accept.checked
	{
		border: 1px solid transparent;
		background-image: url(/site/css/images/checkbox_checked.png) !important;
	}


.appt-grid {
    display: flex;
    gap: 4px;
    overflow-x: auto;
    padding-bottom: 10px;
    scroll-snap-type: x mandatory;
    margin-top: 1rem;
}

.appt-day {
    flex: 0 0 190px;
    border: 1px solid rgba(0,0,0,.08);
    border-radius: var(--bs-border-radius);
    overflow: hidden;
    background: #fff;
    box-shadow: 0 6px 18px rgba(0,0,0,.05);
    scroll-snap-align: start;
}

.appt-day-header {
    padding: 12px 14px;
    background: rgba(13,110,253,.06);
    border-bottom: 1px solid rgba(0,0,0,.06);
    font-weight: 700;
    line-height: 1.15;
}

.appt-day-body {
    padding: 4px;
}

.appt-slot-list {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

/* alap gomb */
.appt-btn {
    padding: 4px;
    line-height: 1;
    white-space: normal;
    border-radius: var(--bs-border-radius);
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
	border: none;
    background-color: var(--color-kap-op);
	min-height: 38px;
}

.appt-btn:hover {
	background-color: var(--color-kap-light);
}

/* alapértelmezett: két típus esetén felezve */
.appt-slot-list > .appt-btn {
    flex: 1 1 calc(50% - 10px);
}

/* ha egy időponthoz csak egy típus van → teljes szélesség (FLEX-BASIS is!) */
.appt-slot-list > .appt-btn.full-width {
    flex: 1 1 100%;
    width: 100%;
}

/* (opcionális) ha tényleg csak 1 gomb lenne a listában */
.appt-slot-list > .appt-btn:only-child {
    flex: 1 1 100%;
    width: 100%;
}

/* kiválasztott */
.appt-btn.is-selected {
	background-color: var(--color-kap-dark);
}

.appt-btn.is-selected * {
	color: var(--color-white);
}

/* foglalt */
.appt-btn.is-booked {
    cursor: not-allowed;
    background-color: var(--color-grey-light);
}

.appt-btn.is-booked * {
	font-weight: 100 !important;
}

.appt-btn .appt-hour {
    font-weight: 700;
    font-size: 14px;
}

.appt-btn .appt-type {
    font-size: 12px;
    opacity: .9;
}

