@import url("freelancer-v2.css?v=20260707-2");

.overtime-pro-page {
  background:
    radial-gradient(circle at 88% 4%, rgba(25,184,122,.15), transparent 28rem),
    radial-gradient(circle at 8% 32%, rgba(36,95,229,.11), transparent 30rem),
    linear-gradient(180deg,#f8fbff 0,#eef7fb 56rem,#f8fbff 100%);
}

.overtime-pro-page .header-cta,
.overtime-pro-page .btn-primary {
  background-color: #0b3062;
  background-image: linear-gradient(120deg,#071b35,#245fe5 55%,#18b982);
}

.overtime-pro-page .skip-link { color: #fff; background: #071b35; }
.overtime-pro-page .skip-link:focus { outline: 3px solid #19b87a; }
.overtime-pro-page .breadcrumb span { color: #5d738a; }
.overtime-pro-page .hero-layout {
  display: grid;
  grid-template-columns: minmax(0,.95fr) minmax(390px,.85fr);
  gap: 46px;
  align-items: center;
}
.overtime-pro-page .rate-hero { padding: 36px 0 28px; }
.overtime-pro-page .rate-hero h1 {
  max-width: 820px;
  font-size: clamp(2.85rem,4.7vw,4.35rem);
  line-height: .96;
}
.overtime-pro-page .rate-hero .lead {
  margin-top: 18px;
  line-height: 1.58;
}
.overtime-pro-page .rate-preview {
  min-height: 420px;
  background-color: #071b35;
  background-image: linear-gradient(155deg,#071b35 0,#103765 62%,#0c7b65 130%);
}

.overtime-preview::before {
  content: "";
  position: absolute;
  inset: -90px -120px auto auto;
  width: 270px;
  height: 270px;
  border-radius: 999px;
  background: rgba(30,216,139,.17);
}

.overtime-preview-head,
.overtime-bars,
.overtime-clock,
.overtime-preview-metrics { position: relative; z-index: 1; }

.overtime-preview-head {
  display: grid;
  gap: 12px;
  padding: 24px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 24px;
  background: rgba(255,255,255,.08);
}

.overtime-preview-head span,
.overtime-bars span,
.overtime-preview-metrics span {
  color: #bdd2e8;
  font-size: .78rem;
  font-weight: 900;
}

.overtime-preview-head b {
  color: #fff;
  font-size: clamp(3.1rem,5.5vw,5rem);
  line-height: .92;
  letter-spacing: -.07em;
  overflow-wrap: anywhere;
}

.overtime-preview-head em {
  justify-self: start;
  padding: 8px 12px;
  border-radius: 999px;
  color: #dffdf2;
  background: rgba(25,184,122,.20);
  font-style: normal;
  font-size: .78rem;
  font-weight: 950;
}

.overtime-bars {
  display: grid;
  gap: 13px;
  margin-top: 18px;
  padding: 18px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 22px;
  background: rgba(255,255,255,.07);
}

.overtime-bars div {
  display: grid;
  grid-template-columns: 90px 1fr 95px;
  align-items: center;
  gap: 12px;
}

.overtime-bars i,
.overtime-result-bars i {
  height: 12px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255,255,255,.15);
}

.overtime-bars b,
.overtime-result-bars b {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg,#1dd88b,#55b7ff,#eebd43);
}

.overtime-bars .base { width: 80%; }
.overtime-bars .bonus { width: 25%; }
.overtime-bars strong { color: #fff; font-weight: 950; text-align: right; }

.overtime-clock {
  display: grid;
  grid-template-columns: 58px 1fr 48px 58px;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  padding: 18px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 22px;
  background: rgba(255,255,255,.07);
}

.overtime-clock span,
.overtime-clock strong { color: #cfe0ef; font-size: .72rem; font-weight: 950; }
.overtime-clock i { height: 16px; border-radius: 999px; background: linear-gradient(90deg,#4773ad 0 58%,#19b87a 58% 100%); }
.overtime-clock b { height: 32px; border-radius: 999px; background: rgba(238,189,67,.82); }

.overtime-preview-metrics {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 10px;
  margin-top: 18px;
}

.overtime-preview-metrics div {
  min-width: 0;
  padding: 16px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 18px;
  background: rgba(255,255,255,.08);
}

.overtime-preview-metrics strong {
  display: block;
  margin-top: 7px;
  color: #fff;
  font-size: 1rem;
  line-height: 1.25;
}

.overtime-pro-page .rate-input select {
  width: 100%;
  min-width: 0;
  min-height: 51px;
  padding: 0 14px;
  border: 0;
  outline: 0;
  color: #071b35;
  background: transparent;
  font-weight: 850;
}

.overtime-pro-page .hidden { display: none !important; }
.overtime-pro-page .field-stack label > small,
.overtime-pro-page .privacy-note { color: #4f6680; }

.overtime-presets {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 10px;
  margin: 22px 0 18px;
}

.overtime-presets button {
  min-height: 48px;
  border: 1px solid #cbdced;
  border-radius: 999px;
  color: #071b35;
  background: #fff;
  font-weight: 900;
  cursor: pointer;
}

.overtime-presets button:hover,
.overtime-presets button[aria-pressed="true"] { border-color: #8db8dd; background: #edf6ff; }

.overtime-checks { display: grid; gap: 10px; margin-top: 12px; }
.overtime-checks label {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 12px 14px;
  border: 1px solid #d6e3f0;
  border-radius: 15px;
  color: #17334f;
  background: #fff;
  font-size: .84rem;
  font-weight: 850;
}

.overtime-checks input { width: 18px; height: 18px; accent-color: #19b87a; }

.overtime-pro-page .rate-result {
  background-color: #071b35;
  background-image: linear-gradient(160deg,#071b35,#0c2c53 72%,#0d3f5e);
}

.overtime-result .badge {
  flex: 0 0 auto;
  max-width: 156px;
  padding: 8px 10px;
  border-radius: 999px;
  color: #cffff0;
  background: rgba(25,184,122,.20);
  font-size: .68rem;
  font-weight: 950;
  line-height: 1.2;
  text-align: center;
}

.overtime-result .badge.warning { color: #fff4cf; background: rgba(238,189,67,.20); }
.overtime-result .rate-answer p { min-height: auto; }
.overtime-result-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
.overtime-result-grid div { min-height: 90px; }
.overtime-result-grid span { min-height: auto; }
.overtime-result-grid strong { overflow-wrap: anywhere; font-size: 1.04rem; line-height: 1.2; }

.overtime-result-bars {
  display: grid;
  gap: 11px;
  margin-top: 16px;
  padding: 16px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 18px;
  background: rgba(255,255,255,.08);
}

.overtime-result-bars div {
  display: grid;
  grid-template-columns: 74px 1fr 58px;
  align-items: center;
  gap: 10px;
}

.overtime-result-bars span,
.overtime-result-bars strong { color: #dbeaf7; font-size: .78rem; font-weight: 900; }

.overtime-mini-facts {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 9px;
  margin-top: 14px;
}

.overtime-mini-facts span {
  display: block;
  padding: 11px 12px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 14px;
  color: #dbeaf7;
  background: rgba(255,255,255,.08);
  font-size: .78rem;
  font-weight: 850;
}

.overtime-mini-facts strong { display: block; margin-top: 5px; color: #fff; }
.overtime-result .rate-interpretation strong,
.overtime-result .rate-interpretation h3 { color: #fff; }

.overtime-detail-layout {
  display: grid;
  grid-template-columns: 1.35fr repeat(3,minmax(0,.88fr));
  gap: 13px;
  margin-top: 24px;
}

.overtime-detail-layout article {
  min-height: 156px;
  padding: 20px;
  border: 1px solid #d3e1ee;
  border-radius: 19px;
  background: #f8fbfe;
}

.overtime-detail-layout span {
  display: inline-flex;
  margin-bottom: 11px;
  padding: 6px 8px;
  border-radius: 999px;
  color: #0d7a64;
  background: rgba(25,184,122,.12);
  font-size: .68rem;
  font-weight: 950;
  text-transform: uppercase;
}

.overtime-detail-layout strong { display: block; color: #071b35; font-size: 1.05rem; line-height: 1.3; }
.overtime-detail-layout p { margin: 9px 0 0; color: #536d86; font-size: .84rem; line-height: 1.6; }

.overtime-pro-page .scenario-table { margin-top: 20px; }
.overtime-pro-page .scenario-table table { min-width: 760px; }
.overtime-pro-page .scenario-table td:nth-child(2) { font-weight: 900; color: #071b35; }

.overtime-pro-page .seo-dark { background-color: #071b35; background-image: linear-gradient(140deg,#071b35,#10375f); }
.overtime-pro-page .seo-card,
.overtime-pro-page .seo-dark,
.overtime-pro-page .related-tools,
.overtime-pro-page .scenario-section { scroll-margin-top: 86px; }

.overtime-pro-page .checklist div,
.overtime-pro-page .mistake-grid article { min-height: 146px; }

.overtime-pro-page .related-grid a {
  display: flex;
  flex-direction: column;
  min-height: 145px;
  padding: 20px;
  border: 1px solid #cfdeed;
  border-radius: 18px;
  color: #071b35;
  background: radial-gradient(circle at 94% 18%, rgba(25,184,122,.10), transparent 7rem), #fff;
  text-decoration: none;
  transition: transform .2s,border-color .2s,box-shadow .2s;
}

.overtime-pro-page .related-grid a::before {
  content: "→";
  align-self: flex-end;
  color: #18b982;
  font-weight: 950;
}

.overtime-pro-page .related-grid a span {
  display: inline-grid;
  width: 38px;
  height: 38px;
  margin-top: 4px;
  place-items: center;
  border-radius: 12px;
  color: #fff;
  background-color: #071b35;
  background-image: linear-gradient(135deg,#071b35,#18b982);
  font-size: .78rem;
  font-weight: 950;
}

.overtime-pro-page .related-grid a strong { display: block; margin-top: 14px; font-size: 1rem; line-height: 1.25; }
.overtime-pro-page .related-grid a small { display: block; margin-top: 8px; color: #526b86; line-height: 1.45; font-weight: 750; }
.overtime-pro-page .related-grid a:hover { transform: translateY(-3px); border-color: #8db8dd; box-shadow: 0 13px 25px rgba(15,55,94,.1); }

.overtime-pro-page .footer { margin-top: 72px; }
.overtime-pro-page .footer-links { gap: 11px; }
.overtime-pro-page .footer-links a { display: block; line-height: 1.35; }

@media (max-width: 1080px) {
  .overtime-pro-page .hero-layout { grid-template-columns: 1fr .75fr; gap: 24px; }
  .overtime-presets { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .overtime-detail-layout { grid-template-columns: 1fr 1fr; }
  .overtime-preview-metrics { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .overtime-pro-page .hero-layout { display: block; }
  .overtime-pro-page .rate-hero { padding: 14px 0 10px; }
  .overtime-pro-page .breadcrumb { display: none; }
  .overtime-pro-page .rate-hero h1 {
    max-width: 390px;
    font-size: clamp(2.05rem, 10.2vw, 2.85rem);
    line-height: 1;
  }
  .overtime-pro-page .rate-hero .lead { margin-top: 10px; font-size: .88rem; line-height: 1.45; }
  .overtime-pro-page .hero-actions,
  .overtime-pro-page .hero-trust,
  .overtime-pro-page .rate-preview { display: none; }
  .overtime-pro-page .rate-form,
  .overtime-pro-page .rate-result { padding: 22px 18px; }
  .overtime-pro-page .form-heading h2,
  .overtime-pro-page .result-heading h2 { font-size: 1.52rem; }
  .overtime-pro-page .form-intro { margin: 10px 0 14px; font-size: .84rem; line-height: 1.45; }
  .overtime-presets,
  .overtime-result-grid,
  .overtime-mini-facts,
  .overtime-detail-layout { grid-template-columns: 1fr; }
  .overtime-result .badge { display: none; }
  .overtime-result-grid div,
  .overtime-pro-page .checklist div,
  .overtime-pro-page .mistake-grid article,
  .overtime-detail-layout article { min-height: auto; }
  .overtime-pro-page .scenario-table { max-width: 100%; -webkit-overflow-scrolling: touch; }
  .overtime-pro-page .scenario-table::after {
    content: "posuňte tabulku do strany";
    display: block;
    padding: 8px 12px 10px;
    color: #52708d;
    background: #f5fbff;
    font-size: .72rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .04em;
  }
}

/* Keep decorative preview pseudo-elements inside the card. */
.overtime-pro-page .rate-preview { overflow: hidden; }
