:root {
  --navy: #1A2342;
  --gold: #FFD700;
  --light: #F4F7FB;
  --card: #fff;
  --shadow: 0 2px 12px #d6e0f4;
}

body {
  font-family: 'Segoe UI', Arial, sans-serif;
  background: var(--light);
  margin: 0;
  color: var(--navy);
}

.header, .dashboard-title {
  background: var(--navy);
  color: var(--gold);
  padding: 12px 22px 8px 20px;
  font-size: 2.1rem;
  font-weight: 700;
  letter-spacing: 1px;
  box-shadow: var(--shadow);
}

.dashboard-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 26px;
  background: var(--light);
  padding: 32px 0 14px 0;
}

.dashcard {
  background: var(--card);
  border-radius: 18px;
  box-shadow: var(--shadow);
  width: 125px;
  height: 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  text-decoration: none;
  color: var(--navy);
  font-weight: 500;
  transition: transform .18s, box-shadow .16s;
  border: 2px solid transparent;
}

.dashcard:hover, .dashcard:focus {
  border: 2px solid var(--gold);
  transform: translateY(-4px) scale(1.04);
  color: var(--navy);
}

.dashicon {
  background: var(--gold);
  color: var(--navy);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  font-size: 2.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 11px;
  box-shadow: 0 2px 8px #efe9b9;
}

.dashlabel {
  font-size: 1.02rem;
  margin-top: 3px;
  color: var(--navy);
  font-weight: 600;
}

.section-title {
  color: var(--gold);
  font-size: 1.7rem;
  margin: 0 0 14px 0;
  font-weight: 700;
  letter-spacing: .5px;
}

.box {
  background: var(--card);
  border-radius: 12px;
  box-shadow: var(--shadow);
  padding: 5px 5px;
  margin: 20px auto 10px auto;
  max-width: 600px;
}

table {
  width: 100%;
  border-collapse: collapse;
  background: var(--card);
  margin-bottom: 16px;
}
th {
  background: var(--gold);
  color: var(--navy);
  font-weight: 700;
  font-size: 1.08rem;
}
th, td {
  padding: 11px 7px;
  border-bottom: 1px solid #f0ead6;
}
tr:last-child td {
  border-bottom: none;
}

input, textarea, select {
  width: 100%;
  padding: 10px;
  margin: 8px 0;
  border-radius: 7px;
  border: 1px solid #bbb;
  font-size: 16px;
}
.btn, button {
  background: var(--gold);
  color: var(--navy);
  border: none;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  margin: 5px 2px;
  font-size: 1.08rem;
  transition: background .15s, color .15s;
}
.btn:hover, button:hover {
  background: var(--navy);
  color: var(--gold);
}
.btn.approve { background: #179a28; color: #fff; }
.btn.reject { background: #d00000; color: #fff; }
a, a:visited {
  color: var(--navy);
  text-decoration: underline;
}
a:hover {
  color: var(--gold);
}
@media (max-width: 700px) {
  .dashboard-title, .header {
    font-size: 1.3rem;
    padding: 15px 0 10px 17px;
  }
  .dashboard-grid {
    gap: 12px;
    padding: 8px 0 7px 0;
  }
  .dashcard {
    width: 44vw;
    height: 95px;
    min-width: 100px;
    max-width: 160px;
  }
  .box { max-width: 65vw; padding: 5px 3vw; }
  th,td{font-size:14px;}
}
.footer { font-size: .92rem; padding: 7px 0 4px 0;
}
.header-navbar { box-shadow: 0 2px 12px #0002; }
.notif-bell { transition: box-shadow .15s; }
.notif-bell:hover { box-shadow:0 0 0 3px #ffe066; }
/* Notification badge style */
.notif-badge {
  position: absolute;
  top: -7px;
  right: -7px;
  background: #e43c3c;
  color: #fff;
  font-size: 12px;
  border-radius: 50%;
  padding: 1px 7px;
  min-width: 18px;
  text-align: center;
}
/* Dropdown for profile */
.profile-dropdown { display: inline-block; position: relative; }
.profile-dropdown .profile-icon { transition: box-shadow .18s; }
.profile-dropdown .profile-icon:hover { box-shadow:0 0 0 3px #ffe066; }
.dropdown-content {
    display:none; position:absolute; right:0; top:40px;
    background:#fff; min-width:160px; box-shadow:0 3px 18px #0001;
    border-radius:10px; overflow:hidden; z-index:111;
}
.profile-dropdown:hover .dropdown-content { display:block; }
.dropdown-content a { padding:12px 20px; display:block; color:#223; text-decoration:none; }
.dropdown-content a:hover { background:#ffe066;color:#17204a; }
.category-title {
  font-size: 1.25em;
  font-weight: 600;
  margin: 24px 0 10px 7px;
  color: #17204a;
  letter-spacing: 0.3px;
  border-left: 5px solid #FFD600;
  padding-left: 14px;
  background: #f5f7fb;
  border-radius: 7px 0 0 7px;
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 22px;
  margin-bottom: 18px;
}
.product-card {
  background: #fff;
  border-radius: 13px;
  box-shadow: 0 2px 12px #0001;
  padding: 13px;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 270px;
  position: relative;
  transition: box-shadow 0.18s;
}
.product-card:hover {
  box-shadow: 0 7px 24px #17204a20;
}
.product-img {
    width: 100%;
    height: 160px;
    object-fit: contain;
    background: #f7f7fa;
    border-radius: 12px;
    border: 1px solid #ececec;
    margin-bottom: 8px;
}

.product-info {
  text-align: center;
  width: 100%;
  margin-top: 2px;
}
.prod-price {
  font-size: 1.1em; color: #17204a; font-weight: bold; display:block; margin-top:2px;
}
.add-cart-btn {
  background: #FFD600;
  color: #17204a;
  border: none;
  border-radius: 7px;
  padding: 7px 20px;
  font-size: 1em;
  font-weight: bold;
  box-shadow: 0 2px 10px #ffd60030;
  margin-top: 6px;
  cursor: pointer;
  transition: background 0.17s, box-shadow 0.17s;
}
.add-cart-btn:hover {
  background: #ffe066;
  box-shadow: 0 4px 14px #ffd60033;
}
@media (max-width:650px) {
  .product-grid { grid-template-columns: repeat(1, minmax(0, 1fr)); }
  .product-card { min-height:180px;padding:8px; }
  .product-img { width:78px;height:78px; }
}
.dashboard-overview { max-width:1050px; margin:32px auto; }
.overview-row { display:flex; flex-wrap:wrap; gap:16px; margin-bottom:16px; }
.overview-tile {
  flex:1; background:#fff; border-radius:13px; box-shadow:0 3px 15px #23336b15;
  padding:18px 22px; min-width:180px; font-size:1.18rem; text-align:center;
  color:#1c2451; font-weight:600;
}
.overview-card {
  flex:1; background:#f3f6fb; border-radius:13px; box-shadow:0 2px 8px #23336b12;
  padding:15px; min-width:180px; margin-top:0;
}
.overview-card ol { padding-left:18px; margin:8px 0 0 0; font-weight:400; }
.quick-link { color:#1c2451; text-decoration:none; font-weight:600; }
.overview-task { flex:1; background:#fff; border-radius:13px; padding:15px; margin-top:0; }
.signin-btn { background:#FFD600; color:#1c2451; border:none; border-radius:8px; padding:9px 22px; font-weight:bold; margin-top:10px; cursor:pointer; }

