/* General Styles */
body {
  font-family: Arial, sans-serif;
  background-color: #f4f4f9;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

/* Container Styles */
.container {
  background: #fff;
  padding: 20px 40px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  max-width: 400px;
  width: 100%;
  box-sizing: border-box;
  text-align: center;
}

/* Header */
h1 {
  color: #333;
  margin-bottom: 20px;
}

/* Form Elements */
form {
  display: flex;
  flex-direction: column;
}

label {
  margin-bottom: 5px;
  font-weight: bold;
  text-align: left;
}

input[type="email"], input[type="password"] {
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 16px;
}

button {
  background-color: #007bff;
  color: white;
  padding: 14px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 16px;
  transition: background-color 0.3s ease;
}

button:hover {
  background-color: #0056b3;
}

/* Links */
a {
  color: #007bff;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
  .container {
    padding: 20px;
    max-width: 90%;
  }
}

/* Specific Styles for Login and Signup Pages */
.login-container, .signup-container {
  background: #fff;
  padding: 20px 40px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  max-width: 400px;
  width: 100%;
  box-sizing: border-box;
  text-align: center;
}

/* File Upload Section (if needed) */
.upload-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 20px;
}

.upload-section input[type="file"] {
  margin-bottom: 10px;
  width: 100%;
}

.upload-section button {
  width: 100%;
  background-color: #28a745;
  color: white;
  padding: 10px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 16px;
}

.upload-section button:hover {
  background-color: #218838;
}

/* File List */
ul#filesList {
  list-style-type: none;
  padding: 0;
  margin: 20px 0;
}

ul#filesList li {
  background: #f9f9f9;
  padding: 10px;
  margin-bottom: 10px;
  border-radius: 4px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* File Actions */
ul#filesList li button {
  background-color: #dc3545;
  padding: 5px 10px;
  border-radius: 4px;
  font-size: 14px;
  margin-left: 10px;
}

ul#filesList li button:hover {
  background-color: #c82333;
}

ul#filesList li a {
  color: #007bff;
  text-decoration: none;
  margin-right: 10px;
}

ul#filesList li a:hover {
  text-decoration: underline;
}

/* Logout Button */
.logout-button {
  background-color: #ff7f50;
  margin-top: 20px;
  width: 100%;
  padding: 14px 20px;
  border: none;
  border-radius: 4px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.logout-button:hover {
  background-color: #ff6347;
}
