/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* GLOBAL */
body {
  font-family: 'Montserrat', sans-serif;
  background: #f4f6f9;
}

/* =========================
   TOP HEADER
========================= */
.top-header {
  background: #ffffff;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 15px;
}

.brand img {
  height: 40px;
}

.brand h1 {
  font-size: 22px;
  font-weight: 600;
  color: #222;
}

.auth-links a {
  margin-left: 20px;
  text-decoration: none;
  font-weight: 600;
  color: #d13c2f;
  transition: 0.2s;
}

.auth-links a:hover {
  opacity: 0.7;
}

/* =========================
   NAVBAR
========================= */
.navbar {
  background: #2d3e57;
  padding: 0 40px;
}

.navbar ul {
  list-style: none;
  display: flex;
  align-items: center;
  height: 55px;
}

.navbar li {
  position: relative;
}

.navbar a {
  text-decoration: none;
  color: white;
  padding: 0 15px;
  display: flex;
  align-items: center;
  height: 55px;
  font-weight: 500;
  font-size: 15px;
  transition: 0.2s;
}

.navbar a:hover {
  opacity: 0.8;
}

/* Divider */
.navbar li:not(:last-child)::after {
  content: "|";
  color: rgba(255,255,255,0.4);
  position: absolute;
  right: -5px;
}

/* Active Link */
.navbar .active {
  border-bottom: 3px solid white;
}

/* =========================
   HERO SECTION (Homepage)
========================= */
.hero {
  height: calc(100vh - 125px);
  background-image: url("logo.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
}

/* Dark overlay */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}

.hero-content {
  position: relative;
  color: white;
}

.hero-content h2 {
  font-size: 64px;
  font-weight: 600;
  margin-bottom: 30px;
}

/* Buttons */
.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.btn-primary,
.btn-secondary {
  padding: 12px 28px;
  text-decoration: none;
  font-weight: 600;
  border-radius: 4px;
  transition: 0.3s;
}

.btn-primary {
  background: #d13c2f;
  color: white;
}

.btn-primary:hover {
  background: #a52f25;
}

.btn-secondary {
  background: white;
  color: #2d3e57;
}

.btn-secondary:hover {
  background: #ddd;
}

/* =========================
   PAGE CONTENT (White Pages)
========================= */
.page-content {
  padding: 80px 40px;
  background: white;
  min-height: calc(100vh - 125px);
}

.page-content h2 {
  font-size: 36px;
  margin-bottom: 20px;
}

.page-content p {
  font-size: 18px;
  color: #555;
}

/* =========================
   COMMAND TREE (For later)
========================= */
.command-section {
  padding: 60px 40px;
  background: white;
  text-align: center;
}

.command-section h2 {
  margin-bottom: 40px;
}

.command-tree {
  display: flex;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
}

.command-branch {
  min-width: 250px;
}

.rank {
  background: #2d3e57;
  color: white;
  padding: 12px;
  margin: 10px 0;
  border-radius: 4px;
  font-weight: 600;
}

.rank.gold {
  background: #d4af37;
  color: black;
}

.rank.silver {
  background: #c0c0c0;
  color: black;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 768px) {
  .top-header {
    flex-direction: column;
    height: auto;
    padding: 20px;
  }

  .navbar ul {
    flex-wrap: wrap;
    height: auto;
  }

  .navbar a {
    padding: 10px;
  }

  .hero-content h2 {
    font-size: 40px;
  }

  .hero-buttons {
    flex-direction: column;
  }
}
/* =========================
   APPLICATION FORM
========================= */

