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;
}
/* Dark theme � hover na redovima tablice */
.table-hover tbody tr:hover {
    background-color: rgba(255, 255, 255, 0.05);
}
/* Primary buttons � dark theme */
.btn-primary {
    background-color: #3b82f6; /* �ivlja plava */
    border-color: #3b82f6;
}

    .btn-primary:hover {
        background-color: #2563eb;
        border-color: #2563eb;
    }

    .btn-primary:focus {
        box-shadow: 0 0 0 .2rem rgba(59, 130, 246, 0.4);
    }
.link-clean {
    text-decoration: none;
    color: inherit;
}

    .link-clean:hover {
        color: #0d6efd;
    }
.table-link {
    text-decoration: none;
    color: inherit;
}

    .table-link:hover {
        color: #0d6efd;
    }

.amount-in {
    color: #198754;
    font-weight: 600;
}

.amount-out {
    color: #dc3545;
    font-weight: 600;
}
.btn-section {
    background-color: #343a40;
    border: 1px solid #495057;
    color: #f8f9fa;
    font-weight: 500;
}

    .btn-section:hover {
        background-color: #495057;
        border-color: #6c757d;
        color: #ffffff;
    }

.cursor-pointer:hover {
    cursor: pointer;
    background-color: rgba(255,255,255,0.04);
}

/* V14.0/V15.0: critical admin header guard. Keep here (global CSS) so the logo is constrained even if CSS isolation is stale. */
.admin-shell-header,
.admin-shell-header * {
    box-sizing: border-box;
}

.admin-shell-header {
    max-width: 100%;
    overflow-x: clip;
}

.admin-shell-header .navbar,
.admin-shell-header .container-fluid {
    min-width: 0;
}

.admin-shell-header .admin-logo {
    display: block;
    width: auto !important;
    height: 38px !important;
    max-width: 110px !important;
    max-height: 38px !important;
    object-fit: contain;
}

.admin-shell-header .admin-logo-link {
    flex: 0 0 auto;
    width: auto;
    max-width: 110px;
    overflow: hidden;
}

.admin-shell-header .admin-main-nav .nav-link,
.admin-shell-header .admin-company-pill,
.admin-shell-header .admin-language-select {
    white-space: nowrap;
}

@media (max-width: 575.98px) {
    .admin-shell-header .admin-logo {
        height: 34px !important;
        max-width: 98px !important;
    }

    .admin-shell-header .admin-logo-link {
        max-width: 98px;
    }
}
