/* The SQ Syndicate Tune Lab: small additions on top of the Color Admin theme. Everything else is the theme's own classes. */

/* Readability: the theme's default text is 13px, which is too small for pages this wordy. Everything a person reads is 15px or more. */
body { font-size: 15px; line-height: 1.55; }
.app-content p, .app-content li, .app-content td, .app-content th, .app-content label, .app-content .form-check-label { font-size: 15px; }
.app-content .form-control, .app-content .form-select, .app-content .btn { font-size: 15px; }
.app-content .form-text, .app-content .small, .app-content small, .app-content .text-muted.small { font-size: 13.5px; }
.app-content .panel-title { font-size: 15px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.app-content .panel-title .fa { font-size: 15px; opacity: .9; }
.app-content .panel-title .badge { text-transform: none; letter-spacing: 0; }
.app-content h5 { font-size: 17px; margin-top: 14px; }
.app-content .page-header { font-size: 28px; }
.app-content .page-header small { font-size: 16px; }
.app-content .alert { font-size: 15px; }
.app-content .table { font-size: 14.5px; }
/* grids: vertical lines and room in every cell, a distinct header row */
.app-content .table th, .app-content .table td { border: 1px solid rgba(255,255,255,.14); padding: 9px 12px; vertical-align: middle; }
.app-content .table thead th { background: rgba(255,255,255,.06); font-weight: 700; white-space: nowrap; }
.app-content .table-striped > tbody > tr:nth-of-type(odd) > * { background: rgba(255,255,255,.025); }
.nav-wizards-1 .nav-text { font-size: 14px; }
.app-content .badge { font-size: 12px; }

/* Coloured headings by purpose, in the theme's own colours (this build of the theme ships no panel colour variants, so they are defined here):
   inputs blue (primary), explanations cyan (info), results teal (success), fine tuning orange (warning). */
.panel-primary > .panel-heading { background: var(--bs-primary); color: #fff; }
.panel-info > .panel-heading { background: var(--bs-info); color: #fff; }
.panel-success > .panel-heading { background: var(--bs-success); color: #fff; }
.panel-warning > .panel-heading { background: var(--bs-warning); color: #222; }
.panel-danger > .panel-heading { background: var(--bs-danger); color: #fff; }
.panel-default > .panel-heading { background: #3a434b; color: #fff; }
.panel-inverse > .panel-heading { background: #2d353c; }
.panel-primary, .panel-info, .panel-success, .panel-warning, .panel-danger { border: 1px solid rgba(255,255,255,.08); }
.panel-warning > .panel-heading .badge.bg-warning { background: #222 !important; color: #ffd27a; }
.panel-heading .panel-title { color: inherit; }
.chart-panel > .panel-heading { background: #2d353c; border-left: 4px solid #00acac; }
.chart-panel.chart-result > .panel-heading { border-left-color: #ff9f0c; }
.chart-panel.chart-read > .panel-heading { border-left-color: #49b6d6; }
.chart-panel.chart-full > .panel-heading { border-left-color: #00acac; }
.tl-brand { display: flex; align-items: center; gap: 10px; }
.tl-logo { height: 36px; width: 36px; }
.tl-brand-by { font-size: 12px; color: rgba(255,255,255,.55); margin-left: 6px; font-weight: 400; }
.tl-brand-text { font-size: 16px; }
.tl-brand-sep { opacity: .4; margin: 0 4px; }
.tl-tagline { color: rgba(255,255,255,.55); font-style: italic; }

.tl-steps .nav-link { cursor: pointer; }
.tl-steps .nav-link.disabled { cursor: not-allowed; opacity: .45; }

.tl-lead { font-size: 16px; max-width: 1100px; }
/* the step heading: big, numbered, so you always know where you are */
.tl-step { font-size: 26px; font-weight: 600; margin: 4px 0 14px; display: flex; align-items: center; gap: 12px; color: #fff; }
.tl-step small { font-size: 14px; font-weight: 400; margin-left: 4px; }
.tl-step-no { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: var(--bs-primary); color: #fff; font-size: 20px; font-weight: 700; }

/* "What this step does": its own solid colour, one level under the heading and above the panels */
.tl-edu { border-left: 6px solid #49b6d6; padding: 16px 20px; background: #1c4a63; color: #eaf6fb; border-radius: 0 8px 8px 0; font-size: 15.5px; line-height: 1.6; margin-bottom: 18px; box-shadow: 0 2px 6px rgba(0,0,0,.25); }
.tl-edu b { color: #9fe8ff; }
.tl-edu a { color: #ffd27a; }
.tl-edu p:last-child { margin-bottom: 0; }
.tl-group { display: inline-block; padding: 3px 10px; border-radius: 4px; font-size: 13px; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; color: #fff; margin-bottom: 8px; }
.tl-group-stage { background: #348fe2; } .tl-group-bass { background: #ff5b57; } .tl-group-voices { background: #00acac; } .tl-group-top { background: #727cb6; } .tl-group-loudness { background: #ff9f0c; color: #222; }

.tl-drop { border: 2px dashed rgba(255,255,255,.25); border-radius: 8px; padding: 26px; text-align: center; cursor: pointer; transition: border-color .15s, background .15s; }
.tl-drop.over, .tl-drop:hover { border-color: #00acac; background: rgba(0,172,172,.08); }

.tl-log { font-family: Consolas, monospace; font-size: 12px; white-space: pre-wrap; max-height: 220px; overflow: auto; color: rgba(255,255,255,.6); }

.tl-curve { cursor: pointer; border: 2px solid transparent; transition: border-color .15s; height: 100%; }
.tl-curve:hover { border-color: rgba(0,172,172,.5); }
.tl-curve.selected { border-color: #00acac; }
.tl-curve .tl-spark { height: 90px; margin: 6px -8px 4px; }
.tl-curve .tl-sound { font-size: 13px; }
.tl-curve .tl-suits { font-size: 12.5px; color: rgba(255,255,255,.6); }

.chart-panel .panel-body { padding-top: 8px; }
.apexcharts-toolbar .tl-ytool { color: #9aa0a8; margin-right: 8px; cursor: pointer; font-size: 14px; }
.apexcharts-toolbar .tl-ytool:hover { color: #fff; }
.chart-caption { font-size: 13px; color: rgba(255,255,255,.62); margin: 6px 0 0; }
.tl-num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }

/* the little "i" on table headings, and the pop-up it opens */
.tl-help { color: #49b6d6; cursor: help; font-size: 13px; margin-left: 3px; opacity: .9; }
.tl-help:hover { opacity: 1; }
.tooltip .tooltip-inner { max-width: 380px; text-align: left; font-size: 14px; line-height: 1.45; padding: 10px 12px; background: #1c4a63; color: #eaf6fb; box-shadow: 0 3px 10px rgba(0,0,0,.4); }
.tooltip.bs-tooltip-top .tooltip-arrow::before { border-top-color: #1c4a63; }
.tooltip.bs-tooltip-bottom .tooltip-arrow::before { border-bottom-color: #1c4a63; }
.tl-code { font-family: Consolas, monospace; }

.tl-outcome td, .tl-outcome th { vertical-align: middle; }
.tl-filelist a { margin: 0 8px 8px 0; }

.tl-status { min-height: 24px; }
.tl-footer { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1030; padding: 8px 230px 8px 16px; text-align: center; color: rgba(255,255,255,.7); font-size: 13.5px; background: rgba(11,15,20,.92); border-top: 1px solid rgba(255,255,255,.1); backdrop-filter: blur(4px); }
.tl-footer-line { font-style: italic; }
.app-content { padding-bottom: 70px; }
.tl-footer .tl-fb { color: #4f9cff; font-weight: 600; text-decoration: none; }
.tl-footer .tl-fb:hover { color: #8fc1ff; }
.tl-footer-sep { margin: 0 10px; opacity: .5; }
.tl-feedback-btn { position: fixed; right: 18px; bottom: 9px; z-index: 1040; box-shadow: 0 4px 14px rgba(0,0,0,.45); font-weight: 600; }
.tl-welcome p { font-size: 16px; line-height: 1.65; }

/* screenshots in the measurement help window; a missing image shows a placeholder instead of a broken picture */
.tl-shot { margin: 8px 0 16px; }
.tl-shot img { max-width: 100%; border: 1px solid rgba(255,255,255,.15); border-radius: 6px; }
.tl-shot figcaption { font-size: 12.5px; color: rgba(255,255,255,.6); margin-top: 4px; }
.tl-shot.missing img { display: none; }
.tl-shot.missing figcaption::before { content: "Screenshot to come: "; color: #ffa63d; }

/* the welcome page: a hero, short sections, a three-step strip, a callout and four habits */
.tl-welcome-page { max-width: 1100px; margin: 0 auto; }
.tl-hero { text-align: center; padding: 18px 0 26px; }
.tl-hero-logo { width: 132px; height: 132px; filter: drop-shadow(0 6px 18px rgba(95,208,255,.25)); }
.tl-hero-title { font-size: 40px; font-weight: 700; margin: 14px 0 4px; color: #fff; }
.tl-hero-by { font-size: 16px; font-weight: 400; color: rgba(255,255,255,.6); margin-left: 8px; }
.tl-hero-tag { font-size: 18px; color: #9fe8ff; margin: 0; }
.tl-welcome p { font-size: 16px; line-height: 1.65; }
.tl-steps3 .tl-step3 { position: relative; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); border-radius: 10px; padding: 22px 18px 14px; height: 100%; }
.tl-step3-no { position: absolute; top: -12px; left: 14px; width: 28px; height: 28px; border-radius: 50%; background: var(--bs-primary); color: #fff; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.tl-step3-icon { font-size: 28px; color: #5fd0ff; display: block; margin-bottom: 8px; }
.tl-step3 h5 { margin: 0 0 6px; font-size: 18px; }
.tl-step3 p { font-size: 15px; line-height: 1.55; margin: 0; }
.tl-callout { display: flex; gap: 16px; align-items: flex-start; background: #1c4a63; border-left: 6px solid #49b6d6; border-radius: 0 10px 10px 0; padding: 16px 20px; color: #eaf6fb; box-shadow: 0 2px 6px rgba(0,0,0,.25); }
.tl-callout-icon { font-size: 28px; color: #9fe8ff; margin-top: 4px; }
.tl-callout h5 { margin: 0 0 6px; color: #fff; }
.tl-callout p { font-size: 15.5px; line-height: 1.6; }
.tl-habit { display: flex; gap: 14px; align-items: flex-start; font-size: 15px; line-height: 1.55; }
.tl-habit i { font-size: 22px; color: #f59c1a; margin-top: 2px; width: 28px; text-align: center; }

/* the welcome page as one flowing read: a comfortable column, generous line height, the opening and closing paragraphs a touch larger */
.tl-welcome-flow { max-width: 62em; margin: 0 auto 28px; padding: 0 8px; }
.tl-welcome-flow p { font-size: 20px; line-height: 1.7; margin-bottom: 1.2em; color: #e8ebef; }
.tl-welcome-flow p.tl-lead { font-size: 20px; line-height: 1.7; color: #e8ebef; }   /* same as every other paragraph: one font, one size, one colour */
.tl-hero-title { font-size: 34px; }

.tl-welcome-cta { font-size: 18px; color: #c9ced4; margin: 0 auto 14px; max-width: 40em; }

/* the front door: a full-width hero band with a waveform behind a big logo, then a three-item strip without boxes */
.tl-welcome-page { max-width: none; }
.tl-hero { position: relative; overflow: hidden; text-align: center; padding: 44px 16px 40px; margin: -20px -20px 26px; background: radial-gradient(ellipse at 50% 0%, #163a52 0%, #0f1b26 55%, #0b0f14 100%); border-bottom: 1px solid rgba(95,208,255,.18); }
.tl-hero-wave { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .9; pointer-events: none; }
.tl-hero-inner { position: relative; }
.tl-hero-logo { width: 260px; height: 260px; max-width: 70vw; max-height: 70vw; filter: drop-shadow(0 10px 30px rgba(95,208,255,.35)); }
.tl-hero-title { font-size: 54px; font-weight: 800; letter-spacing: .5px; margin: 16px 0 6px; color: #fff; }
.tl-hero-tag { font-size: 22px; color: #9fe8ff; margin: 0 0 22px; }
.tl-hero-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.tl-hero-note { font-size: 15px; color: rgba(255,255,255,.6); margin: 14px 0 0; }
.tl-three { display: flex; justify-content: center; gap: 48px; flex-wrap: wrap; margin: 0 auto 30px; max-width: 62em; padding: 0 8px; }
.tl-three > div { display: flex; flex-direction: column; align-items: center; text-align: center; min-width: 200px; }
.tl-three i { font-size: 34px; color: #5fd0ff; margin-bottom: 8px; }
.tl-three span { font-size: 19px; font-weight: 700; color: #fff; }
.tl-three small { font-size: 15px; color: #aab3bd; }
@media (max-width: 767px) { .tl-hero { margin: -15px -15px 20px; padding: 30px 12px 28px; } .tl-hero-title { font-size: 38px; } .tl-hero-tag { font-size: 18px; } .tl-three { gap: 22px; } }
