/* ================== GENERAL BODY ================== */
body {
  font-family: 'Poppins', sans-serif;
  margin: 0;
  padding: 0;
  min-height: 100vh;
  background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding-top: 50px;
  transition: background 0.5s;
}

/* ================== LOGIN SECTION ================== */
#loginSection {
  width: 100%;
  max-width: 420px;
  display: flex;
  justify-content: center;
  align-items: center;
}

#loginSection .card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 24px;
  padding: 40px 30px;
  backdrop-filter: blur(18px);
  box-shadow: 0 12px 35px rgba(0,0,0,0.6);
  transition: transform 0.3s, box-shadow 0.3s;
}

#loginSection .card:hover {
  transform: translateY(-7px);
  box-shadow: 0 16px 50px rgba(0,0,0,0.7);
}

#loginSection h4 {
  text-align: center;
  font-weight: 800;
  margin-bottom: 35px;
  font-size: 1.6rem;
  letter-spacing: 1px;
  text-shadow: 0 2px 15px rgba(0,0,0,0.4);
  color: #ffffff;
}

/* INPUT FIELDS */
#loginSection input.form-control {
  background: rgba(255, 255, 255, 0.12);
  border: none;
  border-radius: 14px;
  color: #fff;
  padding: 14px 18px;
  margin-bottom: 18px;
  transition: all 0.3s;
}

#loginSection input.form-control::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

#loginSection input.form-control:focus {
  background: rgba(255, 255, 255, 0.2);
  box-shadow: 0 0 15px rgba(33, 203, 243, 0.8);
  color: #fff;
  outline: none;
}

/* PASSWORD TOGGLE */
#togglePass {
  border: none;
  background: transparent;
  color: #fff;
}

#togglePass:hover {
  color: #21cbf3;
  transform: scale(1.15);
  transition: 0.2s;
}

/* LOGIN BUTTON */
#loginBtn {
  background: linear-gradient(135deg, #21cbf3, #2196f3);
  border: none;
  border-radius: 16px;
  font-weight: 700;
  padding: 14px 0;
  font-size: 1rem;
  transition: all 0.3s;
}

#loginBtn:hover {
  background: linear-gradient(135deg, #2196f3, #21cbf3);
  box-shadow: 0 10px 25px rgba(33,203,243,0.6);
  transform: translateY(-3px);
}

/* ERROR MESSAGE */
#loginError {
  color: #ff4b2b;
  font-weight: 600;
  text-align: center;
  margin-top: 12px;
  display: none;
  animation: shake 0.3s;
}

#loginError.show {
  display: block;
}

/* SHAKE ANIMATION */
@keyframes shake {
  0% { transform: translateX(0px); }
  25% { transform: translateX(-5px); }
  50% { transform: translateX(5px); }
  75% { transform: translateX(-5px); }
  100% { transform: translateX(0px); }
}

/* ================== NAVBAR ================== */
.navbar {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(14px);
  border-radius: 20px;
  padding: 14px 22px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.3);
}

.navbar-brand {
  font-weight: 800;
  font-size: 26px;
  letter-spacing: 1px;
  color: #ffffff;
}

/* ================== CARDS ================== */
.card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 24px;
  color: #fff;
  padding: 25px;
  transition: 0.3s ease-in-out;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 45px rgba(0,0,0,0.6);
}

/* ================== CAFÉ LIST ================== */
.list-group-item {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border: none;
  margin-bottom: 10px;
  border-radius: 16px;
  font-weight: 600;
  transition: all 0.3s;
  cursor: pointer;
}

.list-group-item:hover,
.list-group-item.active {
  background: linear-gradient(135deg, #6a11cb, #2575fc);
  transform: scale(1.04);
  box-shadow: 0 6px 20px rgba(0,0,0,0.35);
}

/* ================== TABLE ================== */
.table {
  border-radius: 18px;
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.table thead {
  background: linear-gradient(135deg, #ff6a00, #ee0979);
  color: #fff;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.table tbody tr {
  background: rgba(255, 255, 255, 0.07);
  transition: 0.3s ease;
}

.table tbody tr:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.01);
}

.table tbody td {
  vertical-align: middle;
}

/* ================== STATUS BUTTONS ================== */
.btn-status {
  border-radius: 20px;
  font-size: 13px;
  padding: 6px 14px;
  font-weight: 600;
  transition: all 0.3s;
}

.btn-status.pending {
  background: linear-gradient(135deg, #ff9800, #ffb74d);
  color: #fff;
  box-shadow: 0 3px 12px rgba(255, 152, 0, 0.5);
}

.btn-status.completed {
  background: linear-gradient(135deg, #4caf50, #81c784);
  color: #fff;
  box-shadow: 0 3px 12px rgba(76, 175, 80, 0.5);
}

/* ================== BUTTONS ================== */
.btn {
  border-radius: 16px;
  font-weight: 600;
  transition: all 0.3s;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}

.btn-primary {
  background: linear-gradient(135deg, #2196f3, #21cbf3);
  border: none;
}

.btn-success {
  background: linear-gradient(135deg, #43e97b, #38f9d7);
  border: none;
}

.btn-danger {
  background: linear-gradient(135deg, #ff416c, #ff4b2b);
  border: none;
}

/* ================== INPUTS ================== */
input, select {
  background: rgba(255, 255, 255, 0.15) !important;
  border: none !important;
  color: #fff !important;
  border-radius: 14px;
  padding: 10px 12px;
}

input::placeholder {
  color: rgba(255, 255, 255, 0.6) !important;
}

input:focus, select:focus {
  background: rgba(255, 255, 255, 0.25) !important;
  box-shadow: 0 0 15px rgba(33, 203, 243, 0.7) !important;
  color: #fff !important;
  outline: none;
}

/* ================== MODALS ================== */
.modal-content {
  background: rgba(30,30,30,0.95);
  border-radius: 24px;
  border: none;
  backdrop-filter: blur(18px);
  box-shadow: 0 15px 45px rgba(0,0,0,0.6);
}

/* ================== GLOW ANIMATIONS ================== */
@keyframes glow {
  0% { box-shadow: 0 0 6px #21cbf3; }
  50% { box-shadow: 0 0 22px #21cbf3; }
  100% { box-shadow: 0 0 6px #21cbf3; }
}

.glow {
  animation: glow 2s infinite;
}

/* ================== RESPONSIVE ================== */
@media(max-width: 768px) {
  body {
    padding-top: 20px;
  }

  .card {
    padding: 20px;
  }

  #loginSection {
    max-width: 350px;
  }

  .table thead {
    font-size: 12px;
  }
}
