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;
}

/* Custom styles for Supply Demand Manager */
.table-hover tbody tr {
    transition: background-color 0.2s ease;
}

.table-hover tbody tr:hover {
    background-color: rgba(0, 120, 212, 0.1);
}

.card {
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    border-radius: 0.5rem;
}

.table-primary {
    background-color: #0078d4;
    color: white;
}

.table-primary th {
    border-color: #0078d4;
}

.badge {
    padding: 0.35em 0.65em;
    font-size: 0.85em;
}

/* Status badge colors */
.bg-success {
    background-color: #4caf50 !important;
}

.bg-secondary {
    background-color: #9e9e9e !important;
}

.bg-danger {
    background-color: #f44336 !important;
}

.bg-warning {
    background-color: #ffc107 !important;
    color: #212529 !important;
}

.bg-info {
    background-color: #17a2b8 !important;
}

.bg-dark {
    background-color: #343a40 !important;
}

/* Clickable rows */
tr[style*="cursor: pointer"]:hover {
    background-color: rgba(0, 120, 212, 0.15) !important;
}

/* Contract detail page */
.card-header.bg-primary {
    background-color: #0078d4 !important;
}

.card-header.bg-success {
    background-color: #4caf50 !important;
}

.table-success {
    background-color: #4caf50;
    color: white;
}

.table-success th {
    border-color: #4caf50;
}

/* Dropdown menu styles */
.dropdown-item {
    font-size: 0.875rem; /* 14px - matches design system */
}

.dropdown-menu {
    font-size: 0.875rem; /* 14px - matches design system */
}

/* Responsive table improvements */
@media (max-width: 768px) {
    .table-responsive {
        font-size: 0.875rem;
    }

    .card-body {
        padding: 1rem;
    }
}