body {
    margin: 0;
    padding: 0;
}

.Aplaceholder {
    min-height: 100vh;
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-image: url('/static/images/OCOPSS_LOGIN_background.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.admin_logo{
  top:2.5vh;
  height: 5vh;
  width: 8vw;
  left: 2%;
  position:absolute;

}
.Alogo{
    height: 8vh;
    width: 4vw;
    top:1.5vh;
    right: 5%;
    position:absolute;
}

nav {
  background-color: rgba(88, 21, 21, 1);
  height: 10vh;
  width: 100%;
  font-size: large;
  border: solid rgb(88, 21, 21) 2px;
  display: flex;
  justify-content: center;   /* centers menu horizontally */
  align-items: center;
}

ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  display: flex;             /* flexbox instead of float */
  gap: 5vw;                 /* spacing between items */
  background-color: transparent;
  font-size: 1.3vw;
}

ul li a {
  color: white;
  text-align: center;
  text-decoration: none;
  border-radius: 4px;
  transition: all 0.3s ease;
}

ul li a:hover {
  background-color: #220000;
   padding: 0.8vw 1.5vw; 
   
}

ul li a.active {
  background-color: #220000;
   padding: 0.8vw 1.5vw; 
   
}

/* ul li a {
  display: block;
  color: white;
  text-align: center;
  padding: 14px 30px;
  text-decoration: none;
  border-radius: 4px;
}

ul li a:hover {
  background-color: #d48f8f;
}

ul li a.active {
  background-color: #b33a3a;
} */

/* Responsive adjustments */
@media (max-width: 768px) {
  nav {
    height: auto;
    padding: 10px;
  }

  ul {
    flex-direction: column;   /* stack vertically */
    align-items: center;
    gap: 10px;
  }

  ul li a {
    padding: 12px 20px;       /* smaller padding for mobile */
    width: 100%;              /* full width buttons */
    text-align: center;
  }
}


h1{
  font-family: Arial, Helvetica, sans-serif;
  color: white;
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.modal-content {
  background-color: #f4f4f4;
  margin: 10% auto;
  padding: 30px;
  border: 1px solid #888;
  border-radius: 8px;
  width: 90%;
  max-width: 400px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  animation: slideDown 0.3s ease;
}

@keyframes slideDown {
  from {
    transform: translateY(-50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.modal-content h2 {
  margin-top: 0;
  color: #333;
  text-align: center;
}

.modal-content p {
  color: #666;
  text-align: center;
  font-size: 16px;
}

.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.3s ease;
}

.close:hover {
  color: #000;
}

.modal-buttons {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 20px;
}

.btn-cancel,
.btn-confirm {
  padding: 10px 25px;
  border: none;
  border-radius: 4px;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: bold;
}

.btn-cancel {
  background-color: #ddd;
  color: #333;
}

.btn-cancel:hover {
  background-color: #999;
  color: white;
}

.btn-confirm {
  background-color: #b33a3a;
  color: white;
}

.btn-confirm:hover {
  background-color: #8b2a2a;
}