/* ================================================================
   TuGrow Booking — Frontend styles
   ================================================================ */

.tgb-dashboard,
.tgb-booking {
	font-family: 'Poppins', sans-serif;
	color: #0F172A;
	max-width: 1100px;
	margin: 0 auto;
	padding: 20px;
}

.tgb-h2 {
	font-size: 26px;
	font-weight: 800;
	margin: 4px 0;
}

.tgb-eyebrow {
	font-size: 11px;
	color: #2AA8A8;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	margin-bottom: 4px;
}

.tgb-text-muted {
	color: #8794A8;
	font-size: 14px;
	margin: 4px 0 0;
}

.tgb-notice {
	background: #F7F9FB;
	border: 1px solid #E2E8F0;
	border-radius: 12px;
	padding: 20px;
	color: #3E4C63;
	max-width: 640px;
	margin: 20px auto;
	text-align: center;
}
.tgb-notice a { color: #2AA8A8; font-weight: 700; }
.tgb-notice--error {
	border-color: #FCA5A5;
	background: #FEF2F2;
	color: #991B1B;
}

/* ---------- DASHBOARD ---------- */
.tgb-dashboard__header {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 16px;
	padding-bottom: 20px;
	border-bottom: 1px solid #E2E8F0;
	margin-bottom: 28px;
}

.tgb-dashboard__grid {
	display: grid;
	grid-template-columns: 380px 1fr;
	gap: 24px;
}
@media (max-width: 900px) {
	.tgb-dashboard__grid { grid-template-columns: 1fr; }
}

.tgb-card {
	background: #FFFFFF;
	border: 1px solid #E2E8F0;
	border-radius: 16px;
	padding: 24px;
}
.tgb-card--wide { min-height: 200px; }
.tgb-card__title { margin-bottom: 20px; }
.tgb-card__title h3 { margin: 0; font-size: 20px; font-weight: 800; }

/* ---------- FORM ---------- */
.tgb-form label {
	display: block;
	font-size: 13px;
	font-weight: 600;
	color: #102060;
	margin-bottom: 14px;
}
.tgb-form label small {
	display: block;
	font-weight: 400;
	color: #8794A8;
	font-size: 12px;
	margin: 2px 0 6px;
}
.tgb-form input,
.tgb-form select,
.tgb-form textarea {
	display: block;
	width: 100%;
	margin-top: 6px;
	padding: 11px 14px;
	border: 1px solid #E2E8F0;
	border-radius: 10px;
	font-family: 'Poppins', sans-serif;
	font-size: 14px;
	color: #0F172A;
	background: #fff;
	box-sizing: border-box;
	transition: all 0.25s ease;
}
.tgb-form input:focus,
.tgb-form select:focus,
.tgb-form textarea:focus {
	outline: none;
	border-color: #2AA8A8;
	box-shadow: 0 0 0 3px rgba(42, 168, 168, 0.15);
}
.tgb-form input[type="file"] {
	padding: 11px 14px;
	border: 2px dashed #E2E8F0;
	background: #F7F9FB;
	cursor: pointer;
}
.tgb-form input[type="file"]:hover {
	border-color: #2AA8A8;
	background: rgba(42, 168, 168, 0.04);
}
.tgb-form__row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 14px;
}
@media (max-width: 640px) {
	.tgb-form__row { grid-template-columns: 1fr; }
}
.tgb-form__msg {
	margin-top: 12px;
	padding: 10px 14px;
	border-radius: 10px;
	font-size: 13px;
	display: none;
}
.tgb-form__msg.is-success { display: block; background: rgba(16, 185, 129, 0.1); color: #047857; border: 1px solid #A7F3D0; }
.tgb-form__msg.is-error   { display: block; background: rgba(220, 38, 38, 0.06); color: #B91C1C; border: 1px solid #FCA5A5; }
.tgb-req { color: #DC2626; }

/* ---------- BUTTONS ---------- */
.tgb-btn-gradient {
	display: inline-block;
	background: linear-gradient(135deg, #2AA8A8, #1A6AAE, #102060);
	color: #fff;
	border: none;
	padding: 12px 26px;
	border-radius: 100px;
	font-family: 'Poppins', sans-serif;
	font-weight: 600;
	font-size: 14px;
	cursor: pointer;
	transition: all 0.25s ease;
}
.tgb-btn-gradient:hover:not(:disabled) {
	transform: translateY(-2px);
	box-shadow: 0 8px 24px rgba(16,32,96,0.12);
	color: #fff;
}
.tgb-btn-gradient:disabled {
	opacity: 0.55;
	cursor: not-allowed;
}
.tgb-btn-lg { padding: 14px 32px; font-size: 15px; }

.tgb-btn-outline {
	display: inline-block;
	background: transparent;
	border: 1.5px solid #E2E8F0;
	color: #102060;
	padding: 8px 18px;
	border-radius: 100px;
	font-weight: 600;
	font-size: 13px;
	text-decoration: none;
	transition: all 0.25s ease;
}
.tgb-btn-outline:hover {
	border-color: #2AA8A8;
	color: #2AA8A8;
}
.tgb-btn-link {
	background: transparent;
	border: none;
	color: #DC2626;
	cursor: pointer;
	font-size: 12px;
	font-weight: 600;
	padding: 4px 0;
	text-decoration: underline;
	font-family: 'Poppins', sans-serif;
}

/* ---------- SLOT LIST (dashboard) ---------- */
.tgb-slot-list { display: flex; flex-direction: column; gap: 10px; }
.tgb-slot-item {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
	background: #F7F9FB;
	border: 1px solid #E2E8F0;
	border-radius: 12px;
	padding: 14px 18px;
	transition: all 0.25s ease;
}
.tgb-slot-item--pending  { background: rgba(245, 158, 11, 0.05); border-color: #FCD34D; }
.tgb-slot-item--booked   { background: rgba(26, 106, 174, 0.05); border-color: #93C5FD; }

.tgb-slot-item__matkul {
	font-size: 15px;
	font-weight: 700;
	color: #0F172A;
	margin-bottom: 4px;
}
.tgb-slot-item__meta {
	font-size: 13px;
	color: #3E4C63;
}
.tgb-slot-item__student {
	font-size: 12px;
	color: #1A6AAE;
	margin-top: 4px;
	font-weight: 600;
}
.tgb-slot-item__side {
	text-align: right;
	display: flex;
	flex-direction: column;
	gap: 6px;
	align-items: flex-end;
}

.tgb-badge {
	display: inline-block;
	padding: 3px 10px;
	border-radius: 100px;
	font-size: 10px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: #fff;
}
.tgb-badge--available { background: #10B981; }
.tgb-badge--pending   { background: #F59E0B; }
.tgb-badge--booked    { background: #1A6AAE; }
.tgb-badge--draft     { background: #8794A8; }

/* ---------- Slot groups (dashboard, grouped by date → time) ---------- */
.tgb-slot-groups { display: flex; flex-direction: column; gap: 20px; }
.tgb-date-group__header {
	font-size: 14px;
	font-weight: 800;
	color: #102060;
	padding-bottom: 8px;
	margin-bottom: 12px;
	border-bottom: 2px solid #E2E8F0;
}
.tgb-time-group { margin-bottom: 14px; }
.tgb-time-group:last-child { margin-bottom: 0; }
.tgb-time-group__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin-bottom: 8px;
}
.tgb-time-group__time {
	font-size: 13px;
	font-weight: 700;
	color: #2AA8A8;
	background: rgba(42, 168, 168, 0.08);
	padding: 3px 10px;
	border-radius: 100px;
}
.tgb-time-group__actions {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
}
.tgb-btn-publish {
	background: linear-gradient(135deg, #2AA8A8, #1A6AAE, #102060);
	color: #fff;
	border: none;
	padding: 6px 14px;
	border-radius: 100px;
	font-family: 'Poppins', sans-serif;
	font-size: 12px;
	font-weight: 700;
	cursor: pointer;
	transition: all 0.2s ease;
}
.tgb-btn-publish:hover:not(:disabled) { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(16,32,96,0.15); }
.tgb-btn-publish:disabled { opacity: 0.6; cursor: not-allowed; }

.tgb-btn-delete-group {
	background: #fff;
	color: #DC2626;
	border: 1.5px solid #FCA5A5;
	padding: 6px 14px;
	border-radius: 100px;
	font-family: 'Poppins', sans-serif;
	font-size: 12px;
	font-weight: 700;
	cursor: pointer;
	transition: all 0.2s ease;
}
.tgb-btn-delete-group:hover:not(:disabled) { background: #FEF2F2; border-color: #DC2626; }
.tgb-btn-delete-group:disabled { opacity: 0.6; cursor: not-allowed; }

.tgb-matkul-chips { display: flex; flex-direction: column; gap: 8px; }
.tgb-matkul-chip {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px;
	background: #F7F9FB;
	border: 1px solid #E2E8F0;
	border-radius: 10px;
	padding: 10px 14px;
}
.tgb-matkul-chip--draft     { background: #F1F3F5; border-style: dashed; }
.tgb-matkul-chip--pending   { background: rgba(245, 158, 11, 0.05); border-color: #FCD34D; }
.tgb-matkul-chip--booked    { background: rgba(26, 106, 174, 0.05); border-color: #93C5FD; }
.tgb-matkul-chip__name {
	font-size: 13.5px;
	font-weight: 700;
	color: #0F172A;
}
.tgb-matkul-chip__student {
	font-size: 12px;
	color: #1A6AAE;
	font-weight: 600;
}

/* ---------- Appointment tab items (bigger date/time for readability) ---------- */
.tgb-appointment-item {
	display: flex;
	align-items: center;
	gap: 18px;
	background: #F7F9FB;
	border: 1px solid #93C5FD;
	background-color: rgba(26, 106, 174, 0.05);
	border-radius: 12px;
	padding: 14px 18px;
}
.tgb-appointment-item__when {
	flex-shrink: 0;
	min-width: 150px;
	text-align: center;
	background: #fff;
	border-radius: 10px;
	padding: 8px 10px;
	border: 1px solid #E2E8F0;
}
.tgb-appointment-item__date {
	font-size: 14px;
	font-weight: 800;
	color: #102060;
	line-height: 1.3;
}
.tgb-appointment-item__time {
	font-size: 18px;
	font-weight: 800;
	color: #2AA8A8;
	margin-top: 2px;
}
.tgb-appointment-item__main { flex: 1; }

.tgb-empty {
	text-align: center;
	padding: 40px 20px;
	color: #8794A8;
}
.tgb-empty__icon { font-size: 40px; margin-bottom: 12px; }
.tgb-empty--sm { padding: 20px 10px; font-size: 13px; }
.tgb-empty--sm p { margin: 0; }

/* ---------- Student panel: locked profile card ---------- */
.tgb-profile-locked { display: flex; flex-direction: column; gap: 0; }
.tgb-profile-locked__row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 10px;
	padding: 12px 0;
	border-bottom: 1px solid #F0F2F4;
}
.tgb-profile-locked__row:last-child { border-bottom: none; }
.tgb-profile-locked__label {
	font-size: 12px;
	font-weight: 600;
	color: #8794A8;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	flex-shrink: 0;
}
.tgb-profile-locked__value {
	font-size: 14px;
	font-weight: 700;
	color: #0F172A;
	text-align: right;
}

/* ---------- Student panel: history column (3 stacked blocks) ---------- */
.tgb-history-col {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

/* Session booking cards — enlarged tutor name/contact per user request. */
.tgb-session-list { display: flex; flex-direction: column; gap: 14px; }
.tgb-session-card {
	background: #F7F9FB;
	border: 1px solid #E2E8F0;
	border-radius: 14px;
	padding: 18px 20px;
}
.tgb-session-card__top {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 10px;
	margin-bottom: 6px;
}
.tgb-session-card__when {
	font-size: 17px;
	font-weight: 800;
	color: #102060;
}
.tgb-session-card__matkul {
	font-size: 13px;
	font-weight: 600;
	color: #3E4C63;
	margin-bottom: 10px;
}
.tgb-session-card__tutor {
	background: linear-gradient(135deg, rgba(42,168,168,0.08), rgba(26,106,174,0.08));
	border: 1px solid #2AA8A8;
	border-radius: 12px;
	padding: 14px 16px;
	margin: 10px 0;
}
.tgb-session-card__tutor-label {
	font-size: 11px;
	font-weight: 700;
	color: #2AA8A8;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	margin-bottom: 4px;
}
.tgb-session-card__tutor-name {
	font-size: 20px;
	font-weight: 800;
	color: #102060;
	margin-bottom: 8px;
}
.tgb-session-card__tutor-contact {
	display: inline-block;
	font-size: 15px;
	font-weight: 700;
	color: #fff;
	background: #25D366;
	padding: 8px 16px;
	border-radius: 100px;
	text-decoration: none;
}
.tgb-session-card__tutor-contact:hover { opacity: 0.9; }
.tgb-session-card__tutor-contact--muted {
	background: none;
	color: #8794A8;
	font-weight: 500;
	font-size: 13px;
	padding: 0;
}
.tgb-session-card__note {
	font-size: 13px;
	color: #F59E0B;
	font-weight: 600;
	margin: 10px 0;
}
.tgb-session-card__price {
	font-size: 14px;
	font-weight: 700;
	color: #102060;
	text-align: right;
}

/* ---------- BOOKING FLOW ---------- */
.tgb-step {
	display: flex;
	gap: 20px;
	margin-bottom: 32px;
	padding: 24px;
	background: #fff;
	border: 1px solid #E2E8F0;
	border-radius: 16px;
}
.tgb-step__num {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: linear-gradient(135deg, #2AA8A8, #1A6AAE, #102060);
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 800;
	flex-shrink: 0;
}
.tgb-step__body { flex: 1; }
.tgb-step__body h3 { margin: 0 0 14px; font-size: 20px; font-weight: 800; }

.tgb-select {
	width: 100%;
	max-width: 400px;
	padding: 12px 14px;
	border: 1px solid #E2E8F0;
	border-radius: 10px;
	font-family: 'Poppins', sans-serif;
	font-size: 15px;
	color: #0F172A;
	background: #fff;
}

/* Slot grid */
.tgb-slots-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
	gap: 14px;
	margin-top: 8px;
}
.tgb-slot-card {
	background: #F7F9FB;
	border: 1.5px solid #E2E8F0;
	border-radius: 12px;
	padding: 16px;
	cursor: pointer;
	transition: all 0.2s ease;
}
.tgb-slot-card:hover {
	border-color: #2AA8A8;
	background: #fff;
	transform: translateY(-2px);
	box-shadow: 0 8px 20px rgba(42, 168, 168, 0.1);
}
.tgb-slot-card.is-selected {
	border-color: #2AA8A8;
	background: rgba(42, 168, 168, 0.06);
}
.tgb-slot-card__date {
	font-size: 12px;
	font-weight: 700;
	color: #2AA8A8;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	margin-bottom: 6px;
}
.tgb-slot-card__time {
	font-size: 22px;
	font-weight: 800;
	color: #0F172A;
	margin-bottom: 8px;
}
.tgb-slot-card__meta {
	display: flex;
	justify-content: space-between;
	font-size: 12px;
	color: #3E4C63;
	padding-top: 10px;
	border-top: 1px solid #E2E8F0;
}
.tgb-slot-card__price { font-weight: 700; color: #102060; }
.tgb-slot-card__tutor { font-size: 13px; color: #3E4C63; margin-bottom: 4px; }

.tgb-slots-empty {
	padding: 40px 20px;
	text-align: center;
	color: #8794A8;
	background: #F7F9FB;
	border-radius: 12px;
}

/* Selected slot summary in Step 3 */
.tgb-selected-slot {
	background: linear-gradient(135deg, rgba(42, 168, 168, 0.06), rgba(26, 106, 174, 0.06));
	border: 1px solid #2AA8A8;
	border-radius: 12px;
	padding: 16px 20px;
	margin-bottom: 20px;
}
.tgb-selected-slot__title {
	font-size: 11px;
	font-weight: 700;
	color: #2AA8A8;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	margin-bottom: 6px;
}
.tgb-selected-slot__body { color: #0F172A; font-weight: 600; }
.tgb-selected-slot__body div { padding: 3px 0; font-size: 14px; }

/* Payment info box */
.tgb-payment-info {
	background: linear-gradient(135deg, rgba(42,168,168,0.06), rgba(26,106,174,0.06));
	border: 1px solid #E2E8F0;
	border-radius: 12px;
	padding: 16px 20px;
	margin-bottom: 20px;
}
.tgb-payment-info__main { font-size: 15px; margin-top: 6px; color: #0F172A; }
.tgb-payment-info__main span { color: #102060; font-weight: 700; }
.tgb-payment-info__sub { font-size: 13px; color: #3E4C63; }

/* Success */
.tgb-success {
	text-align: center;
	padding: 60px 20px;
	background: #fff;
	border: 1px solid #E2E8F0;
	border-radius: 16px;
	max-width: 560px;
	margin: 20px auto;
}
.tgb-success__icon {
	width: 60px;
	height: 60px;
	border-radius: 50%;
	background: linear-gradient(135deg, #2AA8A8, #1A6AAE, #102060);
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 28px;
	margin: 0 auto 16px;
}
.tgb-success h3 { font-size: 22px; font-weight: 800; margin: 0 0 8px; }
.tgb-success p { color: #3E4C63; font-size: 15px; }

/* ---------- Type picker (radio cards) in booking form ---------- */
.tgb-type-picker {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
	margin-top: 6px;
}
@media (max-width: 480px) {
	.tgb-type-picker { grid-template-columns: 1fr; }
}
.tgb-type-picker__option {
	position: relative;
	display: block !important;
	padding: 0 !important;
	margin-bottom: 0 !important;
	cursor: pointer;
	font-weight: 600 !important;
	color: #0F172A !important;
}
.tgb-type-picker__option input[type="radio"] {
	position: absolute;
	opacity: 0;
	width: 100%;
	height: 100%;
	cursor: pointer;
}
.tgb-type-picker__body {
	display: block;
	padding: 14px 16px;
	background: #F7F9FB;
	border: 2px solid #E2E8F0;
	border-radius: 12px;
	transition: all 0.2s ease;
}
.tgb-type-picker__option input:checked + .tgb-type-picker__body {
	border-color: #2AA8A8;
	background: #fff;
	box-shadow: 0 0 0 3px rgba(42, 168, 168, 0.12);
}
.tgb-type-picker__label { font-size: 14px; font-weight: 700; color: #0F172A; }
.tgb-type-picker__price { font-size: 16px; font-weight: 800; color: #102060; margin-top: 4px; }

/* Info box on tutor dashboard form */
.tgb-info-inline {
	background: #F7F9FB;
	border: 1px solid #E2E8F0;
	border-radius: 8px;
	padding: 10px 14px;
	margin-bottom: 16px;
	font-size: 12px;
	color: #3E4C63;
	line-height: 1.7;
}
.tgb-info-inline strong {
	color: #102060;
	display: block;
	margin-bottom: 4px;
}

/* Step hint */
.tgb-step__hint {
	color: #8794A8;
	font-size: 13px;
	margin: -8px 0 12px;
}

/* ---------- Total box (auto-calculated) ---------- */
.tgb-total-box {
	background: linear-gradient(135deg, rgba(42, 168, 168, 0.08), rgba(26, 106, 174, 0.08));
	border: 2px solid #2AA8A8;
	border-radius: 14px;
	padding: 20px 24px;
	margin: 8px 0 20px;
}
.tgb-total-box__label {
	font-size: 11px;
	color: #2AA8A8;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	margin-bottom: 6px;
}
.tgb-total-box__value {
	font-size: 28px;
	font-weight: 800;
	color: #102060;
	line-height: 1.2;
	margin-bottom: 6px;
}
.tgb-total-box__breakdown {
	font-size: 13px;
	color: #3E4C63;
}

/* ---------------------------------------------------------------
   Tutor Login page (/login-tutor/)
   --------------------------------------------------------------- */
.tgb-login-wrap {
	max-width: 480px;
	margin: 0 auto;
	padding: 40px 20px;
	font-family: 'Poppins', sans-serif;
}
.tgb-login-card {
	background: #FFFFFF;
	border: 1px solid #E2E8F0;
	border-radius: 20px;
	padding: 40px;
	box-shadow: 0 20px 60px rgba(16, 32, 96, 0.06);
}
@media (max-width: 480px) {
	.tgb-login-card { padding: 28px 20px; }
}
.tgb-login-header {
	text-align: center;
	margin-bottom: 24px;
}
.tgb-login-title {
	font-size: 28px;
	font-weight: 800;
	color: #0F172A;
	margin: 6px 0 8px;
	line-height: 1.2;
}
.tgb-login-sub {
	color: #3E4C63;
	font-size: 14px;
	line-height: 1.5;
	margin: 0;
}
.tgb-login-error {
	background: rgba(220, 38, 38, 0.06);
	border: 1px solid #FCA5A5;
	color: #B91C1C;
	padding: 12px 16px;
	border-radius: 10px;
	font-size: 13px;
	margin-bottom: 20px;
	text-align: center;
}
.tgb-login-form label {
	display: block;
	font-size: 13px;
	font-weight: 600;
	color: #102060;
	margin-bottom: 16px;
}
.tgb-login-form input[type="text"],
.tgb-login-form input[type="password"],
.tgb-login-form input[type="email"],
.tgb-login-form input[type="tel"],
.tgb-login-form select {
	display: block;
	width: 100%;
	height: 46px;
	margin-top: 6px;
	padding: 0 14px;
	border: 1px solid #E2E8F0;
	border-radius: 10px;
	font-family: 'Poppins', sans-serif;
	font-size: 14px;
	color: #0F172A;
	background: #fff;
	box-sizing: border-box;
	transition: all 0.25s ease;
	appearance: none;
	-webkit-appearance: none;
}
.tgb-login-form select {
	background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238794A8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
	background-repeat: no-repeat;
	background-position: right 12px center;
	background-size: 16px;
	padding-right: 36px;
}
.tgb-login-form input[type="text"]:focus,
.tgb-login-form input[type="password"]:focus,
.tgb-login-form input[type="email"]:focus,
.tgb-login-form input[type="tel"]:focus,
.tgb-login-form select:focus {
	outline: none;
	border-color: #2AA8A8;
	box-shadow: 0 0 0 3px rgba(42, 168, 168, 0.15);
}
.tgb-login-form .tgb-form__row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 14px;
}
@media (max-width: 480px) {
	.tgb-login-form .tgb-form__row { grid-template-columns: 1fr; }
}
.tgb-login-remember {
	display: flex !important;
	align-items: center;
	gap: 8px;
	font-weight: 500 !important;
	color: #3E4C63 !important;
	margin-bottom: 20px !important;
}
.tgb-login-remember input {
	width: auto !important;
	margin: 0 !important;
}
.tgb-login-form .tgb-btn-gradient {
	display: block;
	width: 100%;
	text-align: center;
	padding: 14px 20px;
	font-size: 15px;
}
.tgb-login-links {
	margin-top: 20px;
	padding-top: 20px;
	border-top: 1px solid #E2E8F0;
	display: flex;
	justify-content: space-between;
	font-size: 13px;
}
.tgb-login-links a {
	color: #2AA8A8;
	font-weight: 600;
	text-decoration: none;
}
.tgb-login-links a:hover { text-decoration: underline; }
.tgb-login-footer {
	text-align: center;
	color: #8794A8;
	font-size: 13px;
	margin-top: 20px;
}
.tgb-login-actions {
	display: flex;
	flex-direction: column;
	gap: 10px;
	align-items: center;
}
.tgb-login-actions .tgb-btn-gradient {
	width: 100%;
	text-align: center;
	padding: 14px 20px;
}
.tgb-login-back {
	color: #8794A8;
	font-size: 13px;
	text-decoration: none;
	margin-top: 6px;
}
.tgb-login-back:hover { color: #2AA8A8; }

/* ---------------------------------------------------------------
   Tutor dashboard — tabs, matkul checkbox grid, calendar, stats
   --------------------------------------------------------------- */
.tgb-tabs {
	display: flex;
	gap: 8px;
	margin-bottom: 24px;
	border-bottom: 1px solid #E2E8F0;
}
.tgb-tab-btn {
	background: transparent;
	border: none;
	border-bottom: 2px solid transparent;
	padding: 10px 4px;
	margin-right: 20px;
	font-family: 'Poppins', sans-serif;
	font-size: 14px;
	font-weight: 600;
	color: #8794A8;
	cursor: pointer;
	transition: all 0.2s ease;
}
.tgb-tab-btn:hover { color: #2AA8A8; }
.tgb-tab-btn.is-active {
	color: #102060;
	border-bottom-color: #2AA8A8;
}

.tgb-matkul-check-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 8px;
	margin-top: 8px;
}
.tgb-matkul-check {
	display: flex !important;
	align-items: center;
	gap: 6px;
	background: #F7F9FB;
	border: 1px solid #E2E8F0;
	border-radius: 8px;
	padding: 8px 10px;
	font-weight: 500 !important;
	font-size: 12.5px !important;
	color: #0F172A !important;
	cursor: pointer;
	margin-bottom: 0 !important;
	transition: all 0.2s ease;
}
.tgb-matkul-check:has(input:checked) {
	border-color: #2AA8A8;
	background: rgba(42, 168, 168, 0.08);
}
.tgb-matkul-check input {
	width: auto !important;
	margin: 0 !important;
	flex-shrink: 0;
}

/* Week calendar */
.tgb-calendar {
	margin-top: 6px;
	border: 1px solid #E2E8F0;
	border-radius: 12px;
	padding: 12px;
	background: #F7F9FB;
}
.tgb-calendar__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 10px;
}
.tgb-calendar__label {
	font-size: 13px;
	font-weight: 700;
	color: #102060;
}
.tgb-calendar__nav {
	width: 26px;
	height: 26px;
	border-radius: 50%;
	border: 1px solid #E2E8F0;
	background: #fff;
	color: #102060;
	font-size: 14px;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.2s ease;
}
.tgb-calendar__nav:hover:not(:disabled) { border-color: #2AA8A8; color: #2AA8A8; }
.tgb-calendar__nav:disabled { opacity: 0.35; cursor: not-allowed; }
.tgb-calendar__days {
	display: grid;
	grid-template-columns: repeat(7, 1fr);
	gap: 4px;
}
.tgb-calendar__day {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 2px;
	background: #fff;
	border: 1.5px solid #E2E8F0;
	border-radius: 8px;
	padding: 6px 2px;
	cursor: pointer;
	font-family: 'Poppins', sans-serif;
	transition: all 0.2s ease;
}
.tgb-calendar__day:hover:not(:disabled) { border-color: #2AA8A8; }
.tgb-calendar__day.is-today { border-color: #1A6AAE; }
.tgb-calendar__day.is-selected {
	background: linear-gradient(135deg, #2AA8A8, #1A6AAE, #102060);
	border-color: transparent;
}
.tgb-calendar__day.is-selected .tgb-calendar__day-label,
.tgb-calendar__day.is-selected .tgb-calendar__day-num { color: #fff; }
.tgb-calendar__day:disabled {
	opacity: 0.35;
	cursor: not-allowed;
	background: #F7F9FB;
}
.tgb-calendar__day-label {
	font-size: 10px;
	font-weight: 600;
	color: #8794A8;
	text-transform: uppercase;
}
.tgb-calendar__day-num {
	font-size: 14px;
	font-weight: 700;
	color: #0F172A;
}

/* Stats row (Appointment tab) */
.tgb-stats-row {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	gap: 14px;
	margin-bottom: 20px;
}
@media (max-width: 640px) {
	.tgb-stats-row { grid-template-columns: 1fr; }
}
.tgb-stat-card {
	background: #fff;
	border: 1px solid #E2E8F0;
	border-radius: 14px;
	padding: 18px 20px;
}
.tgb-stat-card--highlight {
	background: linear-gradient(135deg, rgba(42,168,168,0.08), rgba(26,106,174,0.08));
	border-color: #2AA8A8;
}
.tgb-stat-card__label {
	font-size: 11px;
	font-weight: 700;
	color: #8794A8;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	margin-bottom: 6px;
}
.tgb-stat-card__value {
	font-size: 24px;
	font-weight: 800;
	color: #102060;
}
.tgb-period-form {
	display: flex;
	align-items: center;
	gap: 6px;
}
.tgb-period-form input[type="date"] {
	flex: 1;
	min-width: 0;
	padding: 8px 8px;
	border: 1px solid #E2E8F0;
	border-radius: 8px;
	font-family: 'Poppins', sans-serif;
	font-size: 12px;
	font-weight: 600;
	color: #102060;
	background: #fff;
}
.tgb-period-form input[type="date"]:disabled {
	background: #F1F5F9;
	color: #8794A8;
}
.tgb-period-form__sep {
	color: #8794A8;
	font-size: 12px;
}
.tgb-period-form__go {
	padding: 8px 12px !important;
	font-size: 12px !important;
	white-space: nowrap;
}
.tgb-period-form__all {
	display: inline-block;
	margin-top: 8px;
	font-size: 12px;
	font-weight: 600;
	color: #1A6AAE;
	text-decoration: none;
}
.tgb-period-form__all.is-active {
	color: #8794A8;
	text-decoration: underline;
}

/* ---------------------------------------------------------------
   Reschedule request page (/reschedule/)
   --------------------------------------------------------------- */
.tgb-reschedule {
	max-width: 640px;
	margin: 0 auto;
	padding: 20px;
	font-family: 'Poppins', sans-serif;
}
.tgb-reschedule__intro {
	text-align: center;
	margin-bottom: 28px;
}
.tgb-reschedule__intro .tgb-h2 { margin-bottom: 10px; }
.tgb-reschedule__intro .tgb-text-muted { font-size: 14px; line-height: 1.7; }
.tgb-reschedule__form {
	background: #fff;
	border: 1px solid #E2E8F0;
	border-radius: 16px;
	padding: 28px;
}

/* ---------------------------------------------------------------
   Tambah Peserta request page (/tambah-peserta/)
   --------------------------------------------------------------- */
.tgb-addon {
	max-width: 640px;
	margin: 0 auto;
	padding: 20px;
	font-family: 'Poppins', sans-serif;
}
.tgb-addon__intro {
	text-align: center;
	margin-bottom: 28px;
}
.tgb-addon__intro .tgb-h2 { margin-bottom: 10px; }
.tgb-addon__intro .tgb-text-muted { font-size: 14px; line-height: 1.7; }
.tgb-addon__form {
	background: #fff;
	border: 1px solid #E2E8F0;
	border-radius: 16px;
	padding: 28px;
}
#tgb-addon-remaining-hint {
	display: block;
	margin-top: 4px;
	color: #8794A8;
	font-size: 12px;
	font-weight: 400;
}

/* ---------------------------------------------------------------
   Booking page — student summary bar & purchase-type tabs
   --------------------------------------------------------------- */
.tgb-student-summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 10px;
	background: linear-gradient(135deg, rgba(42,168,168,0.06), rgba(26,106,174,0.06));
	border: 1px solid #E2E8F0;
	border-radius: 12px;
	padding: 12px 18px;
	margin-bottom: 20px;
	font-size: 13px;
	color: #3E4C63;
}
.tgb-student-summary strong { color: #102060; }
.tgb-student-summary a {
	color: #2AA8A8;
	font-weight: 700;
	font-size: 12px;
	text-decoration: none;
	white-space: nowrap;
}
.tgb-student-summary a:hover { text-decoration: underline; }

.tgb-purchase-tabs {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
	margin-bottom: 24px;
}
.tgb-purchase-tab {
	flex: 1;
	min-width: 160px;
	background: #fff;
	border: 1.5px solid #E2E8F0;
	border-radius: 12px;
	padding: 14px 16px;
	font-family: 'Poppins', sans-serif;
	font-size: 14px;
	font-weight: 700;
	color: #3E4C63;
	cursor: pointer;
	transition: all 0.2s ease;
	text-align: center;
}
.tgb-purchase-tab:hover { border-color: #2AA8A8; }
.tgb-purchase-tab.is-active {
	background: linear-gradient(135deg, #2AA8A8, #1A6AAE, #102060);
	border-color: transparent;
	color: #fff;
}
