/* Greenbud Trainings – public */
.gbt-wrap { --gbt-green: #2a7d2e; --gbt-green-dark: #1f6a22; --gbt-light: #eef7ee; --gbt-border: #d6dcd8; --gbt-text: #1d2a22; --gbt-muted: #5b665f; container-type: inline-size; color: var(--gbt-text); }
.gbt-wrap *, .gbt-wrap *::before, .gbt-wrap *::after { box-sizing: border-box; }
.gbt-wrap img { max-width: 100%; height: auto; }
.gbt-wrap p { padding-bottom: 0; }

/* Buttons */
.gbt-btn { font-family: inherit; display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 11px 22px; border: 0; border-radius: 6px; background: var(--gbt-green); color: #fff !important; font-weight: 600; font-size: 15px; line-height: 1.2; text-decoration: none !important; cursor: pointer; transition: background .15s; }
.gbt-btn:hover { background: var(--gbt-green-dark); }
.gbt-btn--ghost { background: transparent; color: var(--gbt-green) !important; box-shadow: inset 0 0 0 1.5px var(--gbt-green); }
.gbt-btn--ghost:hover { background: var(--gbt-light); }
.gbt-btn[disabled] { opacity: .7; cursor: wait; }

/* Icons (inline SVG masks) */
.gbt-ico { display: inline-block; width: 16px; height: 16px; flex: 0 0 16px; background: var(--gbt-green); -webkit-mask: var(--i) center / contain no-repeat; mask: var(--i) center / contain no-repeat; }
.gbt-ico--cal { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 2v2H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2h-2V2h-2v2H9V2H7zm-2 8h14v10H5V10z'/%3E%3C/svg%3E"); }
.gbt-ico--clock, .gbt-ico--hourglass { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20zm1 5v5.4l3.6 2.1-1 1.7L11 13.6V7h2z'/%3E%3C/svg%3E"); }
.gbt-ico--pin { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a7 7 0 0 0-7 7c0 5.2 7 13 7 13s7-7.8 7-13a7 7 0 0 0-7-7zm0 9.5A2.5 2.5 0 1 1 12 6.5a2.5 2.5 0 0 1 0 5z'/%3E%3C/svg%3E"); }
.gbt-ico--user { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 12a5 5 0 1 0 0-10 5 5 0 0 0 0 10zm0 2c-4.4 0-8 2.2-8 5v3h16v-3c0-2.8-3.6-5-8-5z'/%3E%3C/svg%3E"); }
.gbt-ico--tag { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M21.4 11.6 12.4 2.6A2 2 0 0 0 11 2H4a2 2 0 0 0-2 2v7c0 .5.2 1 .6 1.4l9 9a2 2 0 0 0 2.8 0l7-7a2 2 0 0 0 0-2.8zM6.5 8a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3z'/%3E%3C/svg%3E"); }

/* Listing cards */
.gbt-cards { display: grid; gap: 26px; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 10px 0 30px; }
.gbt-cards--1 { grid-template-columns: 1fr; }
.gbt-cards--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.gbt-cards--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@container (max-width: 900px) { .gbt-cards--3, .gbt-cards--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@container (max-width: 560px) { .gbt-cards { grid-template-columns: 1fr !important; } }
.gbt-card { display: flex; flex-direction: column; background: #fff; border: 1px solid #e3e8e5; border-radius: 12px; overflow: hidden; box-shadow: 0 4px 18px rgba(20, 60, 30, .06); transition: transform .15s, box-shadow .15s; }
.gbt-card:hover { transform: translateY(-3px); box-shadow: 0 10px 28px rgba(20, 60, 30, .12); }
.gbt-card__media { position: relative; display: block; aspect-ratio: 16 / 9; background: var(--gbt-light); overflow: hidden; }
.gbt-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gbt-card__placeholder { position: absolute; inset: 0; background: linear-gradient(135deg, #4db848 0%, #1f6a22 100%); }
.gbt-card__date { position: absolute; left: 14px; bottom: 14px; background: #fff; border-radius: 8px; padding: 6px 10px; text-align: center; font-size: 11px; font-weight: 600; text-transform: uppercase; color: var(--gbt-muted); line-height: 1.2; box-shadow: 0 2px 8px rgba(0,0,0,.15); }
.gbt-card__date strong { display: block; font-size: 20px; color: var(--gbt-green); }
.gbt-card__flag { position: absolute; right: 12px; top: 12px; background: var(--gbt-green); color: #fff; font-size: 11.5px; font-weight: 600; padding: 4px 10px; border-radius: 20px; }
.gbt-card__flag--cancelled { background: #c62828; }
.gbt-card__body { display: flex; flex-direction: column; flex: 1; padding: 18px 18px 20px; }
.gbt-card__title { font-size: 18px; line-height: 1.35; margin: 0 0 12px; padding: 0; }
.gbt-card__title a { color: var(--gbt-text); text-decoration: none; }
.gbt-card__title a:hover { color: var(--gbt-green); }
.gbt-card__meta { list-style: none; margin: 0 0 14px; padding: 0 !important; font-size: 14px; color: var(--gbt-muted); }
.gbt-card__meta li { display: flex; gap: 8px; align-items: center; margin: 0 0 6px; padding: 0; list-style: none; }
.gbt-card__fees { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.gbt-chip { background: var(--gbt-light); color: var(--gbt-green-dark); border-radius: 20px; padding: 4px 11px; font-size: 13px; }
.gbt-card__actions { margin-top: auto; display: flex; gap: 10px; flex-wrap: wrap; }
.gbt-card__actions .gbt-btn { flex: 1 1 auto; padding: 10px 14px; font-size: 14px; }
.gbt-empty { padding: 30px; text-align: center; background: var(--gbt-light); border-radius: 10px; }

/* Training page */
.gbt-back { margin: 0 0 16px; font-size: 14px; }
.gbt-back a { color: var(--gbt-green); text-decoration: none; }
.gbt-banner { margin: 0 0 22px; border-radius: 12px; overflow: hidden; }
.gbt-banner img { width: 100%; display: block; }
.gbt-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 0 0 22px; }
@container (max-width: 720px) { .gbt-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@container (max-width: 420px) { .gbt-facts { grid-template-columns: 1fr; } }
.gbt-fact { display: flex; gap: 12px; align-items: flex-start; background: #f7faf7; border: 1px solid #e3ebe5; border-radius: 10px; padding: 14px; }
.gbt-fact .gbt-ico { width: 20px; height: 20px; flex-basis: 20px; margin-top: 2px; }
.gbt-fact__label { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .5px; color: var(--gbt-muted); }
.gbt-fact__value { display: block; font-weight: 600; font-size: 15px; line-height: 1.4; }
.gbt-register-box { background: var(--gbt-light); border: 1px solid #cfe6d1; border-radius: 12px; padding: 20px; margin: 0 0 26px; }
.gbt-register-box h3 { margin: 0 0 14px; padding: 0; font-size: 19px; }
.gbt-register-options { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.gbt-option { display: flex; flex-direction: column; gap: 6px; background: #fff; border: 1.5px solid #cfe6d1; border-radius: 10px; padding: 16px; text-decoration: none !important; color: var(--gbt-text); transition: border-color .15s, box-shadow .15s; }
.gbt-option:hover { border-color: var(--gbt-green); box-shadow: 0 6px 18px rgba(42, 125, 46, .15); }
.gbt-option__label { font-size: 13px; text-transform: uppercase; letter-spacing: .6px; color: var(--gbt-muted); font-weight: 600; }
.gbt-option__price { font-size: 22px; font-weight: 700; color: var(--gbt-green-dark); }
.gbt-option .gbt-btn { margin-top: 6px; }
.gbt-deadline { margin: 12px 0 0; font-size: 13.5px; color: var(--gbt-muted); }
.gbt-section { margin: 0 0 26px; }
.gbt-section h3 { font-size: 20px; margin: 0 0 10px; padding: 0; }
.gbt-fac { display: flex; gap: 18px; align-items: flex-start; }
.gbt-fac__photo { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; flex: 0 0 96px; }
.gbt-fac__name { font-weight: 700; font-size: 17px; margin: 0; }
.gbt-fac__role { color: var(--gbt-green); margin: 2px 0 8px; }

/* Notices */
.gbt-notice { border-radius: 8px; padding: 14px 16px; margin: 0 0 20px; border: 1px solid; }
.gbt-notice ul { margin: 6px 0 0 18px; padding: 0; }
.gbt-notice--closed { background: #fff8e6; border-color: #ffd27a; color: #6b4a00; }
.gbt-notice--error { background: #fdeeee; border-color: #f3b0b0; color: #8e1b1b; }
.gbt-notice--pay { background: #fff8e6; border-color: #ffd27a; margin-top: 18px; line-height: 1.6; }

/* Registration form */
.gbt-reg { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); border: 1px solid #555; border-width: 0 1px; margin: 0 0 30px; }
.gbt-reg__form { padding: 26px 24px 30px; border-right: 1px solid #555; }
.gbt-reg__summary { padding: 26px 22px; }
@container (max-width: 760px) {
	.gbt-reg { grid-template-columns: 1fr; border-width: 0; }
	.gbt-reg__form { border-right: 0; padding: 10px 0 24px; }
	.gbt-reg__summary { order: -1; padding: 0 0 10px; border-bottom: 1px solid var(--gbt-border); }
}
.gbt-name-notice { text-align: center; color: #c0392b; font-weight: 700; font-size: 17px; margin: 6px 0 22px; }
.gbt-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px; margin-bottom: 26px; }
.gbt-row--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.gbt-row--1 { grid-template-columns: 1fr; }
@container (max-width: 560px) { .gbt-row, .gbt-row--3 { grid-template-columns: 1fr; gap: 22px; } }

/* Outlined field with the label sitting on the border */
.gbt-of { position: relative; }
.gbt-of label { position: absolute; left: 14px; top: -11px; padding: 0 8px; background: #fff; color: #5f6b65; font-size: 16px; line-height: 22px; pointer-events: none; z-index: 1; transition: color .15s; white-space: nowrap; max-width: calc(100% - 28px); overflow: hidden; text-overflow: ellipsis; }
.gbt-of .gbt-req { color: #c0392b; }
.gbt-of input, .gbt-of select, .gbt-of textarea { display: block; width: 100%; min-height: 52px; padding: 16px 18px 8px; border: 1px solid var(--gbt-border); border-radius: 2px; background: #fff; font-size: 17px; color: var(--gbt-text); box-shadow: none; outline: none; font-family: inherit; margin: 0; }
.gbt-of select { padding-top: 14px; padding-bottom: 6px; -webkit-appearance: none; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M0 0h10L5 6z' fill='%23666'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 36px; }
.gbt-of textarea { min-height: 76px; resize: vertical; }
.gbt-of--focus input, .gbt-of--focus select, .gbt-of--focus textarea, .gbt-of input:focus, .gbt-of select:focus, .gbt-of textarea:focus { border-color: var(--gbt-green); box-shadow: 0 0 0 1px var(--gbt-green); }
.gbt-of--focus label, .gbt-of:focus-within label { color: var(--gbt-green); }
.gbt-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.gbt-consent { margin: -6px 0 18px; font-size: 14.5px; }
.gbt-submit { text-align: center; margin: 6px 0 0; }
.gbt-btn--submit { min-width: 248px; padding: 14px 30px; font-size: 19px; font-weight: 500; border-radius: 0; background: #2a7d2e; }

/* Summary table */
.gbt-summary { width: 100%; border-collapse: collapse; border: 0; margin: 0; font-size: 17px; }
.gbt-summary th, .gbt-summary td { padding: 10px 6px; border: 0; border-bottom: 1px solid #e6e6e6; vertical-align: top; text-align: left; background: transparent; }
.gbt-summary th { font-weight: 700; width: 30%; }
.gbt-summary__colon { width: 18px; padding-left: 0 !important; padding-right: 0 !important; text-align: center !important; }
.gbt-switch { margin: 14px 0 0; font-size: 14px; }
.gbt-switch a { color: var(--gbt-green); }

/* Success */
.gbt-success { text-align: center; background: var(--gbt-light); border: 1px solid #cfe6d1; border-radius: 12px; padding: 28px 20px; margin: 0 0 24px; }
.gbt-success__icon { width: 58px; height: 58px; margin: 0 auto 10px; border-radius: 50%; background: var(--gbt-green); color: #fff; font-size: 30px; line-height: 58px; font-weight: 700; }
.gbt-success h3 { margin: 0 0 6px; padding: 0; font-size: 22px; }
.gbt-success__no { font-size: 17px; margin-top: 8px; }
.gbt-success__no strong { color: var(--gbt-green-dark); letter-spacing: .5px; }
.gbt-reg--done .gbt-summary { font-size: 15.5px; }