.application-container {
  max-width: 900px;
  margin: 60px auto;
  background: white;
  padding: 40px;
  border-radius: 6px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.application-container h2 {
  margin-bottom: 25px;
  font-size: 32px;
}

/* Blue Requirements Box */
.requirements-box {
  background: #e7f1ff;
  border-left: 5px solid #2d6cdf;
  padding: 20px 25px;
  margin-bottom: 30px;
  border-radius: 4px;
}

.requirements-box h3 {
  margin-bottom: 10px;
  color: #2d3e57;
}

.requirements-box ul {
  padding-left: 20px;
  margin-bottom: 15px;
}

.requirements-box li {
  margin-bottom: 8px;
  font-size: 15px;
}

.important-notes {
  margin-top: 15px;
  font-size: 14px;
}

/* Form Styling */
.application-form label {
  display: block;
  font-weight: 600;
  margin-top: 20px;
  margin-bottom: 8px;
}

.application-form input,
.application-form select,
.application-form textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
}

.application-form textarea {
  resize: vertical;
  min-height: 120px;
}

.application-form input:focus,
.application-form select:focus,
.application-form textarea:focus {
  border-color: #2d6cdf;
  outline: none;
}

.radio-group {
  margin-top: 8px;
}

.radio-group label {
  font-weight: normal;
  margin-right: 20px;
}

.submit-btn {
  margin-top: 30px;
  background: #2d3e57;
  color: white;
  border: none;
  padding: 14px 30px;
  font-weight: 600;
  border-radius: 4px;
  cursor: pointer;
  transition: 0.3s;
}

.submit-btn:hover {
  background: #1f2b3d;
}
/* =========================
   AUTH PAGES (Login/Register)
========================= */

.auth-page {
  min-height: calc(100vh - 125px);
  display: flex;
  justify-content: center;
  align-items: center;
  background: #f4f6f9;
  padding: 40px 20px;
}

.auth-card {
  background: white;
  width: 100%;
  max-width: 450px;
  padding: 40px;
  border-radius: 6px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}

.auth-card h2 {
  text-align: center;
  margin-bottom: 25px;
  font-size: 28px;
}

.auth-form label {
  display: block;
  font-weight: 600;
  margin-top: 18px;
  margin-bottom: 8px;
}

.auth-form input {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-family: 'Montserrat', sans-serif;
}

.auth-form input:focus {
  border-color: #2d6cdf;
  outline: none;
}

.auth-btn {
  width: 100%;
  margin-top: 25px;
  padding: 14px;
  border: none;
  background: #2d3e57;
  color: white;
  font-weight: 600;
  border-radius: 4px;
  cursor: pointer;
  transition: 0.3s;
}

.auth-btn:hover {
  background: #1f2b3d;
}

.auth-footer {
  text-align: center;
  margin-top: 20px;
  font-size: 14px;
}

.auth-footer a {
  color: #2d6cdf;
  text-decoration: none;
  font-weight: 600;
}

