.ongym-reservations { --ongym-font-family: inherit;
--ongym-bg-color: transparent;
--ongym-text-color: inherit;
--ongym-text-muted: rgba(255, 255, 255, 0.7);
--ongym-nav-color: inherit;
--ongym-nav-muted: rgba(0, 0, 0, 0.5);
--ongym-card-radius: 16px;
--ongym-card-gap: 16px;
--ongym-card-height: 180px;
--ongym-card-overlay: linear-gradient(to bottom, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.5) 100%);
--ongym-accent-color: #f97316;
--ongym-accent-hover: #ea580c;
--ongym-accent-text: #ffffff;
--ongym-accent-text-hover: #ffffff;
--ongym-scrollbar-track: rgba(255, 255, 255, 0.1);
--ongym-scrollbar-thumb: var(--ongym-accent-color);
--ongym-border-color: rgba(255, 255, 255, 0.1);
--ongym-badge-group-bg: rgba(59, 130, 246, 0.9);
--ongym-badge-group-text: #ffffff;
--ongym-badge-personal-bg: rgba(34, 197, 94, 0.9);
--ongym-badge-personal-text: #ffffff;
--ongym-spinner-color: var(--ongym-accent-color);
--ongym-error-bg: rgba(239, 68, 68, 0.1);
--ongym-error-border: rgba(239, 68, 68, 0.3);
--ongym-error-text: #fca5a5;
--ongym-info-border: #3b82f6;
--ongym-info-bg: rgba(59, 130, 246, 0.1);
--ongym-subcard-height: 100px;
--ongym-input-bg: rgba(0, 0, 0, 0.05);
--ongym-input-border: rgba(0, 0, 0, 0.15);
font-family: var(--ongym-font-family);
background: var(--ongym-bg-color);
color: var(--ongym-text-color);
max-width: 100%;
margin: 0 auto;
} .ongym-section-header {
display: flex;
align-items: center;
gap: 8px;
margin-bottom: 16px;
font-size: 14px;
color: var(--ongym-text-muted);
}
.ongym-section-header svg {
width: 16px;
height: 16px;
opacity: 0.7;
} .ongym-subcat-header {
display: flex;
align-items: center;
gap: 16px;
margin-bottom: 20px;
}
.ongym-reservations .ongym-subcat-header h2 {
margin: 0;
font-size: 18px;
font-weight: 600;
color: var(--ongym-nav-color) !important;
} .ongym-back {
display: inline-flex;
align-items: center;
justify-content: center;
width: 44px;
height: 44px;
padding: 0;
background: var(--ongym-accent-color);
border: 1px solid var(--ongym-accent-color);
border-radius: 50%;
font-size: 14px;
font-weight: 500;
color: var(--ongym-accent-text);
cursor: pointer;
transition: all 0.2s ease;
flex-shrink: 0;
}
.ongym-back:hover {
background: var(--ongym-accent-hover);
border-color: var(--ongym-accent-hover);
color: var(--ongym-accent-text-hover);
}
.ongym-back svg {
width: 20px;
height: 20px;
}
.ongym-back.hidden {
display: none;
} .ongym-category-description {
display: flex;
gap: 16px;
padding: 20px;
margin-bottom: 20px;
background: var(--ongym-info-bg);
border: 2px solid var(--ongym-info-border);
border-radius: var(--ongym-card-radius);
}
.ongym-category-description.hidden {
display: none;
}
.ongym-category-description-icon {
flex-shrink: 0;
width: 24px;
height: 24px;
color: var(--ongym-info-border);
}
.ongym-category-description-text {
font-size: 14px;
line-height: 1.6;
color: var(--ongym-text-color);
margin: 0;
} .ongym-breadcrumb {
display: flex;
align-items: center;
gap: 8px;
font-size: 14px;
color: var(--ongym-nav-muted);
margin-bottom: 16px;
}
.ongym-breadcrumb:empty {
display: none;
}
.ongym-breadcrumb-item {
cursor: pointer;
transition: color 0.2s;
}
.ongym-breadcrumb-item:hover {
color: var(--ongym-accent-color);
}
.ongym-breadcrumb-separator {
opacity: 0.5;
}
.ongym-breadcrumb-current {
color: var(--ongym-nav-color);
font-weight: 500;
} .ongym-loading {
display: none;
flex-direction: column;
align-items: center;
justify-content: center;
padding: 60px 20px;
color: var(--ongym-text-muted);
}
.ongym-loading.active {
display: flex;
}
.ongym-spinner {
width: 40px;
height: 40px;
border: 3px solid var(--ongym-border-color);
border-top-color: var(--ongym-spinner-color);
border-radius: 50%;
animation: ongym-spin 0.8s linear infinite;
margin-bottom: 16px;
}
@keyframes ongym-spin {
to { transform: rotate(360deg); }
} .ongym-error {
display: none;
padding: 16px 20px;
background: var(--ongym-error-bg);
border: 1px solid var(--ongym-error-border);
border-radius: var(--ongym-card-radius);
color: var(--ongym-error-text);
text-align: center;
font-size: 14px;
}
.ongym-error.active {
display: block;
} .ongym-categories,
.ongym-subcategories {
display: flex;
flex-direction: column;
gap: var(--ongym-card-gap);
}
.ongym-categories.hidden,
.ongym-subcategories.hidden {
display: none;
} .ongym-card {
position: relative;
border-radius: var(--ongym-card-radius);
overflow: hidden;
cursor: pointer;
transition: transform 0.2s ease, box-shadow 0.2s ease;
height: var(--ongym-card-height);
border: 1px solid var(--ongym-border-color);
}
.ongym-card:hover {
transform: scale(1.02);
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}
.ongym-card:active {
transform: scale(0.98);
}
.ongym-card-image {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
object-fit: cover;
}
.ongym-card-overlay {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: var(--ongym-card-overlay);
pointer-events: none;
}
.ongym-card-content {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
padding: 20px;
text-align: center;
z-index: 1;
}
.ongym-card-title {
font-size: 28px;
font-weight: 700;
color: var(--ongym-text-color);
margin: 0;
text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
letter-spacing: 0.5px;
text-transform: uppercase;
}
.ongym-card-subtitle {
font-size: 13px;
color: var(--ongym-text-muted);
margin: 8px 0 0 0;
text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
} .ongym-subcard {
position: relative;
display: flex;
align-items: stretch;
border-radius: var(--ongym-card-radius);
overflow: hidden;
cursor: pointer;
transition: transform 0.2s ease, box-shadow 0.2s ease;
min-height: var(--ongym-subcard-height);
border: 1px solid var(--ongym-border-color);
}
.ongym-subcard:hover {
transform: scale(1.01);
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}
.ongym-subcard:active {
transform: scale(0.99);
} .ongym-subcard-bg {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
object-fit: cover;
filter: brightness(0.4);
} .ongym-subcard-badge {
position: relative;
z-index: 2;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
gap: 6px;
padding: 16px 14px;
width: 100px;
min-width: 100px;
text-align: center;
}
.ongym-subcard-badge-group {
background: var(--ongym-badge-group-bg);
color: var(--ongym-badge-group-text);
}
.ongym-subcard-badge-personal {
background: var(--ongym-badge-personal-bg);
color: var(--ongym-badge-personal-text);
}
.ongym-subcard-badge svg {
width: 28px;
height: 28px;
}
.ongym-subcard-badge-text {
font-size: 11px;
font-weight: 600;
text-transform: uppercase;
letter-spacing: 0.3px;
} .ongym-subcard-content {
position: relative;
z-index: 2;
flex: 1;
display: flex;
flex-direction: column;
justify-content: center;
padding: 16px 12px;
min-width: 0;
}
.ongym-subcard-title {
display: flex;
align-items: baseline;
gap: 8px;
margin: 0 0 6px 0;
flex-wrap: wrap;
}
.ongym-subcard-name {
font-size: 16px;
font-weight: 600;
color: var(--ongym-text-color);
}
.ongym-subcard-price {
font-size: 14px;
font-weight: 500;
color: var(--ongym-text-muted);
} .ongym-subcard-payments {
display: flex;
align-items: center;
gap: 12px;
margin-bottom: 6px;
flex-wrap: wrap;
}
.ongym-subcard-payment {
display: flex;
align-items: center;
gap: 4px;
font-size: 12px;
color: var(--ongym-text-muted);
}
.ongym-subcard-payment svg {
width: 14px;
height: 14px;
} .ongym-subcard-description {
display: flex;
align-items: flex-start;
gap: 6px;
font-size: 12px;
color: var(--ongym-text-muted);
line-height: 1.4;
}
.ongym-subcard-description svg {
flex-shrink: 0;
width: 14px;
height: 14px;
margin-top: 1px;
} .ongym-subcard-arrow {
position: relative;
z-index: 2;
display: flex;
align-items: center;
justify-content: center;
padding: 0 16px;
color: var(--ongym-text-muted);
}
.ongym-subcard-arrow svg {
width: 20px;
height: 20px;
} .ongym-placeholder {
padding: 60px 40px;
background: var(--ongym-border-color);
border: 2px dashed rgba(255, 255, 255, 0.2);
border-radius: var(--ongym-card-radius);
text-align: center;
color: var(--ongym-text-muted);
} @media (max-width: 640px) {
.ongym-reservations {
--ongym-card-height: 150px;
--ongym-subcard-height: auto;
}
.ongym-card-title {
font-size: 22px;
}
.ongym-subcard {
flex-wrap: wrap;
}
.ongym-subcard-badge {
flex-direction: row;
width: 100%;
min-width: unset;
padding: 10px 16px;
gap: 10px;
}
.ongym-subcard-badge svg {
width: 22px;
height: 22px;
}
.ongym-subcard-content {
padding: 12px 16px 16px;
}
.ongym-subcard-arrow {
position: absolute;
top: 10px;
right: 10px;
padding: 0;
}
.ongym-category-description {
flex-direction: column;
gap: 12px;
}
} .ongym-events {
display: flex;
flex-direction: column;
gap: var(--ongym-card-gap);
}
.ongym-events.hidden {
display: none;
} .ongym-event {
position: relative;
display: flex;
align-items: stretch;
border-radius: var(--ongym-card-radius);
overflow: hidden;
cursor: pointer;
transition: transform 0.2s ease, box-shadow 0.2s ease;
min-height: 120px;
border: 1px solid var(--ongym-border-color);
background: var(--ongym-border-color);
} .ongym-event-bg {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
object-fit: cover;
filter: blur(4px) brightness(0.3);
transform: scale(1.1);
}
.ongym-event:hover {
transform: scale(1.01);
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}
.ongym-event:active {
transform: scale(0.99);
}
.ongym-event.disabled {
opacity: 0.5;
cursor: not-allowed;
}
.ongym-event.disabled:hover {
transform: none;
box-shadow: none;
} .ongym-event-date {
position: relative;
z-index: 2;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
gap: 2px;
padding: 16px;
width: 90px;
min-width: 90px;
background: var(--ongym-accent-color);
color: var(--ongym-accent-text);
text-align: center;
}
.ongym-event-date-day {
font-size: 28px;
font-weight: 700;
line-height: 1;
}
.ongym-event-date-month {
font-size: 12px;
font-weight: 600;
text-transform: uppercase;
letter-spacing: 0.5px;
}
.ongym-event-date-time {
font-size: 13px;
font-weight: 500;
margin-top: 6px;
padding-top: 6px;
border-top: 1px solid rgba(255, 255, 255, 0.3);
} .ongym-event-content {
position: relative;
z-index: 2;
flex: 1;
display: flex;
flex-direction: column;
justify-content: center;
padding: 16px;
min-width: 0;
}
.ongym-event-name {
font-size: 16px;
font-weight: 600;
color: var(--ongym-text-color);
margin: 0 0 6px 0;
}
.ongym-event-meta {
display: flex;
flex-wrap: wrap;
gap: 12px;
font-size: 13px;
color: var(--ongym-text-color);
opacity: 0.8;
}
.ongym-event-meta-item {
display: flex;
align-items: center;
gap: 4px;
}
.ongym-event-meta-item svg {
width: 14px;
height: 14px;
}
.ongym-event-description {
font-size: 13px;
color: var(--ongym-text-color);
opacity: 0.8;
margin-top: 8px;
line-height: 1.4;
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
overflow: hidden;
} .ongym-event-spots {
position: relative;
z-index: 2;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
padding: 16px;
min-width: 80px;
text-align: center;
}
.ongym-event-spots-count {
font-size: 22px;
font-weight: 700;
color: var(--ongym-text-color);
}
.ongym-event-spots-limit {
font-size: 14px;
font-weight: 500;
opacity: 0.6;
}
.ongym-event-spots-label {
font-size: 11px;
color: var(--ongym-text-color);
text-transform: uppercase;
}
.ongym-event-spots.full .ongym-event-spots-count {
color: var(--ongym-error-text);
}
.ongym-event-spots.full .ongym-event-spots-limit {
color: var(--ongym-error-text);
} .ongym-event-arrow {
position: relative;
z-index: 2;
display: flex;
align-items: center;
justify-content: center;
padding: 0 16px;
color: var(--ongym-text-color);
opacity: 0.7;
}
.ongym-event-arrow svg {
width: 20px;
height: 20px;
} .ongym-service {
position: relative;
display: flex;
align-items: center;
background: var(--ongym-border-color);
border-radius: var(--ongym-card-radius);
border: 1px solid var(--ongym-border-color);
overflow: hidden;
cursor: pointer;
transition: transform 0.2s ease, box-shadow 0.2s ease;
min-height: 80px;
}
.ongym-service:hover {
transform: translateY(-2px);
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
.ongym-service-bg {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
object-fit: cover;
filter: blur(8px);
opacity: 0.3;
transform: scale(1.1);
}
.ongym-service-content {
position: relative;
z-index: 2;
flex: 1;
padding: 16px 20px;
}
.ongym-service-name {
font-size: 16px;
font-weight: 600;
color: var(--ongym-text-color);
margin: 0 0 6px 0;
}
.ongym-service-meta {
display: flex;
align-items: center;
gap: 16px;
font-size: 14px;
color: var(--ongym-text-color);
opacity: 0.8;
}
.ongym-service-duration {
display: flex;
align-items: center;
gap: 6px;
}
.ongym-service-duration svg {
width: 16px;
height: 16px;
}
.ongym-service-payments {
display: flex;
align-items: center;
flex-wrap: wrap;
gap: 12px;
}
.ongym-service-payment-item {
display: flex;
align-items: center;
gap: 4px;
}
.ongym-service-payment-item svg {
width: 16px;
height: 16px;
}
.ongym-service-info {
position: relative;
z-index: 2;
display: flex;
flex-direction: column;
align-items: flex-end;
padding: 16px 0;
}
.ongym-service-price {
font-size: 18px;
font-weight: 700;
color: var(--ongym-text-color);
}
.ongym-service-arrow {
position: relative;
z-index: 2;
display: flex;
align-items: center;
justify-content: center;
padding: 0 16px;
color: var(--ongym-text-color);
opacity: 0.7;
}
.ongym-service-arrow svg {
width: 20px;
height: 20px;
} .ongym-host {
position: relative;
display: flex;
align-items: center;
background: var(--ongym-input-bg);
border-radius: var(--ongym-card-radius);
border: 1px solid var(--ongym-input-border);
overflow: hidden;
cursor: pointer;
transition: transform 0.2s ease, box-shadow 0.2s ease;
padding: 16px;
gap: 16px;
}
.ongym-host:hover {
transform: translateY(-2px);
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
.ongym-host-img {
width: 60px;
height: 60px;
border-radius: 50%;
object-fit: cover;
flex-shrink: 0;
}
.ongym-host-img-placeholder {
display: flex;
align-items: center;
justify-content: center;
background: var(--ongym-accent-color);
color: #fff;
}
.ongym-host-img-placeholder svg {
width: 32px;
height: 32px;
}
.ongym-host-content {
flex: 1;
}
.ongym-host-name {
font-size: 16px;
font-weight: 600;
color: var(--ongym-nav-color);
margin: 0;
}
.ongym-host-arrow {
display: flex;
align-items: center;
justify-content: center;
color: var(--ongym-nav-color);
opacity: 0.7;
}
.ongym-host-arrow svg {
width: 20px;
height: 20px;
} .ongym-datetime-picker {
display: flex;
flex-direction: column;
gap: 24px;
}
.ongym-section-title {
display: flex;
align-items: center;
gap: 8px;
font-size: 14px;
font-weight: 600;
color: var(--ongym-nav-color);
margin: 0 0 12px 0;
text-transform: uppercase;
letter-spacing: 0.5px;
}
.ongym-section-title svg {
width: 18px;
height: 18px;
} .ongym-dates {
display: flex;
gap: 8px;
overflow-x: auto;
padding-bottom: 12px;
-webkit-overflow-scrolling: touch;
scrollbar-width: thin;
scrollbar-color: var(--ongym-scrollbar-thumb) var(--ongym-scrollbar-track);
} .ongym-dates::-webkit-scrollbar {
height: 6px;
}
.ongym-dates::-webkit-scrollbar-track {
background: var(--ongym-scrollbar-track);
border-radius: 3px;
}
.ongym-dates::-webkit-scrollbar-thumb {
background: var(--ongym-scrollbar-thumb);
border-radius: 3px;
}
.ongym-dates::-webkit-scrollbar-thumb:hover {
background: var(--ongym-scrollbar-thumb);
filter: brightness(0.9);
}
.ongym-date-btn {
display: flex;
flex-direction: column;
align-items: center;
padding: 12px 16px;
background: var(--ongym-input-bg);
border: 2px solid var(--ongym-input-border);
border-radius: 12px;
cursor: pointer;
transition: all 0.2s ease;
min-width: 70px;
flex-shrink: 0;
}
.ongym-date-btn:hover {
border-color: var(--ongym-accent-color);
}
.ongym-date-btn.active {
background: var(--ongym-accent-color);
border-color: var(--ongym-accent-color);
color: var(--ongym-accent-text);
}
.ongym-date-btn.active:hover {
background: var(--ongym-accent-hover);
border-color: var(--ongym-accent-hover);
color: var(--ongym-accent-text-hover);
}
.ongym-date-day {
font-size: 24px;
font-weight: 700;
line-height: 1;
color: var(--ongym-nav-color);
}
.ongym-date-btn.active .ongym-date-day {
color: var(--ongym-accent-text);
}
.ongym-date-btn.active:hover .ongym-date-day {
color: var(--ongym-accent-text-hover);
}
.ongym-date-month {
font-size: 12px;
font-weight: 600;
text-transform: uppercase;
color: var(--ongym-nav-muted);
margin-top: 4px;
}
.ongym-date-btn.active .ongym-date-month {
color: var(--ongym-accent-text);
opacity: 0.8;
}
.ongym-date-btn.active:hover .ongym-date-month {
color: var(--ongym-accent-text-hover);
opacity: 0.8;
}
.ongym-date-weekday {
font-size: 11px;
color: var(--ongym-nav-muted);
margin-top: 2px;
}
.ongym-date-btn.active .ongym-date-weekday {
color: var(--ongym-accent-text);
opacity: 0.7;
}
.ongym-date-btn.active:hover .ongym-date-weekday {
color: var(--ongym-accent-text-hover);
opacity: 0.7;
} .ongym-times {
display: flex;
flex-wrap: wrap;
gap: 8px;
}
.ongym-times-loading {
display: flex;
align-items: center;
gap: 8px;
color: var(--ongym-nav-muted);
font-size: 14px;
padding: 12px 0;
}
.ongym-times-loading svg {
width: 18px;
height: 18px;
animation: spin 1s linear infinite;
}
@keyframes spin {
from { transform: rotate(0deg); }
to { transform: rotate(360deg); }
}
.ongym-no-times {
color: var(--ongym-nav-muted);
font-size: 14px;
margin: 0;
padding: 12px 0;
}
.ongym-time-btn {
display: flex;
flex-direction: column;
align-items: center;
padding: 12px 20px;
background: var(--ongym-input-bg);
border: 2px solid var(--ongym-input-border);
border-radius: 10px;
cursor: pointer;
transition: all 0.2s ease;
min-width: 80px;
}
.ongym-time-btn:hover:not(.occupied) {
border-color: var(--ongym-accent-color);
}
.ongym-time-btn.active {
background: var(--ongym-accent-color);
border-color: var(--ongym-accent-color);
color: var(--ongym-accent-text);
}
.ongym-time-btn.active:hover {
background: var(--ongym-accent-hover);
border-color: var(--ongym-accent-hover);
color: var(--ongym-accent-text-hover);
}
.ongym-time-btn.occupied {
opacity: 0.5;
cursor: not-allowed;
background: var(--ongym-input-bg);
}
.ongym-time-value {
display: flex;
align-items: center;
gap: 6px;
font-size: 16px;
font-weight: 600;
color: var(--ongym-nav-color);
}
.ongym-time-value svg {
flex-shrink: 0;
}
.ongym-time-btn.active .ongym-time-value {
color: var(--ongym-accent-text);
}
.ongym-time-btn.active:hover .ongym-time-value {
color: var(--ongym-accent-text-hover);
} .ongym-times-flat {
display: flex;
flex-wrap: wrap;
gap: 8px;
width: 100%;
} .ongym-hour-group {
width: 100%;
margin-bottom: 16px;
}
.ongym-hour-group:last-child {
margin-bottom: 0;
}
.ongym-hour-label {
display: flex;
align-items: center;
gap: 12px;
font-size: 13px;
font-weight: 600;
color: var(--ongym-nav-muted);
margin-bottom: 10px;
text-transform: uppercase;
letter-spacing: 0.5px;
}
.ongym-hour-label::after {
content: '';
flex: 1;
height: 1px;
background: var(--ongym-input-border);
}
.ongym-hour-slots {
display: flex;
flex-wrap: wrap;
gap: 8px;
} .ongym-confirm-section {
margin-top: 24px;
padding-top: 24px;
border-top: 1px solid var(--ongym-input-border);
}
.ongym-confirm-btn {
display: flex;
align-items: center;
justify-content: center;
width: 100%;
padding: 16px 24px;
background: var(--ongym-accent-color);
border: none;
border-radius: 12px;
font-size: 16px;
font-weight: 600;
color: var(--ongym-accent-text);
cursor: pointer;
transition: background 0.2s, transform 0.1s;
}
.ongym-confirm-btn:hover {
background: var(--ongym-accent-hover);
color: var(--ongym-accent-text-hover);
}
.ongym-confirm-btn:active {
transform: scale(0.98);
} .ongym-events-empty {
padding: 40px 20px;
text-align: center;
color: var(--ongym-nav-muted);
}
.ongym-events-empty svg {
width: 48px;
height: 48px;
margin-bottom: 16px;
opacity: 0.5;
}
.ongym-events-empty p {
color: var(--ongym-nav-color);
margin-bottom: 20px;
}
.ongym-back-btn {
display: inline-flex;
align-items: center;
gap: 8px;
padding: 12px 24px;
background: var(--ongym-accent-color);
border: none;
border-radius: 10px;
font-size: 14px;
font-weight: 500;
color: var(--ongym-accent-text);
cursor: pointer;
transition: background 0.2s;
}
.ongym-back-btn:hover {
background: var(--ongym-accent-hover);
color: var(--ongym-accent-text-hover);
}
.ongym-back-btn svg {
width: 16px;
height: 16px;
margin-bottom: 0;
opacity: 1;
} .ongym-form {
display: none;
}
.ongym-form.active {
display: block;
}
.ongym-form-event-summary {
display: flex;
align-items: center;
gap: 16px;
padding: 12px 16px;
margin-bottom: 12px;
background: var(--ongym-input-bg);
border-radius: 10px;
border-left: 3px solid var(--ongym-accent-color);
}
.ongym-form-event-date {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
padding: 12px 16px;
background: var(--ongym-accent-color);
border-radius: 10px;
color: var(--ongym-accent-text);
text-align: center;
min-width: 70px;
}
.ongym-form-event-date-day {
font-size: 24px;
font-weight: 700;
line-height: 1;
}
.ongym-form-event-date-month {
font-size: 11px;
font-weight: 600;
text-transform: uppercase;
}
.ongym-form-event-info {
flex: 1;
display: flex;
flex-direction: column;
justify-content: center;
}
.ongym-form-event-name {
font-size: 16px;
font-weight: 600;
color: var(--ongym-nav-color);
margin: 0 0 4px 0;
}
.ongym-form-event-time {
font-size: 14px;
color: var(--ongym-nav-muted);
margin: 0;
} .ongym-form-event-description {
padding: 12px 16px;
margin-bottom: 12px;
background: var(--ongym-input-bg);
border-radius: 10px;
border-left: 3px solid var(--ongym-accent-color);
}
.ongym-form-event-description p {
margin: 0;
font-size: 14px;
line-height: 1.5;
color: var(--ongym-nav-color);
} .ongym-form-price-info {
display: flex;
gap: 24px;
padding: 12px 16px;
margin-bottom: 16px;
background: var(--ongym-input-bg);
border-radius: 10px;
flex-wrap: wrap;
}
.ongym-form-price,
.ongym-form-payment {
display: flex;
align-items: center;
gap: 8px;
}
.ongym-form-price-label,
.ongym-form-payment-label {
font-size: 14px;
color: var(--ongym-nav-muted);
}
.ongym-form-price-value {
font-size: 18px;
font-weight: 700;
color: var(--ongym-accent-color);
}
.ongym-form-payment-value {
display: flex;
align-items: center;
gap: 6px;
font-size: 14px;
font-weight: 500;
color: var(--ongym-nav-color);
}
.ongym-form-payment-value svg {
width: 18px;
height: 18px;
} .ongym-form-fields {
display: flex;
flex-direction: column;
gap: 16px;
}
.ongym-form-group {
display: flex;
flex-direction: column;
gap: 6px;
}
.ongym-form-label {
font-size: 14px;
font-weight: 500;
color: var(--ongym-nav-color);
}
.ongym-form-label span {
color: var(--ongym-error-text);
}
.ongym-form-input {
padding: 12px 16px;
background: var(--ongym-input-bg);
border: 1px solid var(--ongym-input-border);
border-radius: 10px;
font-size: 15px;
color: var(--ongym-nav-color);
transition: border-color 0.2s, box-shadow 0.2s;
}
.ongym-form-input::placeholder {
color: var(--ongym-nav-muted);
}
.ongym-form-input:focus {
outline: none;
border-color: var(--ongym-accent-color);
box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.2);
}
.ongym-form-input.error {
border-color: var(--ongym-error-border);
}
.ongym-form-error {
font-size: 12px;
color: var(--ongym-error-text);
} .ongym-form-submit {
display: flex;
align-items: center;
justify-content: center;
gap: 8px;
width: 100%;
padding: 14px 24px;
margin-top: 8px;
background: var(--ongym-accent-color);
border: none;
border-radius: 10px;
font-size: 16px;
font-weight: 600;
color: var(--ongym-accent-text);
cursor: pointer;
transition: background 0.2s, transform 0.1s;
}
.ongym-form-submit:hover {
background: var(--ongym-accent-hover);
color: var(--ongym-accent-text-hover);
}
.ongym-form-submit:active {
transform: scale(0.98);
}
.ongym-form-submit:disabled {
opacity: 0.6;
cursor: not-allowed;
}
.ongym-form-submit svg {
width: 20px;
height: 20px;
} .ongym-form-error-message {
display: flex;
align-items: center;
gap: 10px;
padding: 14px 16px;
margin-bottom: 16px;
background: var(--ongym-error-bg);
border: 1px solid var(--ongym-error-border);
border-radius: 10px;
color: var(--ongym-error-text);
font-size: 14px;
line-height: 1.4;
}
.ongym-form-error-message svg {
flex-shrink: 0;
width: 20px;
height: 20px;
} .ongym-success {
text-align: center;
padding: 40px 20px;
}
.ongym-success-icon {
display: inline-flex;
align-items: center;
justify-content: center;
width: 80px;
height: 80px;
margin-bottom: 24px;
background: rgba(34, 197, 94, 0.15);
border-radius: 50%;
color: #22c55e;
}
.ongym-success-icon svg {
width: 40px;
height: 40px;
}
.ongym-success-title {
font-size: 24px;
font-weight: 700;
color: var(--ongym-nav-color);
margin: 0 0 12px 0;
}
.ongym-success-message {
font-size: 15px;
color: var(--ongym-nav-muted);
margin: 0 0 24px 0;
}
.ongym-success-details {
display: flex;
flex-direction: column;
gap: 12px;
padding: 20px;
margin-bottom: 20px;
background: var(--ongym-input-bg);
border-radius: 12px;
text-align: left;
}
.ongym-success-detail {
display: flex;
justify-content: space-between;
align-items: center;
gap: 16px;
}
.ongym-success-label {
font-size: 14px;
color: var(--ongym-nav-muted);
}
.ongym-success-value {
display: flex;
align-items: center;
gap: 6px;
font-size: 14px;
font-weight: 600;
color: var(--ongym-nav-color);
}
.ongym-success-value svg {
width: 16px;
height: 16px;
}
.ongym-success-note {
font-size: 13px;
color: var(--ongym-nav-muted);
margin: 0 0 24px 0;
}
.ongym-success-btn {
display: inline-flex;
align-items: center;
justify-content: center;
padding: 14px 32px;
background: var(--ongym-accent-color);
border: none;
border-radius: 10px;
font-size: 16px;
font-weight: 600;
color: var(--ongym-accent-text);
cursor: pointer;
transition: background 0.2s;
}
.ongym-success-btn:hover {
background: var(--ongym-accent-hover);
color: var(--ongym-accent-text-hover);
} @media (max-width: 640px) {
.ongym-event {
flex-wrap: wrap;
min-height: auto;
}
.ongym-event-date {
flex-direction: row;
width: 100%;
min-width: unset;
padding: 12px 16px;
gap: 8px;
}
.ongym-event-date-day {
font-size: 20px;
}
.ongym-event-date-month {
font-size: 14px;
}
.ongym-event-date-time {
margin-top: 0;
margin-left: auto;
padding-top: 0;
border-top: none;
}
.ongym-event-content {
padding: 12px 16px;
}
.ongym-event-spots {
position: absolute;
top: 12px;
right: 50px;
padding: 0;
flex-direction: row;
gap: 4px;
min-width: unset;
}
.ongym-event-spots-count {
font-size: 14px;
}
.ongym-event-spots-label {
font-size: 10px;
}
.ongym-event-arrow {
position: absolute;
top: 12px;
right: 12px;
padding: 0;
}
.ongym-form-event-summary {
flex-direction: column;
gap: 12px;
}
.ongym-form-event-date {
flex-direction: row;
gap: 8px;
min-width: unset;
}
.ongym-form-event-date-day {
font-size: 18px;
}
}