/* ===============================
   Global CSS - Blue Palette
   =============================== */

/* Color Variables */
:root {
  --federal-blue: #03045e;
  --marian-blue: #023e8a;
  --honolulu-blue: #0077b6;
  --blue-green: #0096c7;
  --pacific-cyan: #00b4d8;
  --vivid-sky-blue: #48cae4;
  --non-photo-blue: #90e0ef;
  --non-photo-blue-2: #ade8f4;
  --light-cyan: #caf0f8;

  --font-base: 'Roboto', Arial, sans-serif;
  --font-size-base: 16px;
  --line-height-base: 1.5;
}

/* Reset */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  font-family: var(--font-base);
  font-size: var(--font-size-base);
  line-height: var(--line-height-base);
  color: var(--federal-blue);
  background-color: var(--light-cyan);
  min-height: 100%;
  
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
  color: var(--federal-blue);
  margin-bottom: 0.75rem;
  font-weight: 600;
}

h1 { font-size: 2rem; }
h2 { font-size: 1.75rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

/* Paragraphs */
p, span, label {
  color: var(--federal-blue);
  margin-bottom: 1rem;
}

/* Links */
a {
  color: var(--honolulu-blue);
  text-decoration: none;
  transition: color 0.3s;
}

a:hover {
  color: var(--blue-green);
}

/* Buttons */
button, .btn {
  padding: 10px 16px;
  font-size: 1rem;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: background 0.3s, transform 0.1s;
}

.btn-primary {
  background-color: var(--honolulu-blue);
  color: #fff;
}

.btn-primary:hover {
  background-color: var(--blue-green);
  transform: translateY(-1px);
}

.btn-secondary {
  background-color: var(--pacific-cyan);
  color: var(--federal-blue);
}

.btn-secondary:hover {
  background-color: var(--vivid-sky-blue);
  color: var(--federal-blue);
}

/* Forms */
input, select, textarea {
  width: 100%;
  padding: 8px 12px;
  margin-bottom: 12px;
  border: 1px solid var(--marian-blue);
  border-radius: 6px;
  font-size: 1rem;
  color: var(--federal-blue);
  background-color: #fff;
}

input:focus, select:focus, textarea:focus {
  border-color: var(--honolulu-blue);
  outline: none;
}

/* Labels */
label {
  display: block;
  margin-bottom: 4px;
  font-weight: 500;
}

/* Tables */
table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 16px;
}

th, td {
  padding: 12px;
  border: 1px solid var(--non-photo-blue-2);
  text-align: left;
}

th {
  background-color: var(--pacific-cyan);
  color: var(--federal-blue);
}

tr:nth-child(even) {
  background-color: var(--non-photo-blue-2);
}

/* Alerts */
.alert {
  padding: 12px 16px;
  border-radius: 6px;
  margin-bottom: 16px;
  font-weight: 500;
}

