* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Roboto', sans-serif;
}

body {
  background: #f4f4f4;
  color: #333;
}

.container {
  display: flex;
  min-height: 100vh;
}

.sidebar {
  width: 220px;
  background-color: #1c1c1e;
  color: white;
  padding: 20px;
  position: fixed;
  height: 100vh;
}

.sidebar h2 {
  margin-bottom: 30px;
  font-size: 1.5em;
  color: #00c3ff;
}

.sidebar ul {
  list-style: none;
}

.sidebar a {
  color: white;
  text-decoration: none;
  display: block;
  padding: 10px;
  margin-bottom: 10px;
  border-radius: 5px;
  transition: background 0.3s;
}

.sidebar a.active,
.sidebar a:hover {
  background-color: #00c3ff;
  color: black;
}

.main-content {
  margin-left: 220px;
  padding: 20px;
  flex: 1;
}

.main-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.logout-btn {
  background-color: #c0ff00;
  border: none;
  padding: 10px 15px;
  cursor: pointer;
  border-radius: 5px;
  font-weight: bold;
  transition: background 0.3s;
}

.logout-btn:hover {
  background-color: #a0df00;
}

.dashboard {
  background-color: white;
  padding: 20px;
  border-radius: 10px;
}

.card-grid {
  display: flex;
  gap: 10px;
  margin-top: 15px;
}

.card {
  background-color: #00c3ff;
  color: black;
  padding: 20px;
  flex: 1;
  border-radius: 10px;
  text-align: center;
}

.acciones {
  margin: 20px 0;
  text-align: right;
}

.btn-agregar {
  background-color: #00c3ff;
  color: black;
  border: none;
  padding: 10px 15px;
  border-radius: 5px;
  font-weight: bold;
  cursor: pointer;
}

.btn-agregar:hover {
  background-color: #00aad6;
}

.tabla-clientes {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
  background: white;
  border-radius: 8px;
  overflow: hidden;
}

.tabla-clientes th, .tabla-clientes td {
  padding: 12px 15px;
  border-bottom: 1px solid #ccc;
}

.tabla-clientes th {
  background-color: #f0f0f0;
  text-align: left;
}

.btn-editar,
.btn-eliminar {
  padding: 6px 10px;
  margin-right: 5px;
  border: none;
  border-radius: 4px;
  font-size: 0.9em;
  cursor: pointer;
}

.btn-editar {
  background-color: #c0ff00;
}

.btn-eliminar {
  background-color: #ff4d4d;
  color: white;
}

.form-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
}

.form-container {
  background: white;
  padding: 20px;
  border-radius: 10px;
  width: 300px;
}

.form-container h2 {
  margin-bottom: 10px;
}

.form-container input {
  display: block;
  width: 100%;
  margin-bottom: 10px;
  padding: 8px;
}

.form-container button {
  margin-right: 5px;
  padding: 8px 12px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}
h1 {
  font-size: 24px;
  margin-bottom: 20px;
}