.auth-footer a:hover {
  text-decoration: underline;
}
    /* ── Portal Shell ── */
    .portal-wrap {
      display: flex;
      min-height: calc(100vh - 125px);
    }

    /* ── Sidebar ── */
    .sidebar {
      width: 240px;
      background: #2d3e57;
      flex-shrink: 0;
      display: flex;
      flex-direction: column;
      padding: 30px 0;
    }

    .sidebar-nav a {
      display: flex;
      align-items: center;
      gap: 12px;
      padding: 14px 25px;
      color: rgba(255,255,255,0.75);
      text-decoration: none;
      font-weight: 600;
      font-size: 14px;
      transition: 0.2s;
      border-left: 3px solid transparent;
    }

    .sidebar-nav a:hover,
    .sidebar-nav a.active {
      color: #fff;
      background: rgba(255,255,255,0.07);
      border-left-color: #fff;
    }

    .sidebar-nav a svg {
      flex-shrink: 0;
    }

    .sidebar-section-label {
      padding: 18px 25px 6px;
      font-size: 11px;
      font-weight: 600;
      color: rgba(255,255,255,0.35);
      text-transform: uppercase;
      letter-spacing: 1px;
    }

    /* ── Main Content ── */
    .portal-main {
      flex: 1;
      background: #f4f6f9;
      padding: 40px;
      overflow-y: auto;
    }

    .portal-section {
      display: none;
    }

    .portal-section.active {
      display: block;
    }

    .portal-section h2 {
      font-size: 26px;
      margin-bottom: 25px;
      color: #2d3e57;
    }

    /* ── Dashboard Cards ── */
    .dashboard-cards {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
      gap: 20px;
      margin-bottom: 35px;
    }

    .dash-card {
      background: white;
      border-radius: 6px;
      padding: 25px 20px;
      box-shadow: 0 2px 10px rgba(0,0,0,0.06);
      cursor: pointer;
      border-top: 4px solid #2d3e57;
      transition: 0.2s;
    }

    .dash-card:hover {
      transform: translateY(-2px);
      box-shadow: 0 6px 18px rgba(0,0,0,0.1);
    }

    .dash-card .card-label {
      font-size: 13px;
      color: #888;
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 0.5px;
    }

    .dash-card .card-value {
      font-size: 28px;
      font-weight: 600;
      color: #2d3e57;
      margin-top: 8px;
    }

    /* ── Profile Banner ── */
    .profile-banner {
      background: #2d3e57;
      color: white;
      border-radius: 6px;
      padding: 25px 30px;
      display: flex;
      align-items: center;
      gap: 20px;
      margin-bottom: 30px;
    }

    .profile-banner img {
      width: 60px;
      height: 60px;
      border-radius: 50%;
      object-fit: cover;
      border: 3px solid rgba(255,255,255,0.3);
    }

    .profile-banner .avatar-placeholder {
      width: 60px;
      height: 60px;
      border-radius: 50%;
      background: rgba(255,255,255,0.15);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 26px;
      color: white;
    }

    .profile-banner .profile-info h3 {
      font-size: 20px;
      font-weight: 600;
    }

    .profile-banner .profile-info p {
      font-size: 14px;
      opacity: 0.7;
      margin-top: 4px;
    }

    /* ── Panel Box ── */
    .panel {
      background: white;
      border-radius: 6px;
      box-shadow: 0 2px 10px rgba(0,0,0,0.06);
      margin-bottom: 25px;
      overflow: hidden;
    }

    .panel-header {
      padding: 16px 20px;
      background: #2d3e57;
      color: white;
      font-weight: 600;
      font-size: 15px;
    }

    .panel-body {
      padding: 20px;
    }

    /* ── Announcements ── */
    .announcement-item {
      border-bottom: 1px solid #eee;
      padding: 16px 0;
    }

    .announcement-item:last-child {
      border-bottom: none;
    }

    .announcement-item h4 {
      font-size: 15px;
      color: #2d3e57;
      margin-bottom: 6px;
    }

    .announcement-item p {
      font-size: 14px;
      color: #555;
      line-height: 1.6;
    }

    .announcement-meta {
      font-size: 12px;
      color: #999;
      margin-top: 8px;
    }

    .pinned-badge {
      background: #d13c2f;
      color: white;
      font-size: 10px;
      font-weight: 600;
      padding: 2px 7px;
      border-radius: 3px;
      margin-left: 8px;
      text-transform: uppercase;
    }

    /* ── Documents / Folder Browser ── */
    .folder-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
      gap: 16px;
    }

    .folder-item {
      background: white;
      border: 1px solid #e0e0e0;
      border-radius: 6px;
      padding: 20px 15px;
      text-align: center;
      cursor: pointer;
      transition: 0.2s;
    }

    .folder-item:hover {
      border-color: #2d3e57;
      background: #f0f4ff;
    }

    .folder-item svg {
      margin-bottom: 10px;
    }

    .folder-item span {
      display: block;
      font-size: 13px;
      font-weight: 600;
      color: #2d3e57;
    }

    .doc-item {
      display: flex;
      align-items: center;
      gap: 12px;
      padding: 12px 0;
      border-bottom: 1px solid #eee;
      cursor: pointer;
      text-decoration: none;
      color: inherit;
    }

    .doc-item:last-child { border-bottom: none; }

    .doc-item:hover span { color: #2d6cdf; }

    .doc-item span {
      font-size: 14px;
      font-weight: 600;
      color: #2d3e57;
      transition: 0.2s;
    }

    .doc-item small {
      margin-left: auto;
      font-size: 11px;
      color: #aaa;
      text-transform: uppercase;
    }

    .breadcrumb {
      font-size: 13px;
      color: #888;
      margin-bottom: 20px;
      display: flex;
      align-items: center;
      gap: 6px;
      flex-wrap: wrap;
    }

    .breadcrumb span {
      cursor: pointer;
      color: #2d6cdf;
      font-weight: 600;
    }

    .breadcrumb span:hover { text-decoration: underline; }

    .breadcrumb .sep { color: #ccc; }

    .breadcrumb .current { color: #555; cursor: default; font-weight: 600; }

    /* ── Patrols ── */
    .patrol-table {
      width: 100%;
      border-collapse: collapse;
      font-size: 14px;
    }

    .patrol-table th {
      text-align: left;
      padding: 10px 12px;
      background: #f0f0f0;
      color: #555;
      font-weight: 600;
    }

    .patrol-table td {
      padding: 10px 12px;
      border-bottom: 1px solid #eee;
      color: #333;
    }

    .patrol-table tr:last-child td { border-bottom: none; }

    .patrol-form-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 16px;
    }

    .patrol-form-grid label {
      display: block;
      font-weight: 600;
      font-size: 13px;
      margin-bottom: 6px;
      color: #444;
    }

    .patrol-form-grid input,
    .patrol-form-grid select,
    .patrol-form-grid textarea {
      width: 100%;
      padding: 10px 12px;
      border: 1px solid #ccc;
      border-radius: 4px;
      font-family: 'Montserrat', sans-serif;
      font-size: 14px;
    }

    .patrol-form-grid .full-width {
      grid-column: 1 / -1;
    }

    /* ── Applications ── */
    .app-table {
      width: 100%;
      border-collapse: collapse;
      font-size: 14px;
    }

    .app-table th {
      text-align: left;
      padding: 10px 12px;
      background: #f0f0f0;
      color: #555;
      font-weight: 600;
    }

    .app-table td {
      padding: 10px 12px;
      border-bottom: 1px solid #eee;
      color: #333;
    }

    .app-table tr:last-child td { border-bottom: none; }

    .status-badge {
      display: inline-block;
      padding: 3px 10px;
      border-radius: 3px;
      font-size: 11px;
      font-weight: 600;
      text-transform: uppercase;
    }

    .status-badge.pending  { background: #fff3cd; color: #856404; }
    .status-badge.approved { background: #d4edda; color: #155724; }
    .status-badge.rejected { background: #f8d7da; color: #721c24; }

    /* ── Empty State ── */
    .empty-state {
      text-align: center;
      padding: 50px 20px;
      color: #aaa;
      font-size: 15px;
    }

    /* ── Buttons ── */
    .btn {
      padding: 10px 20px;
      border: none;
      border-radius: 4px;
      font-family: 'Montserrat', sans-serif;
      font-weight: 600;
      font-size: 14px;
      cursor: pointer;
      transition: 0.2s;
    }

    .btn-dark {
      background: #2d3e57;
      color: white;
    }

    .btn-dark:hover { background: #1f2b3d; }

    .btn-red {
      background: #d13c2f;
      color: white;
    }

    .btn-red:hover { background: #a52f25; }

    .btn-sm {
      padding: 6px 14px;
      font-size: 12px;
    }

    /* ── Alert ── */
    .alert {
      padding: 12px 16px;
      border-radius: 4px;
      font-size: 14px;
      margin-bottom: 16px;
    }

    .alert-success { background: #d4edda; color: #155724; }
    .alert-error   { background: #f8d7da; color: #721c24; }

    /* ── Admin only ── */
    .admin-only { display: none; }

    /* ── Loading ── */
    .loading {
      text-align: center;
      padding: 30px;
      color: #aaa;
      font-size: 14px;
    }

    /* ── Responsive ── */
    @media (max-width: 768px) {
      .portal-wrap { flex-direction: column; }
      .sidebar { width: 100%; padding: 10px 0; }
      .sidebar-nav a { padding: 10px 20px; }
      .portal-main { padding: 20px; }
      .patrol-form-grid { grid-template-columns: 1fr; }
    }
     .settings-wrap {
      max-width: 700px;
      margin: 50px auto;
      padding: 0 20px 60px;
    }

    .settings-wrap h2 {
      font-size: 26px;
      color: #2d3e57;
      margin-bottom: 30px;
    }

    .settings-card {
      background: white;
      border-radius: 6px;
      box-shadow: 0 2px 10px rgba(0,0,0,0.06);
      margin-bottom: 24px;
      overflow: hidden;
    }

    .settings-card-header {
      background: #2d3e57;
      color: white;
      padding: 16px 24px;
      font-weight: 600;
      font-size: 15px;
      display: flex;
      align-items: center;
      gap: 10px;
    }

    .settings-card-body {
      padding: 24px;
    }

    .settings-field {
      margin-bottom: 18px;
    }

    .settings-field label {
      display: block;
      font-weight: 600;
      font-size: 13px;
      color: #444;
      margin-bottom: 7px;
    }

    .settings-field input {
      width: 100%;
      padding: 11px 14px;
      border: 1px solid #ccc;
      border-radius: 4px;
      font-family: 'Montserrat', sans-serif;
      font-size: 14px;
    }

    .settings-field input:focus {
      border-color: #2d6cdf;
      outline: none;
    }

    .settings-field input[readonly] {
      background: #f8f8f8;
      color: #888;
      cursor: not-allowed;
    }

    .btn {
      padding: 10px 22px;
      border: none;
      border-radius: 4px;
      font-family: 'Montserrat', sans-serif;
      font-weight: 600;
      font-size: 14px;
      cursor: pointer;
      transition: 0.2s;
    }

    .btn-dark  { background: #2d3e57; color: white; }
    .btn-dark:hover  { background: #1f2b3d; }
    .btn-discord { background: #5865F2; color: white; display: inline-flex; align-items: center; gap: 10px; }
    .btn-discord:hover { background: #4752c4; }
    .btn-discord:disabled { opacity: 0.6; cursor: not-allowed; }
    .btn-success { background: #198754; color: white; cursor: default; }

    .alert {
      padding: 11px 15px;
      border-radius: 4px;
      font-size: 14px;
      margin-bottom: 16px;
    }
    .alert-success { background: #d4edda; color: #155724; }
    .alert-error   { background: #f8d7da; color: #721c24; }
    .alert-warning { background: #fff3cd; color: #856404; border: 1px solid #ffeeba; }

    .discord-status {
      display: flex;
      align-items: center;
      gap: 14px;
      padding: 16px;
      background: #f8f9fa;
      border-radius: 6px;
      border: 1px solid #e0e0e0;
      margin-bottom: 18px;
    }

    .discord-status img {
      width: 46px;
      height: 46px;
      border-radius: 50%;
    }

    .discord-status .ds-avatar-placeholder {
      width: 46px;
      height: 46px;
      border-radius: 50%;
      background: #5865F2;
      display: flex;
      align-items: center;
      justify-content: center;
      color: white;
      font-size: 20px;
      flex-shrink: 0;
    }

    .discord-status .ds-info strong {
      display: block;
      font-size: 15px;
      color: #2d3e57;
    }

    .discord-status .ds-info span {
      font-size: 13px;
      color: #888;
    }

    .connected-badge {
      margin-left: auto;
      background: #d4edda;
      color: #155724;
      font-size: 12px;
      font-weight: 600;
      padding: 4px 12px;
      border-radius: 20px;
    }

    .setup-banner {
      background: #fff3cd;
      border: 1px solid #ffc107;
      border-radius: 6px;
      padding: 18px 22px;
      margin-bottom: 28px;
      display: flex;
      align-items: flex-start;
      gap: 14px;
    }

    .setup-banner svg { flex-shrink: 0; margin-top: 2px; }

    .setup-banner .sb-text strong {
      display: block;
      font-size: 15px;
      color: #2d3e57;
      margin-bottom: 4px;
    }

    .setup-banner .sb-text p {
      font-size: 13px;
      color: #666;
      margin: 0;
    }
        .portal-wrap { display: flex; min-height: calc(100vh - 125px); }
    .sidebar { width: 240px; background: #2d3e57; flex-shrink: 0; display: flex; flex-direction: column; padding: 30px 0; }
    .sidebar-nav a { display: flex; align-items: center; gap: 12px; padding: 14px 25px; color: rgba(255,255,255,0.75); text-decoration: none; font-weight: 600; font-size: 14px; transition: 0.2s; border-left: 3px solid transparent; }
    .sidebar-nav a:hover, .sidebar-nav a.active { color: #fff; background: rgba(255,255,255,0.07); border-left-color: #fff; }
    .sidebar-nav a svg { flex-shrink: 0; }
    .sidebar-section-label { padding: 18px 25px 6px; font-size: 11px; font-weight: 600; color: rgba(255,255,255,0.35); text-transform: uppercase; letter-spacing: 1px; }
    .portal-main { flex: 1; background: #f4f6f9; padding: 40px; overflow-y: auto; }
    .portal-section { display: none; }
    .portal-section.active { display: block; }
    .portal-section h2 { font-size: 26px; margin-bottom: 25px; color: #2d3e57; }
    .dashboard-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px; margin-bottom: 35px; }
    .dash-card { background: white; border-radius: 6px; padding: 25px 20px; box-shadow: 0 2px 10px rgba(0,0,0,0.06); cursor: pointer; border-top: 4px solid #2d3e57; transition: 0.2s; }
    .dash-card:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(0,0,0,0.1); }
    .dash-card .card-label { font-size: 13px; color: #888; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; }
    .dash-card .card-value { font-size: 28px; font-weight: 600; color: #2d3e57; margin-top: 8px; }
    .profile-banner { background: #2d3e57; color: white; border-radius: 6px; padding: 25px 30px; display: flex; align-items: center; gap: 20px; margin-bottom: 30px; }
    .profile-banner img { width: 60px; height: 60px; border-radius: 50%; object-fit: cover; border: 3px solid rgba(255,255,255,0.3); }
    .avatar-placeholder { width: 60px; height: 60px; border-radius: 50%; background: rgba(255,255,255,0.15); display: flex; align-items: center; justify-content: center; font-size: 26px; }
    .profile-info h3 { font-size: 20px; font-weight: 600; }
    .profile-info p { font-size: 14px; opacity: 0.7; margin-top: 4px; }
    .panel { background: white; border-radius: 6px; box-shadow: 0 2px 10px rgba(0,0,0,0.06); margin-bottom: 25px; overflow: hidden; }
    .panel-header { padding: 16px 20px; background: #2d3e57; color: white; font-weight: 600; font-size: 15px; }
    .panel-body { padding: 20px; }
    .announcement-item { border-bottom: 1px solid #eee; padding: 16px 0; }
    .announcement-item:last-child { border-bottom: none; }
    .announcement-item h4 { font-size: 15px; color: #2d3e57; margin-bottom: 6px; }
    .announcement-item p { font-size: 14px; color: #555; line-height: 1.6; }
    .announcement-meta { font-size: 12px; color: #999; margin-top: 8px; }
    .pinned-badge { background: #d13c2f; color: white; font-size: 10px; font-weight: 600; padding: 2px 7px; border-radius: 3px; margin-left: 8px; text-transform: uppercase; }
    .folder-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 16px; }
    .folder-item { background: white; border: 1px solid #e0e0e0; border-radius: 6px; padding: 20px 15px; text-align: center; cursor: pointer; transition: 0.2s; }
    .folder-item:hover { border-color: #2d3e57; background: #f0f4ff; }
    .folder-item svg { margin-bottom: 10px; }
    .folder-item span { display: block; font-size: 13px; font-weight: 600; color: #2d3e57; }
    .doc-item { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid #eee; cursor: pointer; text-decoration: none; color: inherit; }
    .doc-item:last-child { border-bottom: none; }
    .doc-item:hover span { color: #2d6cdf; }
    .doc-item span { font-size: 14px; font-weight: 600; color: #2d3e57; transition: 0.2s; }
    .doc-item small { margin-left: auto; font-size: 11px; color: #aaa; text-transform: uppercase; }
    .breadcrumb { font-size: 13px; color: #888; margin-bottom: 20px; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
    .breadcrumb span { cursor: pointer; color: #2d6cdf; font-weight: 600; }
    .breadcrumb span:hover { text-decoration: underline; }
    .breadcrumb .sep { color: #ccc; }
    .breadcrumb .current { color: #555; cursor: default; font-weight: 600; }
    .patrol-table { width: 100%; border-collapse: collapse; font-size: 14px; }
    .patrol-table th { text-align: left; padding: 10px 12px; background: #f0f0f0; color: #555; font-weight: 600; }
    .patrol-table td { padding: 10px 12px; border-bottom: 1px solid #eee; color: #333; }
    .patrol-table tr:last-child td { border-bottom: none; }
    .patrol-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
    .patrol-form-grid label { display: block; font-weight: 600; font-size: 13px; margin-bottom: 6px; color: #444; }
    .patrol-form-grid input, .patrol-form-grid select, .patrol-form-grid textarea { width: 100%; padding: 10px 12px; border: 1px solid #ccc; border-radius: 4px; font-family: 'Montserrat', sans-serif; font-size: 14px; }
    .patrol-form-grid .full-width { grid-column: 1 / -1; }
    .app-table { width: 100%; border-collapse: collapse; font-size: 14px; }
    .app-table th { text-align: left; padding: 10px 12px; background: #f0f0f0; color: #555; font-weight: 600; }
    .app-table td { padding: 10px 12px; border-bottom: 1px solid #eee; color: #333; }
    .app-table tr:last-child td { border-bottom: none; }
    .status-badge { display: inline-block; padding: 3px 10px; border-radius: 3px; font-size: 11px; font-weight: 600; text-transform: uppercase; }
    .status-badge.pending  { background: #fff3cd; color: #856404; }
    .status-badge.approved { background: #d4edda; color: #155724; }
    .status-badge.rejected { background: #f8d7da; color: #721c24; }
    .empty-state { text-align: center; padding: 50px 20px; color: #aaa; font-size: 15px; }
    .loading { text-align: center; padding: 30px; color: #aaa; font-size: 14px; }
    .btn { padding: 10px 20px; border: none; border-radius: 4px; font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: 14px; cursor: pointer; transition: 0.2s; }
    .btn-dark { background: #2d3e57; color: white; } .btn-dark:hover { background: #1f2b3d; }
    .btn-red  { background: #d13c2f; color: white; } .btn-red:hover  { background: #a52f25; }
    .btn-sm   { padding: 6px 14px; font-size: 12px; }
    .alert { padding: 12px 16px; border-radius: 4px; font-size: 14px; margin-bottom: 16px; }
    .alert-success { background: #d4edda; color: #155724; }
    .alert-error   { background: #f8d7da; color: #721c24; }