/* ----- BASE ----- */
body {
  background-color: #000;
  color: #00FF00;
  font-family: 'Courier New', Courier, monospace;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

h1, h2, h3 {
  margin: 0;
  padding: 10px;
  text-align: center;
  color: #0f0;
}

/* ----- GLITCH EFFECT ----- */
.glitch-effect {
  animation: glitch 1.2s infinite;
}

@keyframes glitch {
  0% { text-shadow: 1px 0 red, -1px 0 blue; }
  20% { text-shadow: -2px 0 red, 2px 0 blue; }
  40% { text-shadow: 1px 0 red, -1px 0 blue; }
  60% { text-shadow: -1px 0 red, 1px 0 blue; }
  100% { text-shadow: 0 0 red, 0 0 blue; }
}

/* ----- LOGO ----- */
.logo {
  width: 100px;
  margin-right: 15px;
}

/* ----- HEADER / NAVIGATION ----- */
header.dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
  border-bottom: 2px solid #0f0;
  background-color: #111;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 20px;
}

.dashboard-nav {
  display: flex;
  gap: 15px;
}

.logout-btn {
  margin-left: auto;
}

/* ----- MAIN CONTENT ----- */
.dashboard-main {
  padding: 30px 50px;
}

/* ----- TABLEAU ----- */
.accounts-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
}

.accounts-table th, .accounts-table td {
  border: 1px solid #0f0;
  padding: 12px 15px;
  text-align: center;
}

.accounts-table th {
  background-color: #111;
  font-weight: bold;
  text-transform: uppercase;
}

.accounts-table td {
  background-color: #050505;
}

.actions-cell {
  display: flex;
  gap: 8px;
  justify-content: center;
}

/* ----- FORMULAIRES ----- */
form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 400px;
  margin: 0 auto;
}

input, textarea, select {
  background: #111;
  border: 1px solid #0f0;
  color: #0f0;
  padding: 10px;
  font-size: 16px;
}

input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: lime;
}

/* ----- BOUTONS ----- */
button, .btn {
  display: inline-block;
  padding: 10px 20px;
  background-color: #111;
  border: 1px solid #0f0;
  color: #0f0;
  cursor: pointer;
  text-decoration: none;
  font-family: 'Courier New', Courier, monospace;
  font-size: 15px;
  transition: all 0.2s ease;
  border-radius: 5px;
}

button:hover, .btn:hover {
  background-color: #0f0;
  color: #000;
}

.btn.danger, .danger {
  border-color: red;
  color: red;
}

.btn.danger:hover, .danger:hover {
  background-color: red;
  color: black;
}

/* ----- LOGIN / ADD FORM CONTAINERS ----- */
.login-container {
  max-width: 400px;
  margin: 60px auto;
  text-align: center;
  background: #0f0;
  padding: 20px;
  border-radius: 8px;
  color: #000;
}

.login-container h1 {
  color: #000;
}

.login-container input, .login-container button {
  width: 90%;
  margin: 0 auto;
}

/* ----- OVERLAY HACK STYLE ----- */
.hack-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: black;
  color: #00FF00;
  font-family: monospace;
  padding: 20px;
  z-index: 9999;
  overflow-y: auto;
  white-space: pre-wrap;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

/* ----- MEDIA QUERY ----- */
@media screen and (max-width: 768px) {
  .dashboard-header, .dashboard-nav {
    flex-direction: column;
    text-align: center;
  }

  .accounts-table th, .accounts-table td {
    font-size: 12px;
    padding: 8px;
  }

  .btn {
    font-size: 14px;
    padding: 8px 12px;
  }
}
.note-block {
  background-color: #010;
  border: 1px solid #0f0;
  padding: 10px;
  margin-bottom: 10px;
  border-radius: 5px;
}
.readable {
  background-color: #000;
  color: #66FF66;
  font-size: 16px;
  line-height: 1.7;
  padding: 20px;
  border-radius: 8px;
  text-shadow: none !important;
}

.readable h1, .readable h2, .readable h3 {
  color: #99FF99;
  text-align: center;
}

.readable p, .readable td, .readable th {
  color: #66FF66;
}

.readable a.btn {
  color: #0f0;
  border-color: #0f0;
}

.readable a.btn:hover {
  background-color: #0f0;
  color: #000;
}
