@import url('mobile-targets.css');

/* Initial visibility is intentionally overridable by the existing show/hide scripts. */
.bb-initially-hidden { display: none; }
.bb-strava-button { height: 30pt; }
.bb-strava-button-large { height: 40pt; }
.bb-admin-bike-photo { max-height: 300px; width: auto; }
.bb-admin-bike-placeholder { height: 200px; }
.bb-user-dropdown { max-height: 200px; overflow-y: auto; }
.bb-toast-container { z-index: 1055; }
.bb-clickable { cursor: pointer; }
.bb-card-photo { height: 150px; object-fit: cover; }
.bb-card-photo-placeholder { height: 150px; }
.bb-photo-caption-overlay { background: linear-gradient(transparent, rgb(0 0 0 / 70%)); }
.bb-card-indicator { z-index: 10; }
.bb-user-avatar { width: 35px; height: 35px; object-fit: cover; }
.bb-small-icon { font-size: .75rem; }
.bb-truncated-email { max-width: 200px; }
.bb-document-scroll { max-height: 500px; overflow-y: auto; }
.bb-wizard-progress { height: 8px; }
.bb-wizard-progress-bar { width: 33.33%; }
.bb-bike-card { cursor: pointer; background-color: var(--bs-light, #f8f9fa); }
.bb-bike-placeholder-icon { color: var(--bs-secondary-color, #ccc); }
.bb-shared-bike-header { background-color: var(--bs-warning-bg-subtle, #fff9c4); }
.bb-loading-overlay { position: fixed; inset: 0; background: rgb(255 255 255 / 70%); z-index: 9999; }
.bb-loading-overlay-content { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); }
.bb-retired-component { background-color: var(--bs-danger-bg-subtle, #f8d7da); }
.bb-inactive-config { background-color: var(--bs-danger-bg-subtle, #ffebee); }
.bb-tiny-badge, .bb-tiny-icon { font-size: .6em; }
.bb-detail-text { font-size: smaller; }
.bb-document-card { width: 150px; text-decoration: none; color: inherit; }
.bb-document-thumbnail { height: 95px; cursor: pointer; }
.bb-work-card { width: 18rem; }
.bb-work-card-compact { width: 15rem; }
.bb-work-card-medium { width: 17rem; }
.bb-work-card-completed { border-left: 4px solid var(--bs-success, #28a745); }
.bb-timeline-line { left: 20px; top: 0; bottom: 0; width: 4px; background-color: var(--bs-success, green); }
.bb-timeline-group { margin-left: 40px; margin-bottom: 20px; }
.bb-timeline-dot { top: 50%; left: -24px; width: 12px; height: 12px; background-color: var(--bs-success, green); border-radius: 50%; transform: translateY(-50%); }
.bb-chart-container { position: relative; height: 300px; width: 100%; }
.bb-dashboard-badge, [data-badge-offset] { font-size: .6rem; margin-top: 10px; margin-right: 10px; z-index: 10; }
[data-badge-offset="stacked"] { margin-top: 35px; }
.bb-profile-photo-container { width: 150px; height: 150px; margin: 0 auto; }
.bb-profile-photo { width: 150px; height: 150px; object-fit: cover; }
.bb-profile-placeholder { width: 150px; height: 150px; }
.bb-profile-photo-action { width: 40px; height: 40px; }
.bb-profile-preview { max-width: 200px; max-height: 200px; }
.bb-strava-avatar { width: 50px; height: 50px; }
.bb-strava-action, .bb-strava-badge { background-color: #fc4c02; color: white; }
.bb-strava-action { border: none; }
.bb-strava-association { background-color: #fc4c02; color: white; border-color: #fc4c02; }
.bb-bike-hero { background: linear-gradient(135deg, var(--bb-primary-dark) 0%, var(--bb-primary) 100%); }
.bb-bike-hero-photo, .bb-bike-hero-overlay { position: absolute; inset: 0; width: 100%; height: 100%; }
.bb-bike-hero-photo { object-fit: cover; object-position: center; }
.bb-bike-hero-overlay { background: linear-gradient(rgb(0 0 0 / 10%), rgb(0 0 0 / 30%)); }
.bb-bike-tab-badge { font-size: .6rem; transform: translate(-50%, -30%) !important; }
.bb-full-size-photo { max-height: 80vh; }
.bb-document-frame { width: 100%; height: 75vh; border: none; }
.bb-landing-hero { min-height: 100vh; background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); }
.bb-landing-background { background: url('/assets/IMG_0076.PNG') center / cover; opacity: .1; transform: translateZ(0); }
.bb-landing-dashboard { transform: perspective(1000px) rotateY(-15deg) rotateX(5deg); }
.bb-landing-features { background: linear-gradient(to bottom, #f8f9fa, #fff); }
.bb-floating-top { top: -20px; right: -20px; }
.bb-floating-service { width: 150px; transform: rotate(5deg); }
.bb-feature-highlight { background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%); margin: 0 -15px; padding: 0 15px; }
.bb-feature-brand { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); margin: 0 -15px; padding: 0 15px; }
.bb-floating-bottom { bottom: -20px; left: -20px; }
.bb-floating-bike { width: 120px; transform: rotate(-5deg); }
.bb-landing-cta { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); }

.bb-value-progress { width: 100%; height: 100%; appearance: none; border: 0; background: transparent; color: var(--bs-primary); }
.bb-value-progress.bg-success { color: var(--bs-success); background: transparent !important; }
.bb-value-progress.bg-warning { color: var(--bs-warning); background: transparent !important; }
.bb-value-progress.bg-danger { color: var(--bs-danger); background: transparent !important; }
.bb-value-progress::-webkit-progress-bar { background: transparent; }
.bb-value-progress::-webkit-progress-value { background: currentColor; }
.bb-value-progress::-moz-progress-bar { background: currentColor; }
