/* === Global Styles === */
body {
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
  background: url('/static/images/flowers.jpg') no-repeat center center fixed;
  background-size: cover;
  min-height: 100vh;
  color: #fff;
}

.page-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

/* === Form Container === */
.form-container {
  max-width: 400px;
  margin: 50px auto 0 auto;
  background: rgba(0, 0, 0, 0.6);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  text-align: center;
  backdrop-filter: blur(10px);
}

/* === Labels === */
label {
  display: block;
  margin-bottom: 10px;
  font-size: 16px;
  color: #fff;
  letter-spacing: 0.5px;
}

/* === Modern Input Fields === */
input[type="email"],
input[type="text"] {
  width: 66%;
  padding: 12px 14px;
  margin-bottom: 20px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 16px;
  box-sizing: border-box;
  color: #333;
  background-color: #f9f9f9;
  transition: all 0.3s ease;
}

input[type="email"]:focus,
input[type="text"]:focus {
  outline: none;
  border-color: #4CAF50;
  box-shadow: 0 0 5px rgba(76, 175, 80, 0.6);
  background-color: #fff;
}

/* Placeholder styling */
input[type="email"]::placeholder,
input[type="text"]::placeholder {
  color: #aaa;
  font-style: italic;
}


/* === Upload Button === */
button {
  width: 66%%;
  padding: 10px 20px;
  font-size: 16px;
  color: #fff;
  background-color: #4CAF50;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 10px;
}

button:hover {
  background-color: #45a049;
}

button:active {
  background-color: #388e3c;
}

.btn-blue {
  background-color: #007BFF;
  color: white;
  border: none;
  padding: 0.5em 1em;
  border-radius: 4px;
  cursor: pointer;
}

.btn-blue:hover {
  background-color: #0056b3;
}

/* === Button styling progress === */
#uploadButton {
    position: relative;
    width: 100%;
    background-color: #3498db; /* Blueish color */
    color: white;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    border-radius: 4px;
    margin-top: 10px;
  }

  #buttonText {
    position: relative;
    z-index: 1; /* Ensure the text stays above the progress bar */
  }

  #progressBar {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background-color: lightgray;
    width: 0%;  /* Starts at 0% width */
    border-radius: 4px;
    transition: width 0.3s ease-in-out; /* Smooth transition for width change */
  }

  /* Blue button style for Add Folder */
  #addFolderBtn {
    background-color: #3498db; /* Blueish color */
    color: white;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    border-radius: 4px;
    margin-top: 10px;
  }

  #addFolderBtn:hover {
    background-color: #2980b9; /* Slightly darker blue on hover */
  }

#fileList {
    margin-top: 1em;
    list-style-type: none;
    padding: 0;
  }

  /* Styling for list items: matching font and color of other text fields */
  #fileList li {
    font-size: 16px;
    color: #ffffff;  /* Same color as the text inputs */
    padding: 8px 0;
  }
/* === Table Styling === */
.table-container {
  margin-top: 40px;
  width: 100%;
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  color: #fff;
  background-color: rgba(0, 0, 0, 0.5);
}

th, td {
  padding: 10px;
  border: 1px solid #ccc;
  text-align: left;
  word-break: break-word;
}

th {
  background-color: rgba(0, 0, 0, 0.7);
}

/* === Action Buttons === */
.action-buttons {
  display: flex;
  gap: 10px;
  justify-content: center;
}

.btn-action {
  font-size: 20px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: opacity 0.3s ease;
  background-color: transparent;
}

.btn-action i {
  color: white;
}

.btn-action:hover {
  opacity: 0.8;
}

/* === Delete Button (Trash Bin) === */
.btn-danger {
  background-color: #f44336;
}

.btn-danger:hover {
  background-color: #d32f2f;
}

/* === Email Button (Envelope) === */
.btn-primary {
  background-color: #4CAF50;
}

.btn-primary:hover {
  background-color: #45a049;
}