.alert-success { background-color: var(--blue-green); color: #fff; }
.alert-error { background-color: var(--honolulu-blue); color: #fff; }
.alert-warning { background-color: var(--pacific-cyan); color: var(--federal-blue); }

/* Utility */
.text-center { text-align: center; }
.text-right { text-align: right; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }

/* Footer */
footer {
  background-color: var(--federal-blue);
  color: #fff;
  text-align: center;
  padding: 16px 0;
  margin-top: 32px;
}


/* =================================================================== */
/* =================================================================== */
/* =================================================================== */
/* =================================================================== */
/* =================================================================== */
/* =================================================================== */

/* ===============================
   Global Animations
   =============================== */
   @keyframes fadeIn {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-20px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes slideInRight {
    from { opacity: 0; transform: translateX(20px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.03); }
}

/* ===============================
   Dashboard Animations
   =============================== */
.dashboard-container {
    animation: fadeIn 0.6s ease-in-out;
}

.dashboard-section {
    animation: fadeIn 0.5s ease-in-out;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.dashboard-section:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

/* ===============================
   Form Animations
   =============================== */
.request-container {
    animation: fadeIn 0.5s ease-in-out;
}

.form-section {
    animation: fadeIn 0.4s ease-in-out;
    transition: transform 0.2s, box-shadow 0.2s;
}

.form-section:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

/* Buttons pulse slightly on hover */
.action-btn:hover,
.submit-btn:hover,
.remove-item:hover,
.danger-btn:hover,
.dashboard-button:hover {
    animation: pulse 0.6s ease-in-out;
}

/* ===============================
   Alert Messages Animations
   =============================== */
.form-error,
.form-warning,
.form-info {
    animation: slideInLeft 0.4s ease forwards;
}

/* Slight stagger for multiple alerts in the same container */
.form-error:nth-child(1),
.form-warning:nth-child(1),
.form-info:nth-child(1) { animation-delay: 0s; }
.form-error:nth-child(2),
.form-warning:nth-child(2),
.form-info:nth-child(2) { animation-delay: 0.1s; }
.form-error:nth-child(3),
.form-warning:nth-child(3),
.form-info:nth-child(3) { animation-delay: 0.2s; }

/* ===============================
   General Hover & Focus Animations
   =============================== */
input:focus, select:focus, textarea:focus {
    transition: border-color 0.3s, box-shadow 0.3s;
    box-shadow: 0 0 6px var(--honolulu-blue, #0077b6ff);
}

.dashboard-button,
.action-btn,
.submit-btn,
.remove-item,
.danger-btn {
    transition: transform 0.2s ease, background 0.3s ease, box-shadow 0.2s ease;
}
/* ===============================
   Floating Background Animations
   =============================== */

/* Floating circle for dashboard cards */
.dashboard-section::before {
  content: "";
  position: absolute;
  top: -40px;
  right: -40px;
  width: 100px;
  height: 100px;
  background-color: var(--pacific-cyan);
  border-radius: 50%;
  opacity: 0.2;
  pointer-events: none;
  animation: float 6s ease-in-out infinite alternate;
}

/* Floating circle for form sections */
.form-section::before {
  content: "";
  position: absolute;
  top: -30px;
  left: -30px;
  width: 60px;
  height: 60px;
  background-color: var(--vivid-sky-blue);
  border-radius: 50%;
  opacity: 0.15;
  pointer-events: none;
  animation: float 5s ease-in-out infinite alternate-reverse;
}

/* Floating animation */
@keyframes float {
  0% { transform: translateY(0px) translateX(0px); }
  50% { transform: translateY(-8px) translateX(4px); }
  100% { transform: translateY(0px) translateX(0px); }
}

/* Fade-in and floating for alert messages */
.form-error,
.form-warning,
.form-info {
  position: relative;
  animation: slideInLeft 0.4s ease forwards, floatAlert 3s ease-in-out infinite alternate;
}

@keyframes floatAlert {
  0% { transform: translateY(0); }
  50% { transform: translateY(-2px); }
  100% { transform: translateY(0); }
}


/* ======================================================== */
/* ======================================================== */
/* ======================================================== */
/* ======================================================== */
/* ======================================================== */
/* ======================================================== */

/* ===============================
   Glass-Style Navbar - Blue Palette
   =============================== */

   .navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 24px;
    background-color: rgba(2, 62, 138, 0.85); /* Marian Blue with transparency */
    backdrop-filter: blur(8px); /* glass effect */
    -webkit-backdrop-filter: blur(8px);
    color: #fff;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    position: sticky;
    top: 0;
    z-index: 1000;
}

/* Left side - logo + title */
.navbar-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.navbar-logo {
    height: 48px;
    width: auto;
    border-radius: 6px;
    border: 1px solid rgba(255,255,255,0.3);
}

.navbar-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #fff;
}

/* Right side - navigation links */
.navbar-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.nav_link {
    font-size: 1rem;
    font-weight: 500;
    color: #fff;
    text-decoration: none;
    padding: 6px 12px;
    border-radius: 6px;
    transition: background 0.3s, transform 0.1s;
}

.nav_link:hover {
    background-color: rgba(0, 119, 182, 0.85); /* Honolulu Blue with transparency */
    transform: translateY(-1px);
}

.nav_link.active {
    background-color: rgba(0, 150, 199, 0.85); /* Blue-Green */
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .navbar-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .navbar-right {
        flex-wrap: wrap;
        gap: 8px;
    }
}






/* ======================================================== */
/* ======================================================== */
/* ======================================================== */
/* ======================================================== */
/* ======================================================== */
/* ======================================================== */

/* ===============================
   Dashboard Page - Interactive Cards
   =============================== */

   .dashboard-container {
    max-width: 1000px;
    margin: 40px auto;
    padding: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
    animation: fadeIn 0.6s ease-in-out;
}

.dashboard-title {
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--federal-blue);
    text-align: center;
    margin-bottom: 16px;
    position: relative;
}

.dashboard-title::after {
    content: "";
    display: block;
    width: 80px;
    height: 4px;
    background-color: var(--honolulu-blue);
    border-radius: 2px;
    margin: 8px auto 0;
}

/* Cards container */
.dashboard-sections {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
}

/* Individual card */
.dashboard-section {
    background: linear-gradient(145deg, var(--non-photo-blue), var(--non-photo-blue-2));
    border-radius: 16px;
    padding: 32px 24px;
    width: 260px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    text-align: center;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.dashboard-section:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

/* Icon container */
.dashboard-section::before {
    content: "";
    position: absolute;
    top: -40px;
    right: -40px;
    width: 100px;
    height: 100px;
    background-color: var(--pacific-cyan);
    border-radius: 50%;
    opacity: 0.2;
    pointer-events: none;
}

/* Card title */
.dashboard-section h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--federal-blue);
    z-index: 1;
}

/* Dashboard buttons */
.dashboard-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    font-size: 1rem;
    font-weight: 500;
    color: #fff;
    background-color: var(--honolulu-blue);
    border-radius: 10px;
    text-decoration: none;
    z-index: 1;
    transition: background 0.3s, transform 0.1s, box-shadow 0.2s;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.dashboard-button:hover {
    background-color: var(--blue-green);
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}

/* Emoji/Icon inside button */
.dashboard-button::before {
    content: "";
}

/* Fade-in animation */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .dashboard-sections {
        flex-direction: column;
        align-items: center;
    }

    .dashboard-section {
        width: 90%;
        padding: 28px 20px;
    }
}






