/* Owl app styles — clean, Google-like UI */

body {
    background-color: #fff;
    color: #202124;
}

/* Navbar */
.navbar {
    padding: 0.5rem 0;
}

.navbar-brand {
    font-weight: 700;
    color: #202124 !important;
    font-size: 1.3rem;
}

.navbar .nav-link {
    color: #5f6368 !important;
    font-weight: 500;
    font-size: 0.9rem;
    padding: 0.5rem 0.85rem !important;
    border-radius: 6px;
    transition: color 0.15s, background-color 0.15s;
}

.navbar .nav-link:hover,
.navbar .nav-link:focus {
    color: #1a73e8 !important;
    background-color: #f1f3f4;
}

.navbar .nav-link.active {
    color: #1a73e8 !important;
}

.navbar .dropdown-toggle::after {
    opacity: 0.5;
}

/* Pill search bar */
.owl-search-input {
    border-radius: 24px !important;
    border: 1px solid #dfe1e5 !important;
    padding: 0.6rem 1.2rem !important;
    box-shadow: none !important;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.owl-search-input:focus {
    border-color: #1a73e8 !important;
    box-shadow: 0 0 0 3px rgba(26, 115, 232, 0.15) !important;
}

/* Cards */
.card {
    border: 1px solid #e8eaed;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    background: #fff;
}

.card-header {
    background-color: #f8f9fa;
    border-bottom: 1px solid #e8eaed;
}

/* Badges — softer, pill-shaped */
.badge {
    border-radius: 12px;
    font-weight: 500;
    padding: 0.3em 0.7em;
}

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

.badge.bg-warning {
    background-color: #fbbc04 !important;
    color: #202124 !important;
}

.badge.bg-success {
    background-color: #34a853 !important;
}

.badge.bg-info {
    background-color: #4285f4 !important;
    color: #fff !important;
}

.badge.bg-secondary {
    background-color: #e8eaed !important;
    color: #5f6368 !important;
}

/* Buttons */
.btn-primary {
    background-color: #1a73e8;
    border-color: #1a73e8;
    border-radius: 20px;
    padding: 0.375rem 1.2rem;
}

.btn-primary:hover {
    background-color: #1765cc;
    border-color: #1765cc;
}

.btn-outline-primary {
    color: #1a73e8;
    border-color: #1a73e8;
    border-radius: 20px;
}

.btn-outline-primary:hover {
    background-color: #1a73e8;
    border-color: #1a73e8;
}

.btn-outline-secondary {
    border-radius: 20px;
}

.btn-outline-danger {
    border-radius: 20px;
}

.btn-success {
    border-radius: 20px;
}

.btn-sm {
    border-radius: 16px;
}

/* Tables */
.table {
    border-color: #e8eaed;
}

.table thead th {
    border-bottom: 2px solid #e8eaed;
    color: #5f6368;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.table td {
    border-color: #f1f3f4;
    vertical-align: middle;
}

.table-hover tbody tr:hover {
    background-color: #f8f9fa;
}

/* Impersonation banner */
.owl-impersonation-banner {
    background-color: #fff3cd;
}

/* Alerts */
.alert-success {
    background-color: #e6f4ea;
    border-color: #ceead6;
    color: #137333;
}

.alert-info {
    background-color: #e8f0fe;
    border-color: #d2e3fc;
    color: #1967d2;
}

/* Dropdown menus */
.dropdown-menu {
    border: 1px solid #e8eaed;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.dropdown-item {
    border-radius: 4px;
    margin: 2px 4px;
    padding: 0.4rem 0.8rem;
}

.dropdown-item:hover {
    background-color: #f1f3f4;
}

/* Pagination */
.page-link {
    border-radius: 6px !important;
    margin: 0 2px;
    color: #1a73e8;
    border: 1px solid #e8eaed;
}

.page-item.active .page-link {
    background-color: #1a73e8;
    border-color: #1a73e8;
}

/* Suggest dropdown */
#suggest-dropdown .list-group-item {
    border-color: #e8eaed;
}

#suggest-dropdown .list-group-item-action:hover {
    background-color: #f1f3f4;
}

/* Form controls */
.form-control:focus {
    border-color: #1a73e8;
    box-shadow: 0 0 0 3px rgba(26, 115, 232, 0.15);
}

/* Misc spacing and polish */
pre {
    background-color: #f8f9fa;
}

code {
    color: #d93025;
}

.font-monospace {
    font-size: 0.875em;
}
