/*
 * This is a manifest file that'll be compiled into application.css.
 *
 * With Propshaft, assets are served efficiently without preprocessing steps. You can still include
 * application-wide styles in this file, but keep in mind that CSS precedence will follow the standard
 * cascading order, meaning styles declared later in the document or manifest will override earlier ones,
 * depending on specificity.
 *
 * Consider organizing styles into separate files for maintainability.
 */

/* General styles */
body {
  font-family: 'Open Sans', sans-serif;
  padding: 20px;
}

body.login {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  margin: 0;
}
.container {
  text-align: center;
  padding: 20px;
  border: 2px solid #FFD633;
  border-radius: 5px;
  max-width: 400px;
}

.logout-container {
  text-align: right;
  margin-bottom: 20px;
}

table {
  border-collapse: collapse;
  width: 100%;
}
th, td {
  border: 1px solid #ccc;
  padding: 8px;
  text-align: left;
}
th {
  background-color: #f2f2f2;
}
.inline-form {
  display: inline;
}

/* Reusable button base style */
.btn {
  display: inline-block;
  padding: 8px 16px;
  background-color: #FFC000;
  color: black;
  text-decoration: none;
  border-radius: 4px;
  border: none;
  cursor: pointer;
}

.btn:hover {
  background-color: #FFD633;
}

/* Specific button variants */
.approve-btn {
  background-color: #4CAF50;
}

.reject-btn {
  background-color: #f44336;
}

.pending-btn {
  background-color: yellow;
  color: black;
}

/* Banner styles */
.banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: #f8d7da;
  color: #721c24;
  border-bottom: 2px solid #f5c6cb;
  padding: 10px 20px;
  text-align: center;
  font-weight: bold;
}

.banner-message.error {
  background-color: #f8d7da;
  color: #721c24;
}

.banner-message.notice {
  background-color: #d4edda;
  color: #155724;
}

.banner-message.alert {
  background-color: #fff3cd;
  color: #856404;
}