/* ======================================================== */
/* ======================================================== */
/* ======================================================== */
/* ======================================================== */
/* ======================================================== */
/* ======================================================== */

/* ===============================
   Purchase Request Form - Blue Palette
   =============================== */

   .request-container {
    max-width: 900px;
    margin: 32px auto;
    padding: 32px;
    background: linear-gradient(145deg, var(--non-photo-blue-2), var(--light-cyan));
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    gap: 32px;
    animation: fadeIn 0.5s ease-in-out;
}

.request-title {
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--federal-blue);
    text-align: center;
    margin-bottom: 16px;
    position: relative;
}

.request-title::after {
    content: "";
    display: block;
    width: 80px;
    height: 4px;
    background-color: var(--honolulu-blue);
    border-radius: 2px;
    margin: 8px auto 0;
}

.section-title {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--marian-blue);
    margin-bottom: 12px;
}

/* Form section cards */
.form-section {
    background: var(--non-photo-blue);
    padding: 24px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: relative;
    transition: transform 0.2s, box-shadow 0.2s;
}

.form-section:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

/* Labels & Inputs */
label {
    display: block;
    font-weight: 500;
    margin-bottom: 4px;
    color: var(--federal-blue);
}

input, select, textarea {
    width: 100%;
    padding: 10px 14px;
    border-radius: 8px;
    border: 1px solid var(--marian-blue);
    font-size: 1rem;
    color: var(--federal-blue);
    background-color: #fff;
    transition: border 0.3s;
}

input:focus, select:focus, textarea:focus {
    border-color: var(--honolulu-blue);
    outline: none;
}

/* Buttons */
.action-btn, .submit-btn, .remove-item, .danger-btn {
    padding: 12px 18px;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: background 0.3s, transform 0.1s, box-shadow 0.2s;
}

.action-btn {
    background-color: var(--honolulu-blue);
    color: #fff;
}

.action-btn:hover {
    background-color: var(--blue-green);
    transform: translateY(-1px);
}

.submit-btn {
    background-color: var(--honolulu-blue);
    color: #fff;
    width: 100%;
    margin-top: 16px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.submit-btn:hover {
    background-color: var(--blue-green);
    transform: translateY(-1px);
}

.remove-item, .danger-btn {
    background-color: var(--federal-blue);
    color: #fff;
    align-self: flex-end;
}

.remove-item:hover, .danger-btn:hover {
    background-color: var(--marian-blue);
    transform: translateY(-1px);
}

/* Total display */
.total-display {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--honolulu-blue);
    text-align: right;
    margin-top: 12px;
}

/* Form error messages */
.form-error {
    color: var(--marian-blue);
    font-size: 0.9rem;
    margin-top: 4px;
    background-color: rgba(255,255,255,0.6);
    padding: 4px 8px;
    border-radius: 6px;
}

.form-error::before {
  content: "❗";
  font-size: 1rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .form-section {
        padding: 20px;
    }

    .action-btn, .submit-btn, .remove-item {
        width: 100%;
        text-align: center;
    }
}

/* Fade-in animation */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}






/* ======================================================== */
/* ======================================================== */
/* ======================================================== */
/* ======================================================== */
/* ======================================================== */
/* ======================================================== */


/* ===============================
   Success Page Styles
   =============================== */

   .success-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 48px 16px;
    min-height: 70vh;
    animation: fadeIn 0.6s ease-in-out;
}

.success-card {
    background: linear-gradient(145deg, var(--non-photo-blue-2), var(--light-cyan));
    padding: 32px 28px;
    border-radius: 16px;
    box-shadow: 0 12px 28px rgba(0,0,0,0.12);
    text-align: center;
    max-width: 500px;
    position: relative;
    animation: floatCard 6s ease-in-out infinite alternate;
}

