﻿html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}
/* ===== Стартовый экран (Index) ===== */
.start-hero {
    max-width: 720px;
    margin: 0 auto;
    padding: 56px 24px 40px;
    text-align: center;
}

.start-logo {
    line-height: 0;
    margin-bottom: 20px;
}

.start-title {
    font-size: 2.25rem;
    font-weight: 600;
    letter-spacing: -.01em;
    color: #17201f;
    margin: 0;
}

.start-subtitle {
    color: #6a7876;
    font-size: 1.05rem;
    margin: 8px 0 32px;
}

.start-btn {
    display: inline-block;
    padding: 14px 42px;
    font-size: 1.05rem;
    font-weight: 500;
    color: #fff;
    background: #0e7c7b;
    border: 1px solid #0a5f5e;
    border-radius: 4px;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(0,0,0,.18);
    transition: background .15s ease, transform .05s ease;
}

.start-btn:hover,
.start-btn:focus {
    background: #0a5f5e;
    color: #fff;
    text-decoration: none;
}

.start-btn:active {
    transform: translateY(1px);
}

/* Ряд кнопок: основная и примеры */
.start-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.start-btn.ghost {
    padding: 14px 26px;
    color: #0e7c7b;
    background: #fff;
    border-color: #b4bfbd;
    box-shadow: none;
}

.start-btn.ghost:hover,
.start-btn.ghost:focus {
    color: #0a5f5e;
    background: #eef4f3;
    border-color: #0e7c7b;
}

.start-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin: 40px 0 24px;
}

.start-card {
    flex: 1 1 180px;
    max-width: 220px;
    padding: 14px 16px;
    background: #f4f7f6;
    border: 1px solid #d3dbda;
    border-radius: 4px;
    text-align: left;
}

.start-card-label {
    display: block;
    font-size: .78rem;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: #6a7876;
}

.start-card-value {
    display: block;
    margin-top: 4px;
    font-size: .98rem;
    color: #17201f;
}

.start-hint {
    color: #6a7876;
    font-size: .9rem;
    margin: 0;
}

/* Заголовок стартового экрана — одним цветом */
.start-title span {
    color: inherit;
}
