/* Base Styles */
body {
    background: #f4f6fb;
    color: #2b2d3a;
    font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
    font-size: 1rem;
}

/* Navbar */
.navbar {
    background: #222a35;
    box-shadow: 0 2px 8px rgba(40,44,63,0.08);
}
.navbar-brand img {
    margin-right: 10px;
}
.navbar-nav .nav-link {
    font-size: 1.08rem;
    color: #f5f6fa !important;
    font-weight: 500;
    margin-right: 10px;
    letter-spacing: .01em;
    transition: color 0.2s;
}
.navbar-nav .nav-link:hover, .navbar-nav .nav-link.active {
    color: #67a5fb !important;
}

/* Headings */
h1, h2, h3, h4, h5 {
    color: #21243a;
    font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
    font-weight: 600;
}
h1 { font-size: 2.2rem; }
h2 { font-size: 1.5rem; margin-top: 2rem; }
h3, h4 { font-size: 1.12rem; }

/* Cards */
.card {
    border: 1px solid #ebecf1;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 1.5px 6px rgba(42, 46, 60, 0.07);
    margin-bottom: 28px;
    padding: 0.75rem 1.2rem;
}

/* Tables */
.table {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
}
.table th, .table td {
    vertical-align: middle;
    font-size: 0.98rem;
}
.table-striped tbody tr:nth-of-type(odd) {
    background-color: #f7f8fc;
}
.table-hover tbody tr:hover {
    background-color: #f1f6fb;
}
.table thead th {
    background: #222a35;
    color: #fff;
    border: none;
    letter-spacing: 0.04em;
    font-size: 1.02rem;
}

/* Buttons */
.btn {
    border-radius: 6px;
    font-weight: 500;
    font-size: 1rem;
    padding: 7px 18px;
    box-shadow: 0 1px 4px rgba(67, 90, 111, 0.04);
    border: none;
    margin: 0 2px;
    transition: background 0.18s, color 0.18s, box-shadow 0.15s;
}
.btn:active, .btn:focus {
    outline: none;
    box-shadow: 0 2px 8px rgba(67, 90, 111, 0.07);
}
.btn-primary { background: #2563eb; color: #fff; }
.btn-primary:hover, .btn-primary:focus { background: #1742a3; }
.btn-success { background: #18a058; color: #fff; }
.btn-success:hover, .btn-success:focus { background: #168d4e; }
.btn-info { background: #2094fa; color: #fff; }
.btn-info:hover, .btn-info:focus { background: #146eb8; }
.btn-warning { background: #fbbf24; color: #fff; }
.btn-warning:hover, .btn-warning:focus { background: #b98a19; }
.btn-danger { background: #e23d3d; color: #fff; }
.btn-danger:hover, .btn-danger:focus { background: #a82323; }
.btn-secondary { background: #64748b; color: #fff; }
.btn-secondary:hover, .btn-secondary:focus { background: #475569; }
.btn-light { background: #f7f8fa; color: #23272f; border: 1px solid #e5e7eb;}
.btn-dark { background: #2d3748; color: #fff; }
.btn-dark:hover, .btn-dark:focus { background: #23272f; }

.btn-sm { font-size: 0.94rem; padding: 5px 10px; }

/* Forms */
.form-control, .form-select {
    border-radius: 5px;
    border: 1px solid #d5dae3;
    padding: 10px 14px;
    background: #fafbfc;
    font-size: 1rem;
}
.form-control:focus, .form-select:focus {
    border-color: #2563eb;
    background: #fff;
    box-shadow: 0 0 0 2px #2563eb22;
}

/* Modal */
.modal-content {
    border-radius: 12px;
    box-shadow: 0 3px 16px rgba(42, 46, 60, 0.11);
}

/* Utilities */
.mt-4 { margin-top: 2rem !important; }
.mb-3 { margin-bottom: 1.2rem !important; }
.table-sm th, .table-sm td { padding: 0.6rem !important; }

/* Alerts & messages */
.alert {
    border-radius: 5px;
    font-size: 1.01rem;
}

/* List group, status */
.list-group-item-warning {
    background: #fffbe8;
}
.table-danger {
    background-color: #f8d7da;
}

@media (max-width: 576px) {
    .navbar-text { font-size: 0.98rem; }
    .card { padding: 0.6rem; }
    .table th, .table td { font-size: 0.93rem; }
}
/* ACTION BUTTONS ROW */
.actions-cell {
    text-align: right;
    vertical-align: middle;
    min-width: 260px; /* prevents wrapping too early */
}

.actions-cell .action-buttons {
    display: inline-flex;
    justify-content: flex-end;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.actions-cell .btn {
    margin: 2px 0;
}

.actions-cell .btn-danger,
.actions-cell .btn-danger:focus,
.actions-cell .btn-danger:active {
    background-color: #dc3545;
    border-color: #dc3545;
    color: #fff;
}

