/* Shared application theme: the same palette as the public homepage. */
:root {
  --galpet-bg: #f7f8f2;
  --galpet-surface: #fff;
  --galpet-border: #dce4de;
  --galpet-text: #142e39;
  --galpet-muted: #53666c;
  --galpet-primary: #142e39;
  --galpet-primary-soft: #eaf3d8;
  --galpet-shadow: 0 12px 36px #1935300a;
  --bs-primary-rgb: 20, 46, 57;
  --bs-link-color: #285967;
  --bs-link-hover-color: #142e39;
}
body.galpet-app-shell { font-family: Inter, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; }
.galpet-brand-mark { background: #142e39; color: #dbf78b; box-shadow: none; }
.galpet-desktop-nav, .galpet-mobile-topbar { background: #f7f8f2; box-shadow: none; }
.galpet-content { padding-top: 2rem; }
.galpet-main h1, .galpet-main h2, .galpet-main h3 { color: var(--galpet-text); letter-spacing: -.035em; }
.galpet-main h1 { font-weight: 650; }
.galpet-main .btn-primary, .galpet-app-shell .btn-primary {
  --bs-btn-bg: #142e39; --bs-btn-border-color: #142e39;
  --bs-btn-hover-bg: #295061; --bs-btn-hover-border-color: #295061;
  --bs-btn-active-bg: #295061; --bs-btn-active-border-color: #295061;
  --bs-btn-disabled-bg: #53666c; --bs-btn-disabled-border-color: #53666c;
}
.galpet-app-shell .btn-outline-primary { --bs-btn-color: #142e39; --bs-btn-border-color: #81968b; --bs-btn-hover-bg: #142e39; --bs-btn-hover-border-color: #142e39; --bs-btn-active-bg: #142e39; --bs-btn-active-border-color: #142e39; }
.galpet-main .form-control, .galpet-main .form-select, .galpet-main .input-group-text { border-color: #ced8d0; }
.galpet-app-shell .form-control:focus, .galpet-app-shell .form-select:focus { border-color: #668b70; box-shadow: 0 0 0 .2rem #8cb35c30; }
.galpet-app-shell .form-check-input:checked { background-color: #285967; border-color: #285967; }
.galpet-app-shell :focus-visible { outline: 3px solid #25799b; outline-offset: 3px; }
.galpet-main .table { --bs-table-color: #142e39; --bs-table-border-color: #e1e7df; --bs-table-striped-bg: #f7f8f2; --bs-table-hover-bg: #f0f4e8; }
.galpet-main .table > thead { background: #eef2e8; color: #53666c; }
.galpet-main .card, .galpet-module-card { box-shadow: var(--galpet-shadow); border-color: var(--galpet-border); }
.galpet-module-card:hover { border-color: #92aa77; box-shadow: 0 14px 30px #1935300e; }
.galpet-module-icon { background: #eaf3d8; color: #294737; box-shadow: none; }
.galpet-module-open { color: #285967; }
.galpet-dashboard-hero { padding: 1.75rem; border: 1px solid #dce4de; border-radius: 18px; background: #edf2e5; align-items: center; }
.galpet-dashboard-hero h1 { font-size: clamp(1.8rem, 3vw, 2.6rem); }
.galpet-dashboard-hero p { color: #53666c; margin-bottom: 0; }
.galpet-menu-company, .galpet-menu-button { background: #edf2e5; }
.galpet-mobile-company.bg-success, .galpet-company-badge.bg-success { background: #eaf3d8!important; color: #294737!important; border: 1px solid #c3d5ac; }
.galpet-bottom-nav { grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); }
.galpet-bottom-nav a.active { background: #eaf3d8; border-radius: 10px; }
.galpet-footer { background: transparent; border-top: 1px solid #dce4de; color: #53666c; }
.module-price { font-size: 2.2rem; font-weight: 650; letter-spacing: -.05em; color: #142e39; }
.module-price small { font-size: .9rem; font-weight: 400; letter-spacing: normal; }
.without-warehouse .galpet-main a[href^="/Sklad"], .without-warehouse .galpet-main a[href^="/Dodaci"] { display: none; }
.warehouse-readonly .galpet-main form[method="post"] button,
.warehouse-readonly .galpet-main a[href^="/SkladPolozkaNova"],
.warehouse-readonly .galpet-main a[href^="/SkladPolozkaUprava"],
.warehouse-readonly .galpet-main a[href^="/SkladNovy"],
.warehouse-readonly .galpet-main a[href^="/DodaciListNovy"] { display: none; }
@media(max-width: 767px) { .galpet-content { padding-top: 1rem; } .galpet-dashboard-hero { padding: 1.25rem; align-items: start; flex-direction: column; } }
@media(prefers-reduced-motion:reduce) { .galpet-app-shell *, .galpet-app-shell *::before, .galpet-app-shell *::after { transition: none!important; animation: none!important; } }
