/* GYL Booking — sleek dark scheduler UI (Calendly-style layout, black theme).
   Mobile responsive. Accent (--gyl-accent / --gyl-on-accent) injected in PHP. */

.gyl-widget {
	--gyl-accent: #b8f02c;
	--gyl-on-accent: #0e1116;
	--gyl-fg: #eef1f5;
	--gyl-muted: #8b94a3;
	--gyl-dim: #5a616e;
	--gyl-soft: #1a1e26;
	--gyl-soft-2: #222833;
	--gyl-line: #252a33;
	--gyl-card: #14171d;
	--gyl-r: 10px;
	--gyl-r-lg: 16px;
	--gyl-shadow: 0 2px 8px rgba( 0, 0, 0, .35 ), 0 22px 50px rgba( 0, 0, 0, .5 );
	max-width: 880px;
	margin: 0 auto;
	color: var(--gyl-fg);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Inter, Arial, sans-serif;
	-webkit-font-smoothing: antialiased;
	text-align: left;
}
.gyl-widget * { box-sizing: border-box; }

.gyl-w-card {
	position: relative;
	background: var(--gyl-card);
	border: 1px solid var(--gyl-line);
	border-radius: var(--gyl-r-lg);
	box-shadow: var(--gyl-shadow);
	overflow: hidden;
	animation: gyl-in .24s cubic-bezier( .2, .7, .2, 1 );
}
.gyl-w-card::before {
	content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px;
	background: linear-gradient( 90deg, var(--gyl-accent), rgba( 184, 240, 44, 0 ) 65% );
}
@keyframes gyl-in { from { opacity: 0; transform: translateY( 6px ); } to { opacity: 1; transform: none; } }

/* ---------- Shell: info panel + calendar ---------- */
.gyl-w-shell { display: grid; grid-template-columns: 268px 1fr; }
.gyl-w-side { padding: 26px 22px 24px; border-right: 1px solid var(--gyl-line); }
.gyl-w-main { padding: 24px 24px 26px; }
.gyl-w-main.has-times { display: grid; grid-template-columns: 1fr 176px; gap: 20px; }

.gyl-w-brand { display: flex; align-items: center; gap: 9px; margin-bottom: 16px; }
.gyl-w-logo { width: 30px; height: 30px; border-radius: 8px; object-fit: cover; display: block; }
.gyl-w-brandname { font-size: 14px; font-weight: 700; color: var(--gyl-fg); }

.gyl-w-h { font-size: 20px; font-weight: 700; letter-spacing: -.015em; line-height: 1.25; color: var(--gyl-fg); }
.gyl-w-sub { color: var(--gyl-muted); font-size: 13.5px; margin-top: 5px; }

.gyl-w-meta { margin-top: 14px; display: flex; flex-direction: column; gap: 10px; }
.gyl-w-metarow { display: flex; align-items: center; gap: 8px; color: var(--gyl-muted); font-size: 13.5px; font-weight: 600; }
.gyl-w-metarow svg { flex: 0 0 auto; }

.gyl-w-tz { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--gyl-line); }
.gyl-w-tzlabel { display: flex; align-items: center; gap: 7px; color: var(--gyl-muted); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 8px; }

