/* Simple modern admin styles - tables + small UI tweaks */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700&display=swap');

:root{--muted:#6b7280;--accent:#0f172a}
body{font-family:Inter,system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;background:#f8fafc;color:var(--accent)}
.admin-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1rem}
.admin-table{background:#fff;border-radius:8px;border:1px solid rgba(2,6,23,0.06);box-shadow:0 6px 18px rgba(12,24,48,0.03);padding:0.5rem}
.admin-table table{margin:0;width:100%;border-collapse:collapse}
.admin-table th,.admin-table td{padding:12px 10px;border-bottom:1px solid rgba(2,6,23,0.06)}
.admin-table thead th{border-bottom:2px solid rgba(2,6,23,0.08)}
.admin-table th{font-weight:600;color:var(--muted);font-size:0.95rem}
.admin-table td{vertical-align:middle}
.code-inline{background:#f3f4f6;padding:2px 6px;border-radius:6px;font-size:0.9em}
.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:block;max-width:420px}
.badge-modern{display:inline-block;padding:0.25rem 0.5rem;border-radius:999px;font-size:0.75rem;background:#eef2ff;color:#3730a3}
.btn-outline-primary{color:#0f172a;border:1px solid rgba(15,23,42,0.08);background:transparent;padding:6px 10px;border-radius:8px}
.btn-outline-secondary{color:#374151;border:1px solid rgba(55,65,81,0.08);background:transparent;padding:6px 10px;border-radius:8px}
.navbar-custom{background:#ffffff;border-bottom:1px solid rgba(2,6,23,0.06);box-shadow:0 6px 18px rgba(12,24,48,0.03)}
.navbar-brand{font-weight:700}

@media (max-width:480px){
  .truncate{max-width:160px}
}

/* Analytics stat cards for dashboard */
.stat-grid{display:flex;gap:12px;margin-bottom:16px}
.stat-card{flex:1;padding:14px;border-radius:10px;background:#fff;border:1px solid rgba(2,6,23,0.06);box-shadow:0 6px 18px rgba(12,24,48,0.03);display:flex;flex-direction:column}
.stat-card .value{font-size:1.5rem;font-weight:700}
.stat-card .label{color:var(--muted);font-size:0.85rem}

/* Ensure consistent table layout and truncation for alignment */
.admin-table table{table-layout:fixed;word-break:break-word}
.admin-table th,.admin-table td{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

/* Fixed column widths for organizations table to ensure alignment */
.admin-table.organizations-table table th:nth-child(1),
.admin-table.organizations-table table td:nth-child(1){width:34%}
.admin-table.organizations-table table th:nth-child(2),
.admin-table.organizations-table table td:nth-child(2){width:28%}
.admin-table.organizations-table table th:nth-child(3),
.admin-table.organizations-table table td:nth-child(3){width:22%}
.admin-table.organizations-table table th:nth-child(4),
.admin-table.organizations-table table td:nth-child(4){width:8%}
.admin-table.organizations-table table th:nth-child(5),
.admin-table.organizations-table table td:nth-child(5){width:8%}
/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS (and SCSS, if configured) file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *


 */

/* Custom styles for login page */
.bg-light {
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%) !important;
}

.card {
  border: none;
  border-radius: 15px;
}

.btn-primary {
  background: linear-gradient(45deg, #007bff, #0056b3);
  border: none;
  border-radius: 10px;
}

.btn-primary:hover {
  background: linear-gradient(45deg, #0056b3, #004085);
}
