:root {
    --brand: #00847E;
    --brand-navy: #0A2540;
    --brand-light: #E6F4F3;
    --brand-dark: #A1EDED;
}

html, body {
    height: 100%;
}

body {
    background: #f8f9fa;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

html, body {
    height: 100%;
}

main {
    flex: 1 0 auto;
}

.day-btn {
  width: 38px;
  height: 38px;
  border: none;
  border-radius: 6px;
  background: var(--brand);
  color: #fff;
  cursor: pointer;
}

.day-btn:hover { background: var(--brand-dark); }
.day-btn.selected { background: #198754; }
.day-btn:disabled { background: #e9ecef; color: #adb5bd; cursor: default; }

#calendar table { width: 100%; border-collapse: collapse; }
#calendar th, #calendar td { text-align: center; padding: 4px; }
#calendar th { font-size: 0.8rem; color: #6c757d; font-weight: 500; }



.time-btn {
  border: 1px solid var(--brand);
  background: #fff;
  color: var(--brand);
  border-radius: 6px;
  padding: 6px 10px;
  margin: 3px;
  cursor: pointer;
}
.time-btn:hover, .time-btn.selected { background: var(--brand); color: #fff; }

.btn-primary {
    background-color: var(--brand);
    border-color: var(--brand);
}

 .btn-primary:hover, .btn-primary:focus {
        background-color: var(--brand-dark);
        border-color: var(--brand-dark);
  }

.fw-semibold { font-weight: 600; font-size: 0.8rem; }
.right { position:absolute ;right:10px; }

.site-footer {
    background: var(--brand);
    color: #fff;
    flex-shrink: 0;
}

.site-footer a {
        color: #fff;
}

.site-footer a:hover {
            color: var(--brand-light);
}

.navbar {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.brand-logo {
    height: 26px;
}

.navbar-brand {
    order: 1;
}

.lang-switch {
    order: 2;
}

.site-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
    flex: 1 1 100%;
    text-align: center;
    order: 3;
    margin-top: 8px;
}

#phone::placeholder {
    color: #adb5bd;
    opacity: 1;
}

/* Zmensenie PRE MOBIL (<576px) */
@media (max-width: 575px) {

    .brand-logo {
        height: 20px;
        max-width: 160px;
        width: auto;
    }

    .navbar-brand {
        flex-shrink: 0;
    }

    .lang-switch {
        flex-shrink: 0;
    }

    .container {
        padding-left: 20px;
        padding-right: 20px;
    }


    .day-btn {
        width: 30px;
        height: 30px;
        font-size: 0.8rem;
        border-radius: 4px;
    }

    #calendar table {
        table-layout: fixed;
    }

    #calendar th,
    #calendar td {
        padding: 2px;
    }

    #calendar th {
        font-size: 0.7rem;
    }

    .time-btn {
        padding: 4px 8px;
        margin: 2px;
        font-size: 0.85rem;
    }
}

/* Desktop (>=576px) - hlavicka a povodne vacsie rozmery ostavaju */
@media (min-width: 576px) {
    .brand-logo {
        height: 28px;
    }

    .site-title {
        flex: 1 1 auto;
        text-align: right;
        order: 2;
        margin-top: 0;
        padding-right: 12px;
    }

    .lang-switch {
        order: 3;
    }
}
