/* Equiprent POS - Light UI Layer on top of Bootstrap */

/* Global */

body {
    background: #f3f4f6; /* gray-100 */
    color: #111827;      /* gray-900 */
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.main-shell {
    min-height: calc(100vh - 56px);
    padding: 1rem 0 2.5rem;
}

.main-shell-bg {
   }

/* Navbar */

.navbar {
    border-bottom: 1px solid rgba(209, 213, 219, 0.9);
}

.navbar-brand .badge {
    font-weight: 700;
}

/* Cards */

.card {
    border-radius: 1rem;
    border: 1px solid rgba(209, 213, 219, 0.9); /* gray-300 */
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
}

.card-header {
    border-bottom-color: rgba(229, 231, 235, 0.9);
    background: #e6e6e6;
    color: #111827;
    font-weight: 600;
}

/* Tables */

.table thead th {
    border-bottom-color: rgba(209, 213, 219, 0.9);
    text-transform: uppercase;
    letter-spacing: .06em;
    font-size: 0.75rem;
    color: #6b7280; /* gray-500 */
}

.table-striped > tbody > tr:nth-of-type(odd) > * {
    background-color: #f9fafb;
}

/* Dashboard tiles */

.pos-tile {
    border-radius: 1.1rem;
    padding: 1.25rem 1.4rem;
    background: #ffffff;
    border: 1px solid rgba(191, 219, 254, 0.9); /* blue-200 */
    transition: transform 0.12s ease-out, box-shadow 0.12s ease-out, border-color 0.12s ease-out;
    cursor: pointer;
}

.pos-tile:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 40px rgba(148, 163, 184, 0.4);
    border-color: rgba(59,130,246,0.9); /* blue-500 */
    text-decoration: none;
}

.pos-tile h2 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.pos-tile p {
    font-size: 0.9rem;
    color: #6b7280; /* gray-500 */
}

/* Action strip */

.pos-action-strip {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    align-items: center;
}

.pos-action-strip .btn {
        font-weight: 300;
}

.pos-action-strip .badge {
    font-size: 0.75rem;
}

/* Forms */

.form-control,
.form-select {
    border-radius: 0.75rem;
}

.form-control:focus,
.form-select:focus {
    border-color: rgba(59,130,246,0.7);
    box-shadow: 0 0 0 1px rgba(59,130,246,0.3);
}

.form-label {
    font-weight: 500;
}

/* Buttons */

.btn-primary {
    background: linear-gradient(to right, #2563eb, #3b82f6);
    border: none;
}

.btn-primary:hover {
    background: linear-gradient(to right, #1d4ed8, #2563eb);
}

/* Status & badges */

.badge {
    border-radius: 999px;
    padding: .35em .7em;
}

.status-pill {
    border-radius: 999px;
    padding: .25em .7em;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.status-pill-reserved {
    background-color: rgba(59, 130, 246, 0.12);
    color: #1d4ed8;
}

.status-pill-out {
    background-color: rgba(234, 179, 8, 0.15);
    color: #b45309;
}

.status-pill-closed {
    background-color: rgba(22, 163, 74, 0.15);
    color: #15803d;
}

.status-pill-cancelled {
    background-color: rgba(239, 68, 68, 0.15);
    color: #b91c1c;
}

/* Login */

.auth-wrapper {
    min-height: calc(100vh - 56px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-card {
    max-width: 420px;
    width: 100%;
}

/* Navbar role badge */

.user-role-pill {
    border-radius: 999px;
    padding: 0.15rem 0.6rem;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: .08em;
    background-color: #eff6ff; /* blue-50 */
    border: 1px solid rgba(191,219,254,0.9);
    color: #1d4ed8;
}

/* === Dashboard polish === */



/* Today Snapshot metric strip */

.dashboard-metrics .metric-block {
    background: #f9fafb;
    border-radius: 0.9rem;
    padding: 0.85rem 0.75rem;
    border: 1px solid rgba(229, 231, 235, 0.9); /* gray-200 */
}

.dashboard-metrics .metric-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #6b7280; /* gray-500 */
    margin-bottom: 0.15rem;
}

.dashboard-metrics .metric-value {
    font-size: 1.8rem;
    font-weight: 600;
    line-height: 1.1;
    margin-bottom: 0.1rem;
}

.dashboard-metrics .metric-sub {
    font-size: 0.8rem;
}

/* Calendar columns */

.card .row.g-3 {
    align-items: stretch;
}

.card .border.rounded-3.p-2.h-100 {
    background-color: #f9fafb;
}

/* Small alignment helpers */

.main-shell .row.g-3 {
    align-items: stretch;
}