.success-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--federal-blue);
    margin-bottom: 16px;
}

.success-message {
    font-size: 1.1rem;
    color: var(--marian-blue);
    margin-bottom: 24px;
    line-height: 1.5;
}

.success-btn {
    display: inline-block;
    padding: 12px 24px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    background-color: var(--honolulu-blue);
    color: #fff;
    text-decoration: none;
    transition: background 0.3s, transform 0.2s, box-shadow 0.2s;
}

.success-btn:hover {
    background-color: var(--blue-green);
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

/* Floating card animation */
@keyframes floatCard {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-6px); }
    100% { transform: translateY(0px); }
}

/* Fade-in for card */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}





/* ======================================================== */
/* ======================================================== */
/* ======================================================== */
/* ======================================================== */
/* ======================================================== */
/* ======================================================== */

/* ===============================
   My Requests Page
   =============================== */

/* Page Title */
.page-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--federal-blue);
  margin: 32px 0 16px 0;
  text-align: center;
  animation: fadeIn 0.6s ease-in-out;
}

/* Request Container */
.request-container {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto 48px auto;
}

/* Individual Request Box */
.request-box {
  position: relative;
  background: linear-gradient(135deg, var(--non-photo-blue-2), var(--light-cyan));
  border-radius: 14px;
  padding: 20px 24px;
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: fadeIn 0.5s ease-in-out;
}

.request-box:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 14px 30px rgba(0,0,0,0.15);
}

/* Floating circle accent behind each box */
.request-box::before {
  content: "";
  position: absolute;
  top: -30px;
  right: -30px;
  width: 70px;
  height: 70px;
  background-color: var(--vivid-sky-blue);
  border-radius: 50%;
  opacity: 0.15;
  pointer-events: none;
  animation: float 6s ease-in-out infinite alternate;
}

/* Top Bar */
.request-box-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.request-id {
  font-weight: 600;
  color: var(--marian-blue);
}

.status-badge {
  padding: 6px 12px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.9rem;
  color: #fff;
  text-align: center;
  min-width: 90px;
  box-shadow: 0 3px 6px rgba(0,0,0,0.1);
}

/* Status colors */
.status-badge.pending { background-color: var(--honolulu-blue); }
.status-badge.approved { background-color: var(--blue-green); }
.status-badge.rejected { background-color: #d00000; } /* Strong red for clarity */
.status-badge.ordered { background-color: var(--pacific-cyan); color: var(--federal-blue); }

/* Info Body */
.request-box-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.request-columns {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.request-column {
  flex: 1 1 45%;
  display: flex;
  flex-direction: column;
  gap: 4px;
  color: var(--marian-blue);
  font-size: 0.95rem;
}

/* Actions */
.request-actions {
  margin-top: 16px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.request-actions .btn {
  padding: 8px 16px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.request-actions .btn:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 6px 18px rgba(0,0,0,0.12);
}

/* Button Colors */
.btn-warning { background-color: var(--honolulu-blue); color: #fff; }
.btn-danger { background-color: #d00000; color: #fff; }
.btn-primary { background-color: var(--blue-green); color: #fff; }

/* Empty message */
.empty-message {
  font-size: 1.1rem;
  text-align: center;
  color: var(--marian-blue);
  margin-top: 32px;
  animation: fadeIn 0.5s ease-in-out;
}

/* Floating animation for boxes */
@keyframes float {
  0% { transform: translateY(0px) translateX(0px); }
  50% { transform: translateY(-6px) translateX(3px); }
  100% { transform: translateY(0px) translateX(0px); }
}

/* Fade-in animation reused */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .request-columns {
      flex-direction: column;
  }

  .request-column {
      flex: 1 1 100%;
  }

  .request-actions {
      flex-direction: column;
  }
}






/* ======================================================== */
/* ======================================================== */
/* ======================================================== */
/* ======================================================== */
/* ======================================================== */
/* ======================================================== */

/* ===============================
   Edit Request Form Styles
   =============================== */

   .container {
    max-width: 900px;
    margin: 32px auto;
    padding: 24px;
    background-color: var(--light-cyan);
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
    display: flex;
    flex-direction: column;
    gap: 24px;
    animation: fadeIn 0.6s ease-in-out;
}

h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--federal-blue);
    text-align: center;
    margin-bottom: 16px;
}

.section-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--marian-blue);
    margin-bottom: 12px;
}

/* Form sections / items */
.form-section {
    background-color: var(--non-photo-blue-2);
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.form-section:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.1);
}

/* Labels & Inputs */
label {
    display: block;
    font-weight: 500;
    margin-bottom: 4px;
    color: var(--marian-blue);
}

