/* --------- RESET & VARIABLES --------- */
:root {
    --bg-color: #0e0e0f;
    --glass-bg: rgba(40, 40, 40, 0.6);
    --accent: #4a90e2;
    --text-light: #f0f0f0;
    --text-muted: #bbb;
    --border-radius: 16px;
    --blur: 12px;
    --transition: 0.3s ease;
    --sidebar-width: 260px;
    --font: 'Inter', 'Segoe UI', Roboto, sans-serif;
  }
  
  * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }
  
  body {
    font-family: var(--font);
    background: var(--bg-color);
    color: var(--text-light);
    height: 100vh;
    display: flex;
  }
  
  /* --------- DASHBOARD LAYOUT --------- */
  .dashboard {
    display: flex;
    width: 100%;
  }
  
  /* --------- SIDEBAR --------- */
  .sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: var(--sidebar-width);
    height: 100%;
    background: rgba(30,30,30,0.85);
    backdrop-filter: blur(var(--blur));
    color: #fff;
    padding: 1em;
    transition: left var(--transition);
    z-index: 1000;
  }
  
  .sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .close-btn {
    display: none;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 1.5em;
    cursor: pointer;
  }
  
  .sidebar ul li {
    padding: 0.8em 1em;
    border-radius: 12px;
    transition: background var(--transition), color var(--transition);
    color: var(--text-light);
    font-weight: 500;
  }
  
  .sidebar ul li:hover {
    background: rgba(74, 144, 226, 0.2); /* efecto hover azul suave */
    color: var(--accent);
  }
  
  /* Elemento activo */
  .sidebar ul li.active {
    background: rgba(74, 144, 226, 0.3);
    color: var(--accent);
    font-weight: 600;
  }
  
  /* Botón abrir sidebar */
  .open-btn {
    display: none;
    position: fixed;
    top: 1em;
    left: 1em;
    font-size: 2em;
    background: rgba(30,30,30,0.8);
    border: none;
    color: #fff;
    padding: 0.2em 0.5em;
    border-radius: 8px;
    cursor: pointer;
    z-index: 1100;
  }
  
  /* --------- MAIN CONTENT --------- */
  .main-content {
    flex: 1;
    margin-left: var(--sidebar-width);
    padding: 2em;
    overflow-y: auto;
    transition: margin-left var(--transition);
  }
  
  header {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--blur));
    padding: 1em 1.5em;
    border-radius: var(--border-radius);
    margin-bottom: 1.5em;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  
  header h1 {
    font-size: 1.5em;
    font-weight: 600;
    color: var(--text-light);
  }
  
  /* --------- CONTENT AREA --------- */
  .content-area {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--blur));
    border-radius: var(--border-radius);
    padding: 1.5em;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  }
  
  /* --------- TABLE STYLES --------- */
  .table-container {
    overflow-x: auto;
  }
  
  table {
    width: 100%;
    border-collapse: collapse;
    color: var(--text-light);
  }
  
  thead {
    background: rgba(255, 255, 255, 0.08);
  }
  
  th, td {
    padding: 0.8em 1em;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  
  tbody tr:hover {
    background: rgba(255, 255, 255, 0.05);
  }
  
  button.approve-btn {
    background: var(--accent);
    color: white;
    border: none;
    padding: 0.4em 0.8em;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
  }
  
  button.approve-btn:hover {
    opacity: 0.8;
  }
  
  button.approve-btn[disabled] {
    background: gray;
    cursor: not-allowed;
  }
  
  /* --------- PAGINATION --------- */
  .pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1em;
    margin-top: 1em;
  }
  
  .pagination button {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    padding: 0.5em 1em;
    border-radius: var(--border-radius);
    color: var(--text-light);
    cursor: pointer;
  }
  
  .pagination button:hover {
    background: rgba(255, 255, 255, 0.2);
  }
  
  /* --------- PAYMENT METHODS --------- */
  .payment-methods {
    background: rgba(40, 40, 40, 0.6);
    backdrop-filter: blur(var(--blur));
    border-radius: var(--border-radius);
    padding: 1em;
    margin-top: 1em;
  }
  
  .payment-methods h3 {
    margin-bottom: 0.8em;
    color: var(--accent);
  }
  
  .payment-methods ul {
    list-style: none;
    padding-left: 0;
  }
  
  .payment-methods li {
    padding: 0.4em 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }
  
  /* --------- RESPONSIVE --------- */
  @media screen and (max-width: 768px) {
    .sidebar {
      left: -260px;
    }
    .sidebar.active {
      left: 0;
    }
    .close-btn {
      display: block;
    }
    .open-btn {
      display: block;
    }
  
    .main-content {
      margin-left: 0;
      padding: 1em;
    }
  
    header {
      flex-direction: column;
      align-items: flex-start;
    }
  
    table, thead, tbody, th, td, tr {
      display: block;
    }
  
    thead {
      display: none;
    }
  
    tbody tr {
      margin-bottom: 1em;
      background: rgba(255, 255, 255, 0.05);
      border-radius: var(--border-radius);
      padding: 1em;
    }
  
    td {
      border: none;
      display: flex;
      justify-content: space-between;
      padding: 0.5em 0;
    }
  
    td::before {
      content: attr(data-label);
      font-weight: bold;
      color: var(--text-muted);
    }
  
    .pagination {
      flex-direction: column;
      gap: 0.5em;
    }
  }
  