/* Style global */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(135deg, #141e30, #243b55);
  color: #fff;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  flex-direction: column;
}

.container {
  width: 80%;
  max-width: 1000px;
  padding: 20px;
  text-align: center;
  box-sizing: border-box;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  backdrop-filter: blur(10px);
}

/* Titres */
h2, h3 {
  font-size: 2rem;
  text-transform: uppercase;
  color: #ffcc00;
  margin-bottom: 20px;
  letter-spacing: 1px;
}

h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
}

/* Formulaire de connexion et de création de fichier */
form {
  background: rgba(0, 0, 0, 0.6);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  margin-bottom: 30px;
}

input, textarea, button {
  width: 100%;
  padding: 15px;
  margin: 10px 0;
  background: #1e2a47;
  border: 1px solid #2d3b61;
  border-radius: 8px;
  color: #fff;
  font-size: 1rem;
  transition: all 0.3s ease;
}

input:focus, textarea:focus {
  outline: none;
  border-color: #ffcc00;
  background: #2e3b69;
}

button {
  background: linear-gradient(45deg, #ffcc00, #ff9933);
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  color: #fff;
}

button:hover {
  background: linear-gradient(45deg, #ff9933, #ffcc00);
  transform: scale(1.05);
}

/* Liste des fichiers */
.file-list ul {
  list-style-type: none;
  padding: 0;
}

.file-list li {
  padding: 15px;
  margin: 10px 0;
  background: #2e3b69;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.file-list li:hover {
  background: #3f4a7e;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.file-list a {
  color: #ffcc00;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.2rem;
}

.file-list a:hover {
  color: #fff;
}

/* Message */
.message {
  color: #ffcc00;
  font-size: 1.1rem;
  margin-top: 15px;
  padding: 10px;
  background: #1e2a47;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Formulaire de création de fichier */
.create-file-form {
  margin-top: 30px;
  padding: 20px;
  background: rgba(0, 0, 0, 0.6);
  border-radius: 15px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.create-file-form label {
  font-size: 1.1rem;
  margin-bottom: 10px;
  display: block;
}

.create-file-form input,
.create-file-form textarea {
  font-size: 1.1rem;
}

.create-file-form button {
  background: linear-gradient(45deg, #00b4d8, #48c6ef);
  font-size: 1.2rem;
  font-weight: bold;
  transition: all 0.3s ease;
}

.create-file-form button:hover {
  background: linear-gradient(45deg, #48c6ef, #00b4d8);
  transform: scale(1.05);
}











.logout-btn {
  background: #ff4d4d;
  color: white;
  border: none;
  padding: 10px 20px;
  font-size: 1.2rem;
  border-radius: 5px;
  cursor: pointer;
  transition: 0.3s ease;
}

.logout-btn:hover {
  background: #cc0000;
  transform: scale(1.05);
}