input, select, textarea {
    width: 100%;
    padding: 8px 12px;
    border-radius: 6px;
    border: 1px solid var(--honolulu-blue);
    font-size: 1rem;
    color: var(--federal-blue);
}

input:focus, select:focus, textarea:focus {
    border-color: var(--blue-green);
    outline: none;
    box-shadow: 0 0 6px rgba(0,150,199,0.4);
    transition: box-shadow 0.3s;
}

/* Buttons */
.nav-button, .remove-item, .small-remove {
    padding: 10px 16px;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: background 0.3s, transform 0.1s, box-shadow 0.2s;
}

.nav-button {
    background-color: var(--honolulu-blue);
    color: #fff;
}

.nav-button:hover {
    background-color: var(--blue-green);
    transform: translateY(-1px) scale(1.02);
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}

.remove-item, .small-remove {
    background-color: #d00000;
    color: #fff;
    align-self: flex-end;
}

.remove-item:hover, .small-remove:hover {
    background-color: #b00000;
    transform: translateY(-1px) scale(1.02);
}

/* Total display */
p strong {
    color: var(--federal-blue);
    font-size: 1.1rem;
}

/* Form error messages */
.form-error {
    color: #d00000; /* high contrast red */
    font-size: 0.9rem;
    margin-top: 4px;
    font-weight: 500;
    animation: fadeIn 0.4s ease-in-out;
}

/* Floating animation for cards (optional subtle) */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-4px); }
    100% { transform: translateY(0px); }
}

/* Fade-in animation for sections */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .form-section {
        padding: 16px;
    }

    .nav-button, .remove-item, .small-remove {
        width: 100%;
        text-align: center;
    }
}






/* ======================================================== */
/* ======================================================== */
/* ======================================================== */
/* ======================================================== */
/* ======================================================== */
/* ======================================================== */



/* ===============================
   Confirm Delete Styles
   =============================== */

   .confirm-delete-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 70vh;
    padding: 20px;
    animation: fadeIn 0.6s ease-in-out;
}

.confirm-delete-box {
    background-color: var(--light-cyan);
    padding: 32px 24px;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
    max-width: 450px;
    width: 100%;
    text-align: center;
    animation: float 2s ease-in-out infinite;
}

.confirm-delete-box h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--federal-blue);
    margin-bottom: 16px;
}

.confirm-delete-box p {
    font-size: 1.1rem;
    color: var(--marian-blue);
    margin-bottom: 24px;
}

.confirm-delete-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.btn-danger, .btn-secondary {
    padding: 10px 20px;
    font-weight: 600;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: background 0.3s, transform 0.1s, box-shadow 0.2s;
    font-size: 1rem;
}

.btn-danger {
    background-color: #d00000;
    color: #fff;
}

.btn-danger:hover {
    background-color: #b00000;
    transform: translateY(-1px) scale(1.02);
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}

.btn-secondary {
    background-color: var(--honolulu-blue);
    color: #fff;
}

.btn-secondary:hover {
    background-color: var(--blue-green);
    transform: translateY(-1px) scale(1.02);
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}

/* Animations */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-4px); }
    100% { transform: translateY(0px); }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Responsive adjustments */
@media (max-width: 480px) {
    .confirm-delete-buttons {
        flex-direction: column;
    }

    .btn-danger, .btn-secondary {
        width: 100%;
        text-align: center;
    }
}




/* ======================================================== */
/* ======================================================== */
/* ======================================================== */
/* ======================================================== */
/* ======================================================== */
/* ======================================================== */

/* Comments Section */
.comments-section {
  background-color: var(--non-photo-blue);
  padding: 20px;
  border-radius: 12px;
  margin-bottom: 24px;
  animation: fadeIn 0.5s ease-in-out;
  position: relative;  /* ensure no overlap with form */
}

/* Comment Form */
.comment-form-container {
  margin-top: 16px;
  margin-bottom: 40px; /* add extra space to separate from back button */
}

/* Back Button Container */
.back-button-container {
  margin-top: 32px; /* space from comments */
  display: flex;
  justify-content: flex-start; /* left-aligned */
}






/* ======================================================== */
/* ======================================================== */
/* ======================================================== */
/* ======================================================== */
/* ======================================================== */
/* ======================================================== */


/* Container */
.reorder-container {
  max-width: 900px;
  margin: 40px auto;
  padding: 0 16px;
}

/* Card */
.reorder-card {
  background-color: var(--non-photo-blue-2);
  padding: 24px;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
  animation: fadeIn 0.5s ease-in-out;
}

/* Titles */
.reorder-title {
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--federal-blue);
  margin-bottom: 8px;
}