/* ---------- Calendar ---------- */
.gyl-w-caltop { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.gyl-w-month { font-size: 15.5px; font-weight: 700; color: var(--gyl-fg); }
.gyl-w-nav { display: flex; gap: 7px; }
.gyl-w-navbtn {
	width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--gyl-line);
	background: var(--gyl-soft); color: var(--gyl-fg); cursor: pointer;
	display: flex; align-items: center; justify-content: center; padding: 0;
	transition: background .15s, border-color .15s;
}
.gyl-w-navbtn:hover:not(:disabled) { background: var(--gyl-soft-2); border-color: #333b47; }
.gyl-w-navbtn:disabled { opacity: .3; cursor: default; }

.gyl-w-dow { display: grid; grid-template-columns: repeat( 7, 1fr ); gap: 4px; margin-bottom: 4px; }
.gyl-w-dow span { text-align: center; font-size: 10.5px; font-weight: 700; letter-spacing: .05em; color: var(--gyl-muted); text-transform: uppercase; }

.gyl-w-grid { display: grid; grid-template-columns: repeat( 7, 1fr ); gap: 4px; }
.gyl-w-cell {
	position: relative; aspect-ratio: 1 / 1; min-height: 40px; padding: 0;
	border: 0; background: transparent; border-radius: 10px;
	font-family: inherit; font-size: 14px; font-weight: 600; color: var(--gyl-dim);
	display: flex; align-items: center; justify-content: center; cursor: default;
	transition: background .14s, color .14s, transform .12s;
}
.gyl-w-cell.is-out { color: #3a404b; }
.gyl-w-cell.is-free { background: var(--gyl-soft); color: var(--gyl-fg); cursor: pointer; }
.gyl-w-cell.is-free:hover { background: var(--gyl-soft-2); transform: translateY( -1px ); }
.gyl-w-cell.is-today { box-shadow: inset 0 0 0 1px #333b47; }
.gyl-w-cdot { position: absolute; bottom: 7px; left: 50%; transform: translateX( -50% ); width: 4px; height: 4px; border-radius: 50%; background: var(--gyl-accent); }
.gyl-w-cell.is-sel { background: var(--gyl-accent); color: var(--gyl-on-accent); }
.gyl-w-cell.is-sel .gyl-w-cdot { background: var(--gyl-on-accent); opacity: .5; }

/* ---------- Times ---------- */
.gyl-w-timeshead { font-size: 13px; font-weight: 700; margin-bottom: 10px; color: var(--gyl-fg); }
.gyl-w-tlist { display: flex; flex-direction: column; gap: 8px; max-height: 322px; overflow: auto; padding-right: 2px; }
.gyl-w-time {
	padding: 11px 10px; border: 1px solid var(--gyl-line); border-radius: var(--gyl-r);
	background: var(--gyl-soft); color: var(--gyl-fg); font-family: inherit;
	font-size: 14px; font-weight: 600; cursor: pointer; text-align: center;
	transition: border-color .15s, background .15s, transform .12s;
}
.gyl-w-time:hover { border-color: var(--gyl-accent); background: var(--gyl-soft-2); transform: translateY( -1px ); }

/* ---------- Form panes ---------- */
.gyl-w-pane { padding: 28px 24px 26px; max-width: 470px; margin: 0 auto; }
.gyl-w-head { margin-bottom: 16px; }
.gyl-w-steps { display: flex; align-items: center; gap: 6px; margin-bottom: 18px; }
.gyl-w-dot { width: 26px; height: 4px; border-radius: 99px; background: var(--gyl-line); transition: background .2s, width .2s; }
.gyl-w-dot.is-on { background: var(--gyl-accent); width: 30px; }
.gyl-w-stepn { margin-left: 8px; color: var(--gyl-muted); font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }

.gyl-w-form { display: flex; flex-direction: column; gap: 11px; }
.gyl-w-qlabel { font-weight: 700; font-size: 13px; margin: 5px 0 -4px; color: var(--gyl-fg); }
.gyl-w-chosen {
	font-weight: 700; padding: 12px 14px; border-radius: var(--gyl-r); font-size: 14px;
	background: var(--gyl-soft); border: 1px solid var(--gyl-line); color: var(--gyl-fg);
}
.gyl-w-input, .gyl-w-select {
	padding: 12px 13px; border: 1px solid var(--gyl-line); border-radius: var(--gyl-r);
	background: var(--gyl-soft); color: var(--gyl-fg); font-size: 15px; font-family: inherit;
	width: 100%; transition: border-color .15s, box-shadow .15s;
}
.gyl-w-input::placeholder { color: #6f7886; }
.gyl-w-input:focus, .gyl-w-select:focus { outline: none; border-color: var(--gyl-accent); box-shadow: 0 0 0 3px rgba( 184, 240, 44, .18 ); }
textarea.gyl-w-input { resize: vertical; min-height: 58px; }
.gyl-w-msg { color: #ff7b72; font-size: 13px; min-height: 17px; font-weight: 600; }

.gyl-w-actions { display: flex; gap: 10px; margin-top: 6px; }
.gyl-w-btn {
	padding: 12px 20px; border-radius: var(--gyl-r); font-weight: 700; font-size: 14.5px;
	cursor: pointer; border: 1px solid var(--gyl-line); background: var(--gyl-soft); color: var(--gyl-fg);
	font-family: inherit; text-decoration: none; display: inline-flex; align-items: center; justify-content: center;
	transition: transform .12s, background .15s, border-color .15s, box-shadow .18s;
}
.gyl-w-btn:active { transform: translateY( 1px ); }
.gyl-w-primary { flex: 1; border: none; background: var(--gyl-accent); color: var(--gyl-on-accent); box-shadow: 0 6px 18px rgba( 184, 240, 44, .16 ); }
.gyl-w-primary:hover { filter: brightness( 1.04 ); transform: translateY( -1px ); }
.gyl-w-primary:disabled { opacity: .55; cursor: default; transform: none; }
.gyl-w-ghost { color: var(--gyl-muted); background: transparent; }
.gyl-w-ghost:hover { border-color: #333b47; color: var(--gyl-fg); }

.gyl-w-successcard .gyl-w-pane { text-align: center; }
.gyl-w-check {
	width: 56px; height: 56px; border-radius: 50%; background: var(--gyl-accent); color: var(--gyl-on-accent);
	font-size: 27px; display: grid; place-items: center; margin: 4px auto 14px;
	box-shadow: 0 8px 22px rgba( 184, 240, 44, .22 );
	animation: gyl-pop .4s cubic-bezier( .2, 1.3, .4, 1 );
}
@keyframes gyl-pop { 0% { transform: scale( 0 ); } 60% { transform: scale( 1.12 ); } 100% { transform: scale( 1 ); } }
.gyl-w-note { color: var(--gyl-muted); font-size: 14px; }

.gyl-w-empty, .gyl-w-loading {
	padding: 34px 24px; text-align: center; color: #8b94a3; font-size: 14px;
	border: 1px dashed #252a33; border-radius: 16px; background: #14171d;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}
.gyl-w-tlist::-webkit-scrollbar { width: 6px; }
.gyl-w-tlist::-webkit-scrollbar-thumb { background: var(--gyl-line); border-radius: 99px; }

/* ---------- Responsive ---------- */
@media ( max-width: 760px ) {
	.gyl-w-shell { grid-template-columns: 1fr; }
	.gyl-w-side { border-right: 0; border-bottom: 1px solid var(--gyl-line); padding: 20px 18px; }
	.gyl-w-main { padding: 18px; }
	.gyl-w-main.has-times { grid-template-columns: 1fr; gap: 16px; }
	.gyl-w-tlist { max-height: none; display: grid; grid-template-columns: repeat( auto-fill, minmax( 92px, 1fr ) ); }
	.gyl-w-h { font-size: 18px; }
	.gyl-w-pane { padding: 22px 18px; }
}
@media ( max-width: 400px ) {
	.gyl-w-cell { min-height: 36px; font-size: 13px; }
	.gyl-w-grid, .gyl-w-dow { gap: 3px; }
}

/* ---------- Popup modal ---------- */
.gyl-modal { position: fixed; inset: 0; z-index: 99999; display: flex; align-items: center; justify-content: center; padding: 18px; }
.gyl-modal[hidden] { display: none; }
#gyl-modal.gyl-modal:not( [hidden] ) { display: flex !important; visibility: visible !important; opacity: 1 !important; }
#gyl-modal.gyl-modal[hidden] { display: none !important; }
.gyl-modal-backdrop { position: absolute; inset: 0; background: rgba( 6, 8, 11, .72 ); backdrop-filter: blur( 6px ); animation: gyl-fade .2s ease; }
@keyframes gyl-fade { from { opacity: 0; } to { opacity: 1; } }
.gyl-modal-card { position: relative; width: 100%; max-width: 880px; max-height: 92vh; overflow: auto; animation: gyl-pop-in .24s cubic-bezier( .2, .8, .2, 1 ); }
@keyframes gyl-pop-in { from { opacity: 0; transform: translateY( 12px ) scale( .98 ); } to { opacity: 1; transform: none; } }
.gyl-modal-close {
	position: absolute; top: 12px; right: 12px; z-index: 3; width: 34px; height: 34px; border-radius: 50%;
	display: flex; align-items: center; justify-content: center; padding: 0; line-height: 1;
	border: 1px solid #2b323d; background: rgba( 26, 30, 38, .92 ); color: #eef1f5; font-size: 20px;
	cursor: pointer; transition: transform .15s, background .15s;
}
.gyl-modal-close:hover { transform: rotate( 90deg ); background: #222833; }
html.gyl-modal-open { overflow: hidden; }
@media ( max-width: 620px ) {
	.gyl-modal { padding: 10px; }
	.gyl-modal-card { max-height: 94vh; }
}

/* ---------- Floating action button ---------- */
.gyl-fab {
	position: fixed; right: 22px; bottom: 22px; z-index: 99998; display: inline-flex; align-items: center; gap: 9px;
	padding: 13px 20px; border: none; border-radius: 14px; font-weight: 700; font-size: 14.5px; cursor: pointer;
	color: var(--gyl-on-accent, #0e1116 ); background: var(--gyl-accent, #b8f02c );
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
	box-shadow: 0 10px 26px rgba( 0, 0, 0, .38 );
	transition: transform .16s, box-shadow .2s; animation: gyl-fab-in .4s cubic-bezier( .2, 1.2, .4, 1 );
}
@keyframes gyl-fab-in { from { opacity: 0; transform: translateY( 12px ) scale( .9 ); } to { opacity: 1; transform: none; } }
.gyl-fab:hover { transform: translateY( -2px ); }
.gyl-fab-ico { font-size: 16px; }
@media ( max-width: 520px ) { .gyl-fab-txt { display: none; } .gyl-fab { padding: 15px; border-radius: 50%; } }

/* ---------- Docked quick-booking card ---------- */
.gyl-quick {
	position: fixed; right: 22px; left: auto; bottom: 96px; z-index: 99997; width: 296px;
	background: #14171d; color: #eef1f5; border-radius: 16px; padding: 16px 16px 15px;
	box-shadow: 0 2px 8px rgba( 0, 0, 0, .4 ), 0 22px 50px rgba( 0, 0, 0, .5 ); border: 1px solid #252a33;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
	transform-origin: bottom right;
	opacity: 0; transform: translateY( 16px ) scale( .98 ); transition: opacity .3s ease, transform .34s cubic-bezier( .2, .8, .2, 1 );
}
.gyl-quick.is-in { opacity: 1; transform: none; }
.gyl-quick.is-closing { opacity: 0; transform: translateY( 16px ) scale( .96 ); }
.gyl-quick.is-collapsing { opacity: 0; transform: translate( 34px, 78px ) scale( .12 ); }
.gyl-quick-close { position: absolute; top: 10px; right: 10px; width: 26px; height: 26px; border: 1px solid #252a33; background: #1a1e26; color: #8b94a3; font-size: 16px; line-height: 1; cursor: pointer; border-radius: 8px; transition: color .15s, transform .15s; }
.gyl-quick-close:hover { color: #eef1f5; transform: rotate( 90deg ); }
.gyl-quick-head { display: flex; align-items: center; gap: 11px; margin-bottom: 13px; padding-right: 24px; }
.gyl-quick-ico { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; font-size: 18px; color: var(--gyl-on-accent, #0e1116 ); background: var(--gyl-accent, #b8f02c ); }
.gyl-quick-title { font-weight: 700; font-size: 14.5px; line-height: 1.2; letter-spacing: -.01em; }
.gyl-quick-sub { font-size: 12px; color: #8b94a3; margin-top: 2px; }
.gyl-quick-times { display: flex; flex-direction: column; gap: 8px; margin-bottom: 11px; }
.gyl-quick-chip {
	padding: 10px 13px; border: 1px solid #252a33; border-radius: 10px; background: #1a1e26; color: #eef1f5;
	font-weight: 600; font-size: 13.5px; cursor: pointer; text-align: left; font-family: inherit;
	transition: transform .12s, border-color .15s, background .15s;
}
.gyl-quick-chip:hover { transform: translateY( -1px ); border-color: var(--gyl-accent, #b8f02c ); background: #222833; }
.gyl-quick-more {
	width: 100%; padding: 11px; border: none; border-radius: 10px; font-weight: 700; font-size: 13.5px; cursor: pointer;
	color: var(--gyl-on-accent, #0e1116 ); background: var(--gyl-accent, #b8f02c ); font-family: inherit;
	transition: transform .14s, filter .15s;
}
.gyl-quick-more:hover { transform: translateY( -1px ); filter: brightness( 1.03 ); }
@media ( max-width: 720px ) { .gyl-quick { display: none; } }

/* ===================================================================
   THEME-PROOFING — stop the host theme's CSS from leaking into our UI.
   =================================================================== */
.gyl-widget, .gyl-widget *,
.gyl-modal, .gyl-modal *,
.gyl-quick, .gyl-quick *,
.gyl-fab, .gyl-fab * {
	box-sizing: border-box !important;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Inter, Arial, sans-serif !important;
	letter-spacing: normal !important;
	text-transform: none !important;
	text-shadow: none !important;
	font-weight: inherit;
}
.gyl-widget button, .gyl-modal button, .gyl-quick button, .gyl-fab,
.gyl-widget a.gyl-w-btn, .gyl-modal a.gyl-w-btn {
	margin: 0 !important;
	min-width: 0 !important;
	height: auto !important;
	line-height: 1.25 !important;
	text-decoration: none !important;
	text-transform: none !important;
}
.gyl-widget input, .gyl-widget select, .gyl-widget textarea {
	margin: 0 !important;
	width: 100% !important;
	min-height: 0 !important;
	height: auto !important;
	line-height: 1.4 !important;
	color: var(--gyl-fg) !important;
	background: var(--gyl-soft) !important;
}
.gyl-w-card { background: var(--gyl-card) !important; color: var(--gyl-fg) !important; border: 1px solid var(--gyl-line) !important; }
.gyl-w-h, .gyl-w-month, .gyl-w-chosen, .gyl-w-timeshead, .gyl-w-brandname, .gyl-w-qlabel { color: var(--gyl-fg) !important; }
.gyl-w-sub, .gyl-w-note, .gyl-w-metarow, .gyl-w-tzlabel, .gyl-w-stepn { color: var(--gyl-muted) !important; }
.gyl-w-cell { display: flex !important; align-items: center !important; justify-content: center !important; background: transparent !important; color: var(--gyl-dim) !important; }
.gyl-w-cell.is-out { color: #3a404b !important; }
.gyl-w-cell.is-free { background: var(--gyl-soft) !important; color: var(--gyl-fg) !important; }
.gyl-w-cell.is-free:hover { background: var(--gyl-soft-2) !important; }
.gyl-w-cell.is-sel { background: var(--gyl-accent) !important; color: var(--gyl-on-accent) !important; }
.gyl-w-time { background: var(--gyl-soft) !important; color: var(--gyl-fg) !important; border-color: var(--gyl-line) !important; }
.gyl-w-time:hover { background: var(--gyl-soft-2) !important; border-color: var(--gyl-accent) !important; }
.gyl-w-navbtn { background: var(--gyl-soft) !important; color: var(--gyl-fg) !important; }
.gyl-w-btn.gyl-w-ghost { background: transparent !important; color: var(--gyl-muted) !important; }
.gyl-w-btn.gyl-w-primary { color: var(--gyl-on-accent) !important; border: none !important; background: var(--gyl-accent) !important; }
.gyl-fab { color: var(--gyl-on-accent) !important; text-decoration: none !important; background: var(--gyl-accent, #b8f02c ) !important; }
.gyl-quick { background: #14171d !important; color: #eef1f5 !important; }
.gyl-quick-chip { background: #1a1e26 !important; color: #eef1f5 !important; }
.gyl-quick-more, .gyl-quick-ico { color: var(--gyl-on-accent) !important; background: var(--gyl-accent, #b8f02c ) !important; }
.gyl-modal-close { background: rgba( 26, 30, 38, .92 ) !important; color: #eef1f5 !important; }

/* Best Peptide Marketing identity: same palette and typography as the website. */
.gyl-widget { --gyl-accent:#d9fa78;--gyl-on-accent:#183831;--gyl-fg:#183831;--gyl-muted:#52645b;--gyl-dim:#738078;--gyl-soft:#e9eddf;--gyl-soft-2:#dce5ce;--gyl-line:#d1dacb;--gyl-card:#f6f5ee;--gyl-shadow:0 12px 40px rgb(24 56 49 / .1); }
.gyl-widget,.gyl-widget *{font-family:Arial,Helvetica,sans-serif!important}
.gyl-widget .gyl-w-side{background:#e8eddf}
.gyl-widget .gyl-w-h{font-family:Georgia,'Times New Roman',serif!important;font-size:25px;font-weight:400;font-style:italic;line-height:1.2}
.gyl-widget .gyl-w-brandname{font-weight:700;font-size:13px}
.gyl-widget .gyl-w-logo{border-radius:0;object-fit:contain}
.gyl-widget .gyl-w-msg{color:#a62e28}
.gyl-widget .gyl-w-input::placeholder{color:#59695e}
.gyl-widget .gyl-w-cell.is-out{color:#809087!important}
.gyl-widget .gyl-w-cell.is-today{box-shadow:inset 0 0 0 1px #597764}
.gyl-widget .gyl-w-btn.gyl-w-primary{background:#183831!important;color:#f6f5ee!important;box-shadow:none;border-radius:999px}
.gyl-widget .gyl-w-input:focus,.gyl-widget .gyl-w-select:focus{border-color:#204b40;box-shadow:0 0 0 3px #204b4020}
.gyl-widget .gyl-w-card::before{height:3px;background:linear-gradient(90deg,#204b40,#d9fa78)}
