/* style.css : Styles de base pour la simulation de phishing */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background: #f8f8f8;
}

.container {
  max-width: 600px;
  margin: 60px auto 40px auto;
  background: #fff;
  padding: 20px;
  border-radius: 5px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

h1, h2 {
  color: #333;
}

.banner {
  background: #ffeb3b; /* jaune vif pour attirer l'attention */
  color: #000;
  padding: 10px;
  text-align: center;
  font-size: 0.9em;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.banner strong {
  color: #d32f2f;
}

.container .info {
  font-size: 0.95em;
  background: #e7f3fe;
  padding: 10px;
  border: 1px solid #b3d7ff;
  border-radius: 4px;
  color: #0c5460;
  margin-bottom: 20px;
}

label {
  display: block;
  margin: 15px 0 5px;
  font-weight: bold;
  color: #555;
}

input[type="email"], 
input[type="password"] {
  width: 100%;
  padding: 8px;
  box-sizing: border-box;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1em;
}

input[type="email"]:focus,
input[type="password"]:focus {
  outline: none;
  border-color: #1976d2;
  box-shadow: 0 0 5px rgba(25, 118, 210, 0.3);
}

button {
  margin-top: 20px;
  padding: 10px 15px;
  background: #1976d2;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 1em;
  font-weight: bold;
  transition: background 0.3s ease;
}

button:hover {
  background: #0d47a1;
}

button:active {
  transform: scale(0.98);
}

.phishing-alert {
  background: #fff3cd;
  border: 2px solid #ff9800;
  border-radius: 5px;
  padding: 15px;
  margin-bottom: 20px;
}

.phishing-alert p {
  font-size: 1.1em;
  margin: 0;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 15px;
  margin-top: 10px;
}

table, th, td {
  border: 1px solid #ccc;
}

th, td {
  padding: 8px;
  text-align: left;
}

thead {
  background: #f0f0f0;
  font-weight: bold;
}

tbody tr:nth-child(even) {
  background: #f9f9f9;
}

tbody tr:hover {
  background: #e8f4f8;
}

ul {
  line-height: 1.8;
}

ul li {
  margin-bottom: 10px;
}

a {
  color: #1976d2;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

@media (max-width: 600px) {
  .container {
    margin: 80px 10px 40px 10px;
    padding: 15px;
  }
  
  .banner {
    font-size: 0.8em;
    padding: 8px;
  }
  
  h1 {
    font-size: 1.5em;
  }
  
  h2 {
    font-size: 1.2em;
  }
  
  table {
    font-size: 0.9em;
  }
  
  th, td {
    padding: 6px;
  }
}