.reorder-subtitle {
  font-size: 1rem;
  color: var(--marian-blue);
  margin-bottom: 20px;
}

.section-title {
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--federal-blue);
  margin-bottom: 12px;
}

/* Table */
.reorder-table th, .reorder-table td {
  text-align: left;
  vertical-align: middle;
}

.reorder-table tbody tr:hover {
  background-color: var(--light-cyan);
  transition: background-color 0.3s;
}

/* Total */
.total-amount {
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--federal-blue);
  text-align: right;
  margin-top: 16px;
}

/* Buttons */
.reorder-actions {
  margin-top: 24px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-animate {
  padding: 10px 18px;
  font-weight: 500;
  border-radius: 8px;
  transition: transform 0.1s, background 0.3s;
}

.btn-animate:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}




/* ======================================================== */
/* ======================================================== */
/* ======================================================== */
/* ======================================================== */
/* ======================================================== */
/* ======================================================== */

/* account stlye */

/* Container */
.account-container {
  max-width: 700px;
  margin: 40px auto;
  padding: 0 16px;
}

/* Card */
.account-card {
  background-color: var(--non-photo-blue-2);
  padding: 24px;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
  animation: fadeIn 0.5s ease-in-out;
}

/* Title */
.account-title {
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--federal-blue);
  margin-bottom: 16px;
}

/* Info */
.account-info p {
  font-size: 1rem;
  color: var(--marian-blue);
  margin-bottom: 8px;
}

/* Links */
.account-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 16px;
}

.account-link {
  display: inline-block;
  padding: 10px 16px;
  border-radius: 8px;
  background-color: var(--blue-green);
  color: #fff;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.3s, transform 0.1s;
}

.account-link:hover {
  background-color: var(--honolulu-blue);
  transform: translateY(-2px);
}

/* Animation */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}



/* ======================================================== */
/* ======================================================== */
/* ======================================================== */
/* ======================================================== */
/* ======================================================== */
/* ======================================================== */

/* passwrod change.html */

/* Container */
.password-container {
  max-width: 500px;
  margin: 50px auto;
  padding: 0 16px;
}

/* Card */
.password-card {
  background-color: var(--non-photo-blue-2);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
  animation: fadeIn 0.5s ease-in-out;
}

/* Title */
.password-title {
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--federal-blue);
  margin-bottom: 24px;
  text-align: center;
}

/* Form */
.password-form p {
  margin-bottom: 12px;
}

.password-form input {
  width: 100%;
  padding: 10px 12px;
  border-radius: 6px;
  border: 1px solid var(--marian-blue);
  font-size: 1rem;
  color: var(--federal-blue);
  transition: border 0.3s;
}

.password-form input:focus {
  outline: none;
  border-color: var(--blue-green);
}

/* Errors */
.form-errors {
  background-color: #ffe6e6;
  border-left: 4px solid var(--burnt-sienna);
  padding: 12px;
  border-radius: 6px;
  margin-bottom: 16px;
}

.form-errors ul {
  margin: 0;
  padding-left: 18px;
  color: var(--burnt-sienna);
}

/* Submit button */
.btn-submit {
  display: block;
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 8px;
  background-color: var(--blue-green);
  color: #fff;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.3s, transform 0.1s;
}

.btn-submit:hover {
  background-color: var(--honolulu-blue);
  transform: translateY(-2px);
}

/* Animation */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}




/* ======================================================== */
/* ======================================================== */
/* ======================================================== */
/* ======================================================== */
/* ======================================================== */
/* ======================================================== */


/* Container */
.password-done-container {
  max-width: 500px;
  margin: 50px auto;
  padding: 0 16px;
}

/* Card */
.password-done-card {
  background-color: var(--non-photo-blue-2);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
  text-align: center;
  animation: fadeIn 0.5s ease-in-out;
}

/* Title */
.password-done-title {
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--federal-blue);
  margin-bottom: 16px;
}

/* Message */
.password-done-message {
  font-size: 1rem;
  color: var(--marian-blue);
  margin-bottom: 24px;
}

/* Button */
.password-done-card .btn-submit {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 8px;
  background-color: var(--blue-green);
  color: #fff;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.3s, transform 0.1s;
}

.password-done-card .btn-submit:hover {
  background-color: var(--honolulu-blue);
  transform: translateY(-2px);
}

/* Reuse fadeIn animation from previous CSS */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}





/* ======================================================== */
/* ======================================================== */
/* ======================================================== */
/* ======================================================== */
/* ======================================================== */
/* ======================================================== */

/* Container */
.edit-profile-container {
  max-width: 700px;
  margin: 40px auto;
  padding: 0 16px;
}

