/* ---------- BASIC SETTINGS (apply to every page) ---------- */
* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: Arial, sans-serif;
  color: #333;
}

a { text-decoration: none; }


/* ---------- LOGIN PAGE ---------- */
.login-page {
  margin-top: 75px;
  min-height: 100vh;
  padding: 20px 14px;
  background: linear-gradient(#cfd8dc, #eceff1);   /* swap for a background image later */
}

.login-box {
  max-width: 480px;
  margin: 0 auto;
  background: white;
  border-radius: 10px;
  overflow: hidden;
}

.login-top {
  background: #f44c4a;
  color: white;
  padding: 24px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo { font-weight: bold; font-size: 16px; }
.logo.dark{ 
 width: 200px;
  margin-left: 120px;
 }
.signin-title { font-size: 20px; font-weight: bold; }

.login-body { padding: 24px 18px; }

/* orange notice box */
.notice {
  background: #ffa733;
  border-left: 4px solid #f59a1c;
  border-radius: 4px;
  padding: 16px;
  display: flex;
  gap: 12px;
  font-size: 13px;
  color: #5a3300;
  margin-bottom: 20px;
}
.notice h3 { margin: 0 0 8px; font-size: 20px; }
.notice p { margin: 0 0 10px; }
.notice-icon {
  width: 44px; height: 44px; flex-shrink: 0;
  background: #6b3d00; color: #ffa733;
  border-radius: 50%;
  text-align: center; line-height: 44px;
  font-size: 26px; font-weight: bold;
}
.tag {
  background: #17b6a5; color: white;
  font-size: 9px; padding: 2px 6px; border-radius: 4px;
}

#error-message {
  display: none;
  background: #fde2e1; color: #b3261e;
  padding: 10px; border-radius: 4px;
  font-size: 14px;
}

/* form rows */
.input-row {
  display: flex;
  margin-bottom: 12px;
}
.input-row label {
  background: #dfe2e5;
  font-weight: bold; font-size: 13px;
  padding: 16px 10px;
  width: 125px;
  border-radius: 4px 0 0 4px;
}
.input-row input {
  flex: 1;
  min-width: 0;
  border: none;
  background: #e9ecef;
  padding: 0 12px;
  font-size: 15px;
}
.eye {
  border: none;
  background: #dfe2e5;
  width: 50px;
  font-size: 18px;
  border-radius: 0 4px 4px 0;
}

/* big buttons */
.btn {
  display: block;
  width: 100%;
  border: none;
  border-radius: 4px;
  padding: 16px;
  margin-bottom: 12px;
  font-size: 16px;
  text-align: left;
}
.btn.red   { background: #f44c4a; color: white; font-size: 20px; }
.btn.grey  { background: #e9ecef; color: #333; margin-top: 24px; }
.btn.teal  { background: #17b6a5; color: white; }

.powered { text-align: center; font-size: 12px; margin: 8px 0 0; }


/* ---------- DASHBOARD PAGE ---------- */
.dashboard-page { background: #e4e7e8; }

.top-bar {
  background: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
}
.menu-btn { border: none; background: none; font-size: 28px; }

.search-bar {
  background: white;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 16px;
  border-top: 1px solid #eee;
}
.search-bar input {
  border: none;
  background: #ececec;
  border-radius: 20px;
  padding: 12px 16px ;
  font-size: 14px;
  width: 600px;
}

.search{
 display: inline-block;
  margin-left: -50px; 
  width: 20px;
}

.bell {
  display: inline-block;
  margin-left: 20px;
}
.avatar-small {
  width: 40px;
   height: 36px;
    border-radius: 50%;
    margin-left: 20px;
}

.grip{
  margin-left: 20px;
}

.content { padding: 16px; }

.breadcrumb { 
  font-size: 14px; 
  color: #666; 
 
}

.content h1 { font-size: 26px; margin: 8px 0 14px; }

/* white card */
.card {
  background: white;
  border-radius: 12px;
  padding: 14px;
  margin-bottom: 16px;
}

/* profile */
.profile { overflow: hidden; }
.profile-buttons { text-align: right; }
.avatar-big {
  width: 100px; height: 100px; border-radius: 50%;
  margin-top: -10px;
}
.profile-matric { text-align: right; color: #777; margin: 0; }
.profile-name { text-align: right; font-weight: bold; margin: 4px 0 0; }

.small-btn {
  display: inline-block;
  padding: 10px 14px;
  border-radius: 4px;
  color: white;
  font-size: 14px;
  font-weight: bold;
}
.small-btn.green { background: #00a65a; }


.small-btn.blue  {
   background: #5bc0de; 
   margin-bottom: -12px;
   height: 36px;
}
.small-btn.red   { background: #f44336; }
.small-btn.light-green { background: #4cd964; }

/* details table */
.details {
  width: 100%;
  background: white;
  border-collapse: collapse;
  font-size: 13px;
  margin-bottom: 16px;
}
.details th, .details td {
  border: 1px solid #ddd;
  padding: 12px 10px;
  text-align: left;
}
.details tr:nth-child(odd) { background: #f9f9f9; }
.badge { background: #4cd964; color: white; padding: 3px 8px; border-radius: 4px; font-size: 11px; }

/* coloured cards */
.stat {
  color: white;
  border-radius: 6px;
  padding: 22px 24px;
  margin-bottom: 12px;
}
.stat h2 { margin: 0 0 8px; font-size: 26px; }
.stat p  { margin: 6px 0 0; font-size: 14px; }
.stat b  { font-size: 14px; }

.blue-light { background: #00c0ef; }
.blue-dark  { background: #0073b7; }
.green      { background: #00a65a; }
.orange     { background: #f4553d; }

.stat.big h2 { font-size: 38px; }

.two-cards { display: flex; gap: 12px; }
.two-cards .stat { flex: 1; padding: 20px 14px; }
.two-cards h2 { font-size: 20px; }

.dark-bar { background: #2f3542; height: 50px; border-radius: 6px; }

/* tabs */
.tabs { margin: -14px -14px 14px; background: #f7f7f7; border-radius: 12px 12px 0 0; }
.tab { border: none; background: none; padding: 16px 18px; font-size: 15px; font-weight: bold; color: #555; }
.tab.active { background: #007bff; color: white; border-radius: 12px 0 0 0; }

.alert {
  background: #d4f8e8; color: #168a4f;
  font-weight: bold; font-size: 14px;
  padding: 18px 14px; border-radius: 6px;
  display: flex; justify-content: space-between;
  margin-bottom: 18px;
}
.alert button { border: none; background: none; font-size: 16px; color: #666; }

select {
  width: 100%;
  padding: 14px;
  font-size: 15px;
  border: 1px solid #ccc;
  border-radius: 6px;
  margin-bottom: 14px;
  background: white;
}

.search-row { display: flex; margin-bottom: 18px; }
.search-row input {
  flex: 1; min-width: 0;
  padding: 16px; font-size: 15px;
  border: 1px solid #ccc;
  border-radius: 6px 0 0 6px;
}
.search-row button {
  background: #ffc800; border: none;
  padding: 0 22px; font-size: 16px;
  border-radius: 0 6px 6px 0;
}

/* fees table scrolls sideways on small screens */
.table-scroll { overflow-x: auto; }
.fees { border-collapse: collapse; font-size: 12px; min-width: 700px; }
.fees th, .fees td { border: 1px solid #ddd; padding: 12px 8px; text-align: left; vertical-align: top; }
.fees tr:nth-child(even) { background: #f9f9f9; }




.toast {
  display: none;
  position: fixed;
  top: 60px;
  left: 12px;
  right: 12px;
  z-index: 10;
  background: #ececec;
  border-radius: 6px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  align-items: center;
  gap: 12px;
  padding: 12px;
  font-size: 14px;
}
.toast-avatar {
  width: 50px; height: 50px; flex-shrink: 0;
  border-radius: 50%;
  background: #1b7a2a; color: white;
  text-align: center; line-height: 50px; font-size: 16px;
}
.toast-text { flex: 1; }
.toast-text p { margin: 4px 0 0; color: #555; font-size: 13px; }
.toast-close {
  border: none;
  border-left: 1px solid #ccc;
  background: none;
  padding: 20px 10px;
  font-size: 15px;
  font-weight: bold;
  color: #666;
}
/* ---------- BIGGER SCREENS (tablet / desktop) ---------- */
@media (min-width: 700px) {
  .content { max-width: 800px; margin: 0 auto; }
}