/* Card */
.edit-profile-card {
  background-color: var(--non-photo-blue-2);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
  animation: fadeIn 0.5s ease-in-out;
}

/* Title */
.edit-profile-title {
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--federal-blue);
  text-align: center;
  margin-bottom: 24px;
}

/* Fieldset */
.profile-fieldset {
  border: 1px solid var(--marian-blue);
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 20px;
}

/* Legend */
.profile-fieldset legend {
  font-weight: 600;
  color: var(--federal-blue);
  padding: 0 8px;
}

/* Form Errors */
.form-error {
  color: var(--burnt-sienna);
  font-size: 0.9rem;
  margin-top: 8px;
}

/* Buttons */
.btn-submit, .btn-logout {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.3s, transform 0.1s;
}

.btn-submit {
  background-color: var(--blue-green);
  color: #fff;
  border: none;
  margin-top: 12px;
}

.btn-submit:hover {
  background-color: var(--honolulu-blue);
  transform: translateY(-2px);
}

.btn-logout {
  background-color: var(--sandy-brown);
  color: #fff;
  text-align: center;
  padding: 10px 20px;
}

.btn-logout:hover {
  background-color: var(--burnt-sienna);
  transform: translateY(-2px);
}

/* Reuse fadeIn animation */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}






/* ======================================================== */
/* ======================================================== */
/* ======================================================== */
/* ======================================================== */
/* ======================================================== */
/* ======================================================== */

/* Login Page Styles */
.login-container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 80vh;
  background: var(--light-cyan);
  padding: 20px;
}

.login-card {
  background-color: #fff;
  padding: 32px 28px;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.12);
  max-width: 400px;
  width: 100%;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}

.login-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.16);
}

.login-title {
  font-size: 1.8rem;
  margin-bottom: 24px;
  color: var(--marian-blue);
  font-weight: 600;
}

.login-form .form-group {
  margin-bottom: 16px;
  text-align: left;
}

.login-form label {
  font-weight: 500;
  color: var(--federal-blue);
}

.login-form .form-control {
  width: 100%;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid var(--marian-blue);
  font-size: 1rem;
  transition: border 0.3s, box-shadow 0.3s;
}

.login-form .form-control:focus {
  border-color: var(--pacific-cyan);
  box-shadow: 0 0 8px rgba(0,180,216,0.3);
  outline: none;
}

.btn-login {
  width: 100%;
  background-color: var(--honolulu-blue);
  color: #fff;
  font-weight: 500;
  padding: 10px 0;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s, transform 0.1s;
}

.btn-login:hover {
  background-color: var(--blue-green);
  transform: translateY(-1px);
}

.login-footer {
  margin-top: 18px;
  font-size: 0.95rem;
  color: var(--federal-blue);
}

.login-footer a {
  color: var(--pacific-cyan);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

.login-footer a:hover {
  color: var(--vivid-sky-blue);
}

/* Error message */
.form-error {
  color: #d9534f;
  font-size: 0.9rem;
  margin-bottom: 12px;
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-fade-in {
  animation: fadeIn 0.5s ease forwards;
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-5px); }
  40%, 80% { transform: translateX(5px); }
}

.animate-shake {
  animation: shake 0.4s;
}






/* ======================================================== */
/* ======================================================== */
/* ======================================================== */
/* ======================================================== */
/* ======================================================== */
/* ======================================================== */

/* Register Page Styles */
.register-container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 80vh;
  background: var(--light-cyan);
  padding: 20px;
}

.register-card {
  background-color: #fff;
  padding: 32px 28px;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.12);
  max-width: 450px;
  width: 100%;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}

.register-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.16);
}

.register-title {
  font-size: 1.8rem;
  margin-bottom: 24px;
  color: var(--marian-blue);
  font-weight: 600;
}

.register-form .form-group {
  margin-bottom: 16px;
  text-align: left;
}

.register-form label {
  font-weight: 500;
  color: var(--federal-blue);
}

.register-form .form-control {
  width: 100%;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid var(--marian-blue);
  font-size: 1rem;
  transition: border 0.3s, box-shadow 0.3s;
}

.register-form .form-control:focus {
  border-color: var(--pacific-cyan);
  box-shadow: 0 0 8px rgba(0,180,216,0.3);
  outline: none;
}

.btn-register {
  width: 100%;
  background-color: var(--honolulu-blue);
  color: #fff;
  font-weight: 500;
  padding: 10px 0;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s, transform 0.1s;
}

.btn-register:hover {
  background-color: var(--blue-green);
  transform: translateY(-1px);
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-fade-in {
  animation: fadeIn 0.5s ease forwards;
}






/* ======================================================== */
/* ======================================================== */
/* ======================================================== */
/* ======================================================== */
/* ======================================================== */
/* ======================================================== */

/* Reuse the same styles as Stage 1 with slight adjustments */
.register-container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 80vh;
  background: var(--light-cyan);
  padding: 20px;
}

.register-card {
  background-color: #fff;
  padding: 32px 28px;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.12);
  max-width: 500px;
  width: 100%;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}

.register-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.16);
}

.register-title {
  font-size: 1.8rem;
  margin-bottom: 24px;
  color: var(--marian-blue);
  font-weight: 600;
}

.register-form .form-group {
  margin-bottom: 16px;
  text-align: left;
}

.register-form label {
  font-weight: 500;
  color: var(--federal-blue);
}

.register-form .form-control,
.register-form input[type="file"] {
  width: 100%;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid var(--marian-blue);
  font-size: 1rem;
  transition: border 0.3s, box-shadow 0.3s;
}

.register-form .form-control:focus,
.register-form input[type="file"]:focus {
  border-color: var(--pacific-cyan);
  box-shadow: 0 0 8px rgba(0,180,216,0.3);
  outline: none;
}

.btn-register {
  width: 100%;
  background-color: var(--honolulu-blue);
  color: #fff;
  font-weight: 500;
  padding: 10px 0;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s, transform 0.1s;
}

.btn-register:hover {
  background-color: var(--blue-green);
  transform: translateY(-1px);
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-fade-in {
  animation: fadeIn 0.5s ease forwards;
}






/* ======================================================== */
/* ======================================================== */
/* ======================================================== */
/* ======================================================== */
/* ======================================================== */
/* ======================================================== */

/* ===============================
   User Cards - inside dashboard
   =============================== */
   .user-card {
    width: 280px;
    min-height: 180px;
    padding: 24px;
    text-align: left;
  }
  
  .user-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    font-weight: 600;
    color: var(--federal-blue);
  }
  
  .user-card-body p {
    margin: 6px 0;
    font-size: 0.95rem;
    color: #333;
  }
  
  .user-id {
    font-size: 0.9rem;
    color: var(--honolulu-blue);
  }
  /* Status badge base */
.status-badge {
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 0.85rem;
  font-weight: 600;
  background: var(--non-photo-blue);
  color: #1a1a1a; /* darker text */
}

/* Different roles can override background if you want */
.status-badge.admin {
  background: #ffd966;
}

.status-badge.finance {
  background: #c6e6ff;
}

.status-badge.normal {
  background: #e2e2e2;
}




/* ======================================================== */
/* ======================================================== */
/* ======================================================== */
/* ======================================================== */
/* ======================================================== */
/* ======================================================== */

/* Back link under form */
.form-footer .back-link {
  display: inline-block;
  margin-top: 12px;
  font-size: 0.95rem;
  color: var(--honolulu-blue);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.form-footer .back-link:hover {
  color: var(--blue-green);
  text-decoration: underline;
}

/* Fieldset styling for forms */
.form-box fieldset {
  border: 2px solid var(--non-photo-blue-2);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 20px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.form-box legend {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--federal-blue);
  padding: 0 10px;
}



/* ======================================================== */
/* ======================================================== */
/* ======================================================== */
/* ======================================================== */
/* ======================================================== */
/* ======================================================== */





/* ======================================================== */
/* ======================================================== */
/* ======================================================== */
/* ======================================================== */
/* ======================================================== */
/* ======================================================== */





/* ======================================================== */
/* ======================================================== */
/* ======================================================== */
/* ======================================================== */
/* ======================================================== */
/* ======================================================== */





/* ======================================================== */
/* ======================================================== */
/* ======================================================== */
/* ======================================================== */
/* ======================================================== */
/* ======================================================== */





/* ======================================================== */
/* ======================================================== */
/* ======================================================== */
/* ======================================================== */
/* ======================================================== */
/* ======================================================== */





/* ======================================================== */
/* ======================================================== */
/* ======================================================== */
/* ======================================================== */
/* ======================================================== */
/* ======================================================== */





/* ======================================================== */
/* ======================================================== */
/* ======================================================== */
/* ======================================================== */
/* ======================================================== */
/* ======================================================== */





/* ======================================================== */
/* ======================================================== */
/* ======================================================== */
/* ======================================================== */
/* ======================================================== */
/* ======================================================== */



.site-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: var(--marian-blue);
  color: #fff;
  text-align: center;
  padding: 12px 0;
  font-size: 0.9rem;
  box-shadow: 0 -2px 6px rgba(0,0,0,0.1);
  z-index: 1000; /* ensures it stays above content */
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: var(--pacific-cyan);
  text-decoration: none;
  transition: color 0.3s;
}

.site-footer a:hover {
  color: var(--vivid-sky-blue);
}
