
/* ===================== SCOPE-HOME (page01.css) ===================== */

.scope-home *{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
body.scope-home{
    font-family: Arial, Helvetica, sans-serif;
    background-color: #f7f7f8;
    color: #1e293b;
}


/* NAVBAR */.scope-home .navbar{
    width: 100%;
    height: 42px;
    background-color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
    border-bottom: 1px solid #e5e7eb;
}
.scope-home .logo{
    font-size: 12px;
    font-weight: 700;
    color: #1f2937;
}
.scope-home .nav-links{
    display: flex;
    align-items: center;
    gap: 34px;
}
.scope-home .nav-links a{
    text-decoration: none;
    font-size: 9px;
    font-weight: 700;
    color: #64748b;
}
.scope-home .nav-links a:hover{
    color: #0f172a;
}


/* HERO */.scope-home .hero{
    height: 190px;
    background-color: #1e293b;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
}
.scope-home .small-title{
    font-size: 9px;
    font-weight: 800;
    color: #f97316;
    margin-bottom: 9px;
}
.scope-home .hero h1{
    font-size: 26px;
    line-height: 1.2;
    color: #ffffff;
    margin-bottom: 10px;
}
.scope-home .hero-text{
    font-size: 11px;
    color: #94a3b8;
    margin-bottom: 24px;
}
.scope-home .hero-buttons{
    display: flex;
    gap: 10px;
}
.scope-home .btn{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 96px;
    height: 23px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 10px;
    font-weight: 700;
}
.scope-home .btn-dark{
    background-color: #111827;
    color: #ffffff;
    border: 1px solid #020617;
}
.scope-home .btn-light{
    background-color: #f8fafc;
    color: #334155;
    border: 1px solid #cbd5e1;
}


/* MAIN AREA */.scope-home .container{
    width: 100%;
    padding: 14px;
}


/* STATS */.scope-home .stats-grid{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 8px;
}
.scope-home .stat-card{
    height: 49px;
    background-color: #ffffff;
    border: 1px solid #b7c7d9;
    border-radius: 5px;
    padding: 8px 14px;
}
.scope-home .stat-card h2{
    font-size: 18px;
    line-height: 1;
    color: #1e293b;
    margin-bottom: 5px;
}
.scope-home .stat-card p{
    font-size: 7px;
    font-weight: 700;
    color: #94a3b8;
}


/* FEATURED HOSTELS */.scope-home .featured-section h3{
    font-size: 10px;
    margin-bottom: 10px;
    color: #111827;
}
.scope-home .hostel-grid{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}
.scope-home .hostel-card{
    height: 122px;
    background-color: #ffffff;
    border: 1px solid #b7c7d9;
    border-radius: 5px;
    overflow: hidden;
}
.scope-home .hostel-image{
    width: 100%;
    height: 52px;
}
.scope-home .hostel-image.blue{
    background-color: #d9e9ff;
}
.scope-home .hostel-image.pink{
    background-color: #fde6f2;
}
.scope-home .hostel-image.green{
    background-color: #d5fae5;
}
.scope-home .hostel-info{
    padding: 10px 9px;
}
.scope-home .hostel-info h4{
    font-size: 9px;
    color: #1e293b;
    margin-bottom: 6px;
}
.scope-home .hostel-info p{
    font-size: 7px;
    color: #64748b;
    margin-bottom: 7px;
}
.scope-home .view-btn{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 18px;
    background-color: #162238;
    color: #ffffff;
    border-radius: 4px;
    text-decoration: none;
    font-size: 9px;
    font-weight: 700;
}
.scope-home .view-btn:hover,
.scope-home .btn:hover{
    opacity: 0.9;
}


/* RESPONSIVE */
@media (max-width: 768px) {.scope-home .navbar{
        height: auto;
        padding: 12px 16px;
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
.scope-home .nav-links{
        gap: 18px;
        flex-wrap: wrap;
    }
.scope-home .hero{
        height: auto;
        padding: 55px 20px;
    }
.scope-home .hero h1{
        font-size: 24px;
    }
.scope-home .stats-grid,
.scope-home .hostel-grid{
        grid-template-columns: 1fr;
    }

}


/* ===================== SCOPE-AUTH (pages-02-04.css) ===================== */

/* HostelBook shared stylesheet */.scope-auth *{
  box-sizing: border-box;
}
body.scope-auth{
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: #f8fafc;
  color: #1f2937;
  font-size: 13px;
}
.scope-auth a{
  color: inherit;
  text-decoration: none;
}
.scope-auth button,
.scope-auth input{
  font-family: inherit;
}


/* Top navigation */.scope-auth .navbar{
  height: 46px;
  background: #ffffff;
  border-bottom: 1px solid #d7e0ec;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
}
.scope-auth .logo{
  font-weight: 700;
  color: #1e293b;
  display: flex;
  align-items: center;
  gap: 4px;
}
.scope-auth .logo-icon{
  font-size: 15px;
  line-height: 1;
}
.scope-auth .nav-links{
  display: flex;
  align-items: center;
  gap: 34px;
  font-size: 11px;
  font-weight: 700;
  color: #64748b;
}
.scope-auth .nav-links a:hover{
  color: #1e293b;
}


/* Authentication pages */.scope-auth .auth-page{
  min-height: calc(100vh - 46px);
  padding-top: 12px;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  flex-direction: column;
}
.scope-auth .register-page{
  background: #ffffff;
}
.scope-auth .login-page{
  background: #f5f8fc;
  padding-top: 122px;
}
.scope-auth .auth-title{
  margin: 0;
  font-size: 23px;
  font-weight: 800;
  color: #1e293b;
  text-align: center;
}
.scope-auth .auth-subtitle{
  margin: 8px 0 22px;
  color: #94a3b8;
  font-size: 11px;
  text-align: center;
}
.scope-auth .login-icon{
  font-size: 28px;
  margin-bottom: 18px;
}
.scope-auth .auth-card{
  width: 380px;
  background: #ffffff;
  border: 1px solid #b7c7d9;
  border-radius: 7px;
  padding: 18px 19px 12px;
}
.scope-auth .register-card{
  width: 380px;
  padding: 13px 19px 10px;
}
.scope-auth .form-group{
  margin-bottom: 10px;
}
.scope-auth .form-group label{
  display: block;
  margin-bottom: 8px;
  font-size: 10px;
  font-weight: 800;
  color: #64748b;
  text-transform: uppercase;
}
.scope-auth .form-group input{
  width: 100%;
  height: 31px;
  border: 1px solid #b7c7d9;
  border-radius: 6px;
  background: #f8fbff;
  color: #334155;
  padding: 0 12px;
  font-size: 12px;
  outline: none;
}
.scope-auth .form-group input::placeholder{
  color: #9fb0c5;
}
.scope-auth .form-group input:focus{
  border-color: #3b82f6;
  background: #ffffff;
}
.scope-auth .auth-button{
  width: 100%;
  height: 27px;
  border: 0;
  border-radius: 6px;
  background: #1f2a3d;
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
}
.scope-auth .auth-button:hover{
  background: #111827;
}
.scope-auth .auth-note{
  margin-top: 9px;
  text-align: center;
  color: #94a3b8;
  font-size: 10px;
}
.scope-auth .auth-note a{
  color: #64748b;
}
.scope-auth .forgot-link{
  display: inline-block;
  margin: 4px 0 17px;
  color: #1d6eea;
  font-size: 10px;
  font-weight: 700;
}
.scope-auth .admin-link{
  margin-top: 19px;
  color: #ff7a00;
  font-size: 11px;
  font-weight: 800;
  text-align: center;
}


/* Dashboard */.scope-auth .dashboard-body{
  background: #ffffff;
}
.scope-auth .dashboard-shell{
  min-height: calc(100vh - 46px);
  display: flex;
}
.scope-auth .sidebar{
  width: 141px;
  background: #f8fafc;
  border-right: 1px solid #d7e0ec;
  padding-top: 12px;
}
.scope-auth .sidebar a{
  display: block;
  height: 38px;
  padding: 13px 15px;
  color: #94a3b8;
  font-size: 11px;
  font-weight: 600;
}
.scope-auth .sidebar a.active,
.scope-student .sidebar a.active,
.scope-admin-b .student-sidebar a.active {
    background: #eef6ff !important;
    color: #1683e8 !important;
    font-weight: 800 !important;
    border-top: none !important;
    border-right: none !important;
    border-bottom: none !important;
    border-left: 3px solid #1683e8 !important;
    padding-left: 12px !important;
}
/* ---------- Unified sidebar container (width, font, padding) ---------- */
.scope-auth .sidebar,
.scope-student .sidebar,
.scope-admin-b .student-sidebar {
    width: 140px !important;
}
.scope-auth .sidebar a,
.scope-student .sidebar a,
.scope-admin-b .student-sidebar a {
    font-size: 11px !important;
    font-weight: 600 !important;
    padding: 13px 15px !important;
    height: auto !important;
}

/* ---------- Unified navbar/header inner spacing and text size ---------- */
.scope-home .navbar,
.scope-auth .navbar,
.scope-student .navbar {
    padding: 0 18px !important;
}
.scope-admin-a .admin-topbar,
.scope-admin-b .admin-topbar,
.scope-admin-b .student-topbar {
    padding: 0 18px !important;
}

.scope-home .logo,
.scope-auth .logo,
.scope-student .logo,
.scope-admin-a .logo,
.scope-admin-b .brand,
.scope-admin-b .student-topbar .brand {
    font-size: 14px !important;
    font-weight: 700 !important;
}

.scope-home .nav-links,
.scope-auth .nav-links,
.scope-student .user-menu,
.scope-auth .user-menu,
.scope-admin-a .topbar-right,
.scope-admin-b .top-links,
.scope-admin-b .student-topbar .top-links {
    font-size: 12px !important;
    font-weight: 700 !important;
    gap: 28px !important;
}
.scope-auth .dashboard-main{
  flex: 1;
  padding: 15px 18px;
}
.scope-auth .dashboard-header{
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.scope-auth .dashboard-header h1{
  margin: 0;
  font-size: 17px;
  color: #1e293b;
}
.scope-auth .user-menu{
  display: flex;
  gap: 30px;
  align-items: center;
  color: #64748b;
  font-size: 11px;
  font-weight: 800;
}
.scope-auth .stats-row{
  display: flex;
  gap: 18px;
  margin-top: 22px;
  margin-bottom: 16px;
}
.scope-auth .stat-card{
  width: 150px;
  height: 57px;
  border: 1px solid #b7c7d9;
  border-radius: 6px;
  background: #ffffff;
  padding: 10px 13px;
}
.scope-auth .stat-value{
  display: block;
  font-size: 23px;
  font-weight: 800;
  line-height: 1;
}
.scope-auth .stat-value.green{
  color: #22c55e;
}
.scope-auth .stat-value.blue{
  color: #4b82ff;
}
.scope-auth .stat-value.orange{
  color: #ff6a00;
}
.scope-auth .stat-label{
  display: block;
  margin-top: 8px;
  color: #94a3b8;
  font-size: 10px;
  font-weight: 700;
}
.scope-auth .panel{
  width: 100%;
  border: 1px solid #b7c7d9;
  border-radius: 6px;
  background: #ffffff;
  padding: 15px;
  margin-bottom: 15px;
}
.scope-auth .panel-title{
  margin: 0 0 13px;
  font-size: 11px;
  font-weight: 800;
  color: #1e293b;
}
.scope-auth .current-booking{
  display: flex;
  align-items: center;
  gap: 18px;
}
.scope-auth .bed-box{
  width: 60px;
  height: 60px;
  border-radius: 5px;
  background: #dbeafe;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 25px;
}
.scope-auth .booking-name{
  font-size: 12px;
  font-weight: 800;
  color: #1e293b;
  margin-bottom: 11px;
}
.scope-auth .badge{
  display: inline-block;
  background: #d8f8df;
  color: #10b981;
  padding: 5px 13px;
  border-radius: 999px;
  font-size: 9px;
  font-weight: 800;
}
.scope-auth .action-buttons{
  display: flex;
  gap: 10px;
}
.scope-auth .light-button{
  height: 20px;
  min-width: 96px;
  border: 1px solid #b7c7d9;
  border-radius: 5px;
  background: #f8fbff;
  color: #334155;
  font-size: 10px;
  font-weight: 800;
  cursor: pointer;
}
.scope-auth .light-button:hover{
  background: #eef6ff;
}


@media (max-width: 720px) {.scope-auth .nav-links{
    gap: 18px;
  }
.scope-auth .auth-card,
.scope-auth .register-card{
    width: calc(100vw - 40px);
  }
.scope-auth .dashboard-shell{
    flex-direction: column;
  }
.scope-auth .sidebar{
    width: 100%;
    display: flex;
    overflow-x: auto;
    padding: 0;
  }
.scope-auth .sidebar a{
    white-space: nowrap;
  }
.scope-auth .stats-row{
    flex-wrap: wrap;
  }
.scope-auth .stat-card{
    width: 145px;
  }

}


/* ===================== SCOPE-STUDENT (pages-05-08.css) ===================== */

/* HostelBook shared stylesheet - pages 05 to 08 */.scope-student *{
  box-sizing: border-box;
}
body.scope-student{
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: #ffffff;
  color: #1f2937;
  font-size: 11px;
}
.scope-student a{
  color: inherit;
  text-decoration: none;
}
.scope-student button,
.scope-student input,
.scope-student textarea{
  font-family: inherit;
}


/* Top bar */.scope-student .navbar{
  height: 37px;
  background: #ffffff;
  border-bottom: 1px solid #d7e0ec;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 14px;
}
.scope-student .logo{
  font-size: 12px;
  font-weight: 800;
  color: #1f2937;
}
.scope-student .user-menu{
  display: flex;
  align-items: center;
  gap: 30px;
  color: #64748b;
  font-size: 9px;
  font-weight: 800;
}


/* Main dashboard layout */.scope-student .dashboard-shell{
  min-height: calc(100vh - 37px);
  display: flex;
  background: #ffffff;
}
.scope-student .sidebar{
  width: 112px;
  background: #f8fafc;
  border-right: 1px solid #d7e0ec;
  padding-top: 11px;
  flex-shrink: 0;
}
.scope-student .sidebar a{
  display: block;
  height: 29px;
  padding: 10px 8px;
  color: #94a3b8;
  font-size: 9px;
  font-weight: 600;
}
.scope-student .sidebar a.active{
  background: #eef6ff;
  color: #1683e8;
  font-weight: 800;
}
.scope-student .dashboard-main{
  flex: 1;
  padding: 12px 16px;
}
.scope-student .page-title{
  margin: 0 0 16px;
  font-size: 13px;
  font-weight: 800;
  color: #1e293b;
}
.scope-student .page-subtitle{
  margin-top: -12px;
  margin-bottom: 12px;
  color: #94a3b8;
  font-size: 9px;
}


/* Reusable controls */.scope-student .search-row{
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 10px;
}
.scope-student .search-input{
  height: 26px;
  flex: 1;
  border: 1px solid #b7c7d9;
  border-radius: 5px;
  background: #ffffff;
  color: #334155;
  padding: 0 12px;
  font-size: 10px;
  outline: none;
}
.scope-student .search-input::placeholder,
.scope-student .input-control::placeholder,
.scope-student .textarea-control::placeholder{
  color: #a5b4c8;
}
.scope-student .light-button,
.scope-student .small-button{
  border: 1px solid #b7c7d9;
  border-radius: 5px;
  background: #f8fbff;
  color: #334155;
  font-size: 9px;
  font-weight: 800;
  cursor: pointer;
}
.scope-student .light-button{
  height: 20px;
  min-width: 48px;
}
.scope-student .small-button{
  height: 18px;
  min-width: 38px;
}
.scope-student .dark-button{
  border: 0;
  border-radius: 5px;
  background: #1f2a3d;
  color: #ffffff;
  font-size: 9px;
  font-weight: 800;
  cursor: pointer;
}
.scope-student .dark-button:hover,
.scope-student .light-button:hover,
.scope-student .small-button:hover{
  opacity: 0.9;
}


/* Page 05 - Available Hostels */.scope-student .hostel-list{
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.scope-student .hostel-card{
  border: 1px solid #b7c7d9;
  border-radius: 5px;
  overflow: hidden;
  background: #ffffff;
}
.scope-student .hostel-strip{
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 23px 0 18px;
}
.scope-student .strip-blue{
  background: #d7e9ff;
}
.scope-student .strip-pink{
  background: #ffe4f3;
}
.scope-student .strip-green{
  background: #d5fce9;
}
.scope-student .hostel-icon{
  font-size: 18px;
}
.scope-student .hostel-tag{
  display: inline-block;
  padding: 4px 11px;
  border-radius: 999px;
  background: #cfe3ff;
  color: #1683e8;
  font-size: 9px;
  font-weight: 800;
}
.scope-student .hostel-content{
  min-height: 34px;
  padding: 8px 13px 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.scope-student .hostel-name{
  margin-bottom: 4px;
  font-size: 11px;
  font-weight: 800;
}
.scope-student .hostel-meta{
  color: #64748b;
  font-size: 9px;
}
.scope-student .hostel-card .dark-button{
  width: 70px;
  height: 20px;
}


/* Page 06 - Room details */.scope-student .back-title{
  margin-bottom: 16px;
}
.scope-student .room-card{
  border: 1px solid #b7c7d9;
  border-radius: 5px;
  background: #ffffff;
  overflow: hidden;
  margin-bottom: 12px;
}
.scope-student .room-image-strip{
  height: 58px;
  background: #d7e9ff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}
.scope-student .room-details-body{
  min-height: 106px;
  padding: 13px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
}
.scope-student .room-name{
  font-size: 11px;
  font-weight: 800;
  margin-bottom: 8px;
}
.scope-student .room-block{
  color: #64748b;
  font-size: 9px;
  margin-bottom: 24px;
}
.scope-student .room-price{
  font-size: 17px;
  font-weight: 800;
  color: #1f2937;
}
.scope-student .room-action-side{
  width: 220px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-between;
  padding-bottom: 8px;
}
.scope-student .status-pill{
  display: inline-block;
  min-width: 112px;
  text-align: center;
  padding: 4px 9px;
  border-radius: 999px;
  background: #d8f8df;
  color: #10b981;
  font-size: 9px;
  font-weight: 800;
}
.scope-student .status-pill.red{
  background: #ffe2e2;
  color: #ff4b4b;
}
.scope-student .status-pill.orange{
  background: #ffe6c7;
  color: #ff7a00;
}
.scope-student .room-action-side .dark-button{
  width: 107px;
  height: 24px;
}
.scope-student .panel{
  border: 1px solid #b7c7d9;
  border-radius: 5px;
  background: #ffffff;
  padding: 12px;
}
.scope-student .panel-title{
  margin: 0 0 11px;
  font-size: 10px;
  font-weight: 800;
}
.scope-student .room-row{
  height: 29px;
  border-top: 1px solid #edf2f7;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #475569;
  font-size: 10px;
}
.scope-student .room-row:first-of-type{
  border-top: 1px solid #edf2f7;
}
.scope-student .room-row-actions{
  display: flex;
  align-items: center;
  gap: 30px;
}
.scope-student .room-row-actions .status-pill{
  min-width: 53px;
  padding: 3px 8px;
}


/* Page 07 - Book Room */.scope-student .booking-grid{
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.scope-student .form-card,
.scope-student .summary-card{
  border: 1px solid #b7c7d9;
  border-radius: 5px;
  background: #ffffff;
}
.scope-student .form-card{
  width: 428px;
  min-height: 143px;
  padding: 12px;
}
.scope-student .summary-card{
  width: 231px;
  min-height: 171px;
  padding: 12px;
}
.scope-student .form-title{
  margin: 0 0 6px;
  font-size: 10px;
  font-weight: 800;
}
.scope-student .form-row{
  display: flex;
  gap: 8px;
  margin-bottom: 10px;
}
.scope-student .form-group{
  flex: 1;
}
.scope-student .form-group.full{
  width: 100%;
}
.scope-student .form-label{
  display: block;
  margin-bottom: 6px;
  font-size: 8px;
  font-weight: 800;
  color: #475569;
  text-transform: uppercase;
}
.scope-student .input-control{
  width: 100%;
  height: 25px;
  border: 1px solid #b7c7d9;
  border-radius: 5px;
  background: #f8fbff;
  color: #94a3b8;
  padding: 0 10px;
  font-size: 9px;
  outline: none;
}
.scope-student .booking-summary-box{
  border-radius: 5px;
  background: #f8fafc;
  padding: 12px 13px;
  margin: 9px 0 17px;
  color: #64748b;
  font-size: 9px;
  line-height: 1.7;
}
.scope-student .booking-summary-box strong{
  color: #1e293b;
}
.scope-student .summary-meta{
  color: #64748b;
  line-height: 1.6;
  margin-bottom: 17px;
  font-size: 9px;
}
.scope-student .summary-card .dark-button{
  width: 100%;
  height: 27px;
}


/* Page 08 - Complaints */.scope-student .complaint-wrapper{
  width: 505px;
}
.scope-student .complaint-card{
  border: 1px solid #b7c7d9;
  border-radius: 5px;
  background: #ffffff;
  padding: 13px;
  margin-bottom: 13px;
}
.scope-student .complaint-form .form-label{
  font-size: 9px;
  color: #64748b;
}
.scope-student .complaint-form .input-control{
  height: 26px;
}
.scope-student .textarea-control{
  width: 100%;
  height: 51px;
  border: 0;
  border-radius: 5px;
  background: #f8fbff;
  color: #334155;
  padding: 12px;
  font-size: 9px;
  resize: none;
  outline: none;
}
.scope-student .status-label{
  color: #64748b;
  font-size: 8px;
  font-weight: 800;
  margin-bottom: 3px;
}
.scope-student .complaint-card .dark-button{
  width: 118px;
  height: 22px;
  margin-top: 8px;
}
.scope-student .table-card{
  border: 1px solid #b7c7d9;
  border-radius: 5px;
  background: #ffffff;
  padding: 12px;
}
.scope-student .data-table{
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid #d7e0ec;
  border-radius: 5px;
  overflow: hidden;
  font-size: 9px;
  color: #475569;
}
.scope-student .data-table th,
.scope-student .data-table td{
  text-align: left;
  padding: 8px 10px;
}
.scope-student .data-table th{
  background: #f8fafc;
  color: #64748b;
  font-size: 8px;
  font-weight: 800;
  text-transform: uppercase;
}
.scope-student .data-table tr + tr td{
  border-top: 1px solid #edf2f7;
}


/* Small screens */
@media (max-width: 780px) {.scope-student .dashboard-shell{
    flex-direction: column;
  }
.scope-student .sidebar{
    width: 100%;
    display: flex;
    padding-top: 0;
    overflow-x: auto;
  }
.scope-student .sidebar a{
    white-space: nowrap;
  }
.scope-student .booking-grid{
    flex-direction: column;
  }
.scope-student .form-card,
.scope-student .summary-card,
.scope-student .complaint-wrapper{
    width: 100%;
  }

}


/* ===================== SCOPE-ADMIN-A (pages-09-12.css) ===================== */

/* HostelBook Admin Pages - shared CSS */.scope-admin-a *{
  box-sizing: border-box;
}
body.scope-admin-a{
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: #233044;
  background: #ffffff;
  font-size: 12px;
}
.scope-admin-a a{
  text-decoration: none;
  color: inherit;
}
.scope-admin-a button,
.scope-admin-a input,
.scope-admin-a select,
.scope-admin-a textarea{
  font-family: inherit;
}


/* ---------- Admin Login ---------- */.scope-admin-a .admin-login-page{
  min-height: 100vh;
  background: #111a2b;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-bottom: 70px;
}
.scope-admin-a .admin-login-box{
  width: 320px;
  text-align: center;
}
.scope-admin-a .lock-icon{
  font-size: 34px;
  margin-bottom: 18px;
}
.scope-admin-a .admin-login-box h1{
  margin: 0;
  color: #ffffff;
  font-size: 20px;
  line-height: 1.2;
}
.scope-admin-a .admin-login-box .subtitle{
  margin: 6px 0 22px;
  color: #7f8da3;
  font-size: 11px;
}
.scope-admin-a .login-card-dark{
  background: #1d293a;
  border: 1px solid #40516a;
  border-radius: 7px;
  padding: 20px 22px 18px;
  text-align: left;
}
.scope-admin-a .login-card-dark label{
  display: block;
  color: #8391a8;
  font-weight: 700;
  font-size: 10px;
  text-transform: uppercase;
  margin-bottom: 7px;
}
.scope-admin-a .login-card-dark input{
  width: 100%;
  height: 35px;
  border: 1px solid #a7b5c8;
  border-radius: 6px;
  background: #f5f8fb;
  color: #233044;
  padding: 0 13px;
  outline: none;
  margin-bottom: 13px;
}
.scope-admin-a .login-card-dark input::placeholder{
  color: #9facbd;
}
.scope-admin-a .admin-orange-btn{
  width: 100%;
  height: 38px;
  border: 0;
  border-radius: 6px;
  background: #ff781f;
  color: white;
  font-weight: 700;
  cursor: pointer;
  margin-top: 4px;
}


/* ---------- Admin App Layout ---------- */.scope-admin-a .admin-shell{
  min-height: 100vh;
  background: #ffffff;
}
.scope-admin-a .admin-topbar{
  height: 47px;
  background: #1c2838;
  color: #ffffff;
  border-bottom: 1px solid #344257;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 28px 0 16px;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
}
.scope-admin-a .logo{
  font-weight: 800;
  color: #ffffff;
  font-size: 14px;
}
.scope-admin-a .topbar-right{
  display: flex;
  align-items: center;
  gap: 32px;
  color: #c5cede;
  font-weight: 700;
  font-size: 11px;
}
.scope-admin-a .admin-sidebar{
  position: fixed;
  top: 47px;
  left: 0;
  width: 132px;
  bottom: 0;
  background: #111a2b;
  color: #91a0b7;
  border-right: 1px solid #23324a;
  padding-top: 12px;
}
.scope-admin-a .admin-sidebar a{
  display: block;
  padding: 13px 15px;
  color: #91a0b7;
  font-size: 12px;
}
.scope-admin-a .admin-sidebar a.active{
  background: #212c3e;
  color: #ff781f;
  font-weight: 800;
  border-left: 4px solid #ff781f;
  padding-left: 11px;
}
.scope-admin-a .admin-content{
  margin-left: 132px;
  padding: 64px 18px 40px;
  min-height: 100vh;
}
.scope-admin-a .page-title-row{
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.scope-admin-a .page-title-row h2,
.scope-admin-a .admin-content h2{
  margin: 0;
  font-size: 18px;
  line-height: 1.2;
  color: #263244;
}


/* ---------- Cards ---------- */.scope-admin-a .stats-row{
  display: grid;
  grid-template-columns: repeat(4, 145px);
  gap: 10px;
  margin-bottom: 13px;
}
.scope-admin-a .stat-card{
  border: 1px solid #b8c7d8;
  border-radius: 7px;
  padding: 13px 14px 12px;
  min-height: 54px;
  background: white;
}
.scope-admin-a .stat-number{
  display: block;
  font-size: 23px;
  font-weight: 800;
  margin-bottom: 4px;
  color: #2f7cff;
}
.scope-admin-a .stat-number.green{ color: #0dbf5f; }
.scope-admin-a .stat-number.red{ color: #ff3e52; }
.scope-admin-a .stat-number.orange{ color: #ff781f; }
.scope-admin-a .stat-label{
  color: #708097;
  font-weight: 600;
  font-size: 10px;
}
.scope-admin-a .dashboard-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 29px;
}
.scope-admin-a .card{
  border: 1px solid #b8c7d8;
  border-radius: 7px;
  background: white;
  overflow: hidden;
}
.scope-admin-a .occupancy-row{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.scope-admin-a .occupancy-card{
  height: 68px;
  border: 1px solid #b8c7d8;
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  background: white;
}
.scope-admin-a .occupancy-card strong{
  font-size: 12px;
  margin-bottom: 5px;
}
.scope-admin-a .occupancy-card span{
  color: #2478ff;
  font-size: 22px;
  font-weight: 800;
}


/* ---------- Tables ---------- */.scope-admin-a .table-card{
  border: 1px solid #b8c7d8;
  border-radius: 7px;
  overflow: hidden;
  background: white;
}
.scope-admin-a table{
  width: 100%;
  border-collapse: collapse;
}
.scope-admin-a th{
  background: #f7f9fc;
  color: #54657a;
  text-align: left;
  font-size: 10px;
  text-transform: uppercase;
  padding: 10px 13px;
}
.scope-admin-a td{
  padding: 10px 13px;
  border-top: 1px solid #e8edf4;
  color: #334155;
  font-size: 11px;
}
.scope-admin-a .badge{
  display: inline-block;
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
}
.scope-admin-a .badge.confirmed,
.scope-admin-a .badge.resolved{
  background: #d8f8e4;
  color: #12a75b;
}
.scope-admin-a .badge.pending{
  background: #ffe3ce;
  color: #ff781f;
}
.scope-admin-a .badge.cancelled{
  background: #ffd7d7;
  color: #ec3545;
}


/* ---------- Manage pages ---------- */.scope-admin-a .search-box{
  width: 91%;
  height: 35px;
  border: 1px solid #b8c7d8;
  border-radius: 6px;
  padding: 0 14px;
  outline: none;
  color: #233044;
  margin-bottom: 9px;
}
.scope-admin-a .search-box::placeholder{
  color: #9ba9ba;
}
.scope-admin-a .small-dark-btn{
  min-width: 96px;
  height: 27px;
  border: 0;
  border-radius: 6px;
  background: #182337;
  color: white;
  font-weight: 800;
  font-size: 11px;
  padding: 0 13px;
  cursor: pointer;
}
.scope-admin-a .small-light-btn{
  min-width: 47px;
  height: 22px;
  border: 1px solid #b8c7d8;
  border-radius: 6px;
  background: #f5f8fb;
  color: #334155;
  font-weight: 700;
  font-size: 11px;
  cursor: pointer;
}
.scope-admin-a .delete-btn{
  min-width: 31px;
  height: 22px;
  border: 1px solid #ffb8b8;
  border-radius: 7px;
  background: #ffe8e8;
  color: #ff3e52;
  font-weight: 800;
  font-size: 13px;
  margin-left: 5px;
  cursor: pointer;
}
.scope-admin-a .complaint-detail{
  border: 1px solid #b8c7d8;
  border-radius: 7px;
  background: #ffffff;
  margin-top: 16px;
  padding: 15px 16px 11px;
}
.scope-admin-a .complaint-detail h3{
  margin: 0 0 13px;
  font-size: 12px;
}
.scope-admin-a .detail-muted{
  background: #f7f9fc;
  color: #7d8ca0;
  padding: 13px;
  border-radius: 5px;
  margin-bottom: 13px;
}
.scope-admin-a .update-row{
  display: flex;
  align-items: flex-end;
  gap: 10px;
}
.scope-admin-a .update-row .field-area{
  flex: 1;
}
.scope-admin-a .field-label{
  display: block;
  color: #54657a;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.scope-admin-a .status-input{
  width: 100%;
  height: 33px;
  border: 1px solid #b8c7d8;
  border-radius: 6px;
  padding: 0 12px;
  color: #9ba9ba;
  outline: none;
}


@media (max-width: 900px) {.scope-admin-a .admin-sidebar{
    width: 110px;
  }
.scope-admin-a .admin-content{
    margin-left: 110px;
  }
.scope-admin-a .stats-row,
.scope-admin-a .dashboard-grid,
.scope-admin-a .occupancy-row{
    grid-template-columns: 1fr;
  }
.scope-admin-a .search-box{
    width: 100%;
  }
.scope-admin-a .update-row{
    flex-direction: column;
    align-items: stretch;
  }

}
/* ---------- Admin dropdown/select controls ---------- */
.scope-admin-a .status-select{
  height: 24px;
  min-width: 100px;
  border: 1px solid #b8c7d8;
  border-radius: 6px;
  background: #f5f8fb;
  color: #334155;
  font-size: 11px;
  font-weight: 700;
  padding: 0 8px;
  outline: none;
  cursor: pointer;
}


/* ===================== SCOPE-ADMIN-B (pages-13-16.css) ===================== */
/*
   Admin B is kept separate from Admin A, but its sizing/layout is matched
   to Admin A so Manage Students/Hostels/Rooms look consistent.
*/

body.scope-admin-b{
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: #233044;
    background: #ffffff;
    font-size: 12px;
}
.scope-admin-b *{
    box-sizing: border-box;
}
.scope-admin-b a{
    color: inherit;
    text-decoration: none;
}
.scope-admin-b button,
.scope-admin-b input,
.scope-admin-b textarea,
.scope-admin-b select{
    font-family: inherit;
}

/* ---------- Admin B layout ---------- */
.scope-admin-b .admin-topbar{
    height: 47px;
    background: #1c2838;
    color: #ffffff;
    border-bottom: 1px solid #344257;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 28px 0 16px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10;
}
.scope-admin-b .brand{
    font-weight: 800;
    color: #ffffff;
    font-size: 14px;
}
.scope-admin-b .top-links{
    display: flex;
    align-items: center;
    gap: 32px;
    color: #c5cede;
    font-weight: 700;
    font-size: 11px;
}
.scope-admin-b .admin-wrapper{
    min-height: 100vh;
    background: #ffffff;
}
.scope-admin-b .admin-sidebar{
    position: fixed;
    top: 47px;
    left: 0;
    width: 132px;
    bottom: 0;
    background: #111a2b;
    color: #91a0b7;
    border-right: 1px solid #23324a;
    padding-top: 12px;
}
.scope-admin-b .admin-sidebar a{
    display: block;
    padding: 13px 15px;
    color: #91a0b7;
    font-size: 12px;
    font-weight: 500;
    border-left: 4px solid transparent;
}
.scope-admin-b .admin-sidebar a.active{
    background: #212c3e;
    color: #ff781f;
    font-weight: 800;
    border-left-color: #ff781f;
    padding-left: 11px;
}
.scope-admin-b .admin-main{
    margin-left: 132px;
    padding: 64px 18px 40px;
    min-height: 100vh;
    background: #ffffff;
}
.scope-admin-b .page-title-row{
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}
.scope-admin-b h1{
    margin: 0;
    font-size: 18px;
    line-height: 1.2;
    color: #263244;
    font-weight: 800;
}

/* ---------- Admin B search/filter controls ---------- */
.scope-admin-b .search-row{
    display: block;
    margin-bottom: 0;
}
.scope-admin-b .filter-row{
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 9px;
}
.scope-admin-b .search-input{
    width: 91%;
    height: 35px;
    border: 1px solid #b8c7d8;
    border-radius: 6px;
    background: #ffffff;
    color: #233044;
    padding: 0 14px;
    font-size: 11px;
    outline: none;
    margin-bottom: 9px;
    box-shadow: none;
}
.scope-admin-b .search-input::placeholder{
    color: #9ba9ba;
}
.scope-admin-b .filter-input{
    width: 250px;
    height: 30px;
    border: 1px solid #b8c7d8;
    border-radius: 6px;
    background: #ffffff;
    color: #233044;
    padding: 0 12px;
    font-size: 11px;
    outline: none;
    box-shadow: none;
}
.scope-admin-b .select-filter,
.scope-admin-b .status-select{
    height: 24px;
    min-width: 100px;
    border: 1px solid #b8c7d8;
    border-radius: 6px;
    background: #f5f8fb;
    color: #334155;
    font-size: 11px;
    font-weight: 700;
    padding: 0 8px;
    outline: none;
    cursor: pointer;
}
.scope-admin-b .select-filter{
    height: 30px;
    min-width: 95px;
}
.scope-admin-b .text-input{
    height: 30px;
    border: 1px solid #b8c7d8;
    border-radius: 6px;
    background: #ffffff;
    color: #334155;
    padding: 0 12px;
    outline: none;
    box-shadow: none;
}

/* ---------- Admin B tables ---------- */
.scope-admin-b .table-card{
    width: 100%;
    border: 1px solid #b8c7d8;
    border-radius: 7px;
    overflow: hidden;
    background: #ffffff;
}
.scope-admin-b table{
    width: 100%;
    border-collapse: collapse;
}
.scope-admin-b th{
    background: #f7f9fc;
    color: #54657a;
    text-align: left;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    padding: 10px 13px;
}
.scope-admin-b td{
    padding: 10px 13px;
    border-top: 1px solid #e8edf4;
    color: #334155;
    font-size: 11px;
    vertical-align: middle;
}
.scope-admin-b .action-cell{
    white-space: nowrap;
}

/* ---------- Admin B badges ---------- */
.scope-admin-b .badge{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 48px;
    padding: 5px 11px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 800;
}
.scope-admin-b .badge-female{
    color: #ff3c93;
    background: #ffe0ef;
}
.scope-admin-b .badge-male{
    color: #2476ff;
    background: #dceaff;
}
.scope-admin-b .badge-available{
    color: #12a75b;
    background: #d8f8e4;
}
.scope-admin-b .badge-occupied{
    color: #2476ff;
    background: #dceaff;
}

/* ---------- Admin B buttons ---------- */
.scope-admin-b .btn{
    height: 27px;
    border: 0;
    border-radius: 6px;
    padding: 0 13px;
    font-weight: 800;
    font-size: 11px;
    cursor: pointer;
}
.scope-admin-b .btn-dark{
    background: #182337;
    color: #ffffff;
}
.scope-admin-b .btn-light{
    background: #f5f8fb;
    color: #334155;
    border: 1px solid #b8c7d8;
}
.scope-admin-b .btn-danger{
    color: #ff3e52;
    background: #ffe8e8;
    border: 1px solid #ffb8b8;
}
.scope-admin-b .small-btn{
    min-width: 47px;
    height: 22px;
    border: 1px solid #b8c7d8;
    border-radius: 6px;
    background: #f5f8fb;
    color: #334155;
    font-weight: 700;
    font-size: 11px;
    cursor: pointer;
    padding: 0 11px;
    margin-right: 5px;
}
.scope-admin-b .remove-btn,
.scope-admin-b .delete-btn{
    min-width: 31px;
    height: 22px;
    border: 1px solid #ffb8b8;
    border-radius: 7px;
    background: #ffe8e8;
    color: #ff3e52;
    font-weight: 800;
    font-size: 11px;
    cursor: pointer;
    padding: 0 11px;
}
.scope-admin-b .remove-btn{
    min-width: 62px;
}

/* ---------- Manage Hostels ---------- */
.scope-admin-b .hostel-list{
    display: flex;
    flex-direction: column;
    gap: 11px;
}
.scope-admin-b .hostel-card{
    border: 1px solid #b8c7d8;
    border-radius: 7px;
    min-height: 74px;
    background: #ffffff;
    display: flex;
    align-items: center;
    padding: 14px 18px;
}
.scope-admin-b .hostel-icon{
    width: 50px;
    height: 50px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-right: 18px;
}
.scope-admin-b .icon-blue{
    background: #d9eaff;
}
.scope-admin-b .icon-pink{
    background: #ffe1f0;
}
.scope-admin-b .icon-green{
    background: #d4fae7;
}
.scope-admin-b .hostel-info{
    flex: 1;
}
.scope-admin-b .hostel-info h2{
    margin: 0 0 7px;
    font-size: 14px;
    color: #172033;
}
.scope-admin-b .hostel-info p{
    margin: 0;
    color: #718096;
    font-size: 11px;
}
.scope-admin-b .hostel-actions{
    display: flex;
    gap: 12px;
    padding-right: 38px;
}

/* ---------- Student Profile page (kept under Admin B scope) ---------- */
body.scope-admin-b.student-body{
    background: #fbfbfc;
}
.scope-admin-b .student-topbar{
    height: 44px;
    background: #ffffff;
    border-bottom: 1px solid #c7d2df;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 18px;
}
.scope-admin-b .student-topbar .brand{
    font-size: 16px;
    font-weight: 700;
    color: #172033;
}
.scope-admin-b .student-topbar .top-links{
    color: #52647a;
}
.scope-admin-b .student-wrapper{
    display: flex;
    min-height: calc(100vh - 44px);
}
.scope-admin-b .student-sidebar{
    width: 138px;
    background: #f7faff;
    border-right: 1px solid #d2dce8;
    flex-shrink: 0;
    padding-top: 14px;
}
.scope-admin-b .student-sidebar a{
    display: block;
    padding: 13px 10px;
    color: #8a99ac;
    font-size: 12px;
}
.scope-admin-b .student-sidebar a.active{
    color: #147dff;
    background: #eaf4ff;
    font-weight: 800;
}
.scope-admin-b .student-main{
    flex: 1;
    padding: 15px 20px;
}
.scope-admin-b .profile-container{
    width: 700px;
    max-width: 100%;
}
.scope-admin-b .profile-card{
    border: 1px solid #b8c7d8;
    border-radius: 7px;
    background: #ffffff;
    min-height: 110px;
    padding: 20px 16px;
    display: flex;
    align-items: center;
    margin: 12px 0 16px;
}
.scope-admin-b .avatar{
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: #dbeafe;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    margin-right: 18px;
}
.scope-admin-b .profile-name{
    font-size: 16px;
    font-weight: 800;
    margin-bottom: 6px;
}
.scope-admin-b .profile-muted{
    color: #6b7a8f;
    font-size: 11px;
    margin-bottom: 8px;
}
.scope-admin-b .profile-grid{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}
.scope-admin-b .form-card{
    border: 1px solid #b8c7d8;
    border-radius: 7px;
    background: #ffffff;
    padding: 15px;
}
.scope-admin-b .form-card h2{
    margin: 0 0 6px;
    font-size: 12px;
    color: #172033;
}
.scope-admin-b .label{
    display: block;
    margin: 8px 0 5px;
    color: #52647a;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
}
.scope-admin-b .form-card .text-input{
    width: 100%;
}
.scope-admin-b .save-btn{
    min-width: 116px;
    height: 30px;
}

@media (max-width: 900px){
    .scope-admin-b .admin-sidebar{
        width: 110px;
    }
    .scope-admin-b .admin-main{
        margin-left: 110px;
    }
    .scope-admin-b .search-input{
        width: 100%;
    }
    .scope-admin-b .table-card{
        overflow-x: auto;
    }
    .scope-admin-b .hostel-card{
        align-items: flex-start;
    }
    .scope-admin-b .hostel-actions{
        flex-direction: column;
        padding-right: 0;
    }
}

@media (max-width: 800px){
    .scope-admin-b .student-sidebar{
        width: 112px;
    }
    .scope-admin-b .student-main{
        padding: 14px;
    }
    .scope-admin-b .profile-grid{
        grid-template-columns: 1fr;
    }
}
body.scope-admin-a .complaint-desc {
    max-width: 260px;
    color: #64748b;
    line-height: 1.4;
}
body.scope-admin-b .hostel-actions .small-btn,
body.scope-admin-b .manage-room-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 22px;
    min-width: 100px;
    padding: 0 11px;
    border-radius: 6px;
    border: 1px solid #b8c7d8;
    background: #f5f8fb;
    color: #334155;
    font-weight: 700;
    font-size: 11px;
    cursor: pointer;
    text-decoration: none;
}
/* =========================
   ADMIN BUTTON CSS
   For Admin B pages
========================= */

body.scope-admin-b .btn,
body.scope-admin-b .small-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-family: Arial, Helvetica, sans-serif;
    cursor: pointer;
    transition: 0.2s ease;
}

/* Main buttons: + Add Room, Save Room */
body.scope-admin-b .btn {
    min-width: 96px;
    height: 28px;
    padding: 0 14px;
    border-radius: 6px;
    border: none;
    font-size: 11px;
    font-weight: 800;
}

/* Dark button */
body.scope-admin-b .btn-dark {
    background: #182337;
    color: #ffffff;
    border: 1px solid #182337;
}

body.scope-admin-b .btn-dark:hover {
    background: #111827;
}

/* Light button: Back */
body.scope-admin-b .btn-light {
    background: #f5f8fb;
    color: #334155;
    border: 1px solid #b8c7d8;
}

body.scope-admin-b .btn-light:hover {
    background: #eaf1f8;
}

/* Small buttons: Edit, Manage Rooms */
body.scope-admin-b .small-btn {
    min-width: 47px;
    height: 24px;
    padding: 0 11px;
    border-radius: 6px;
    border: 1px solid #b8c7d8;
    background: #f5f8fb;
    color: #334155;
    font-size: 11px;
    font-weight: 700;
}

body.scope-admin-b .small-btn:hover {
    background: #eaf1f8;
}

/* Manage Rooms button slightly wider */
body.scope-admin-b .manage-room-btn {
    min-width: 100px;
}

/* Delete button */
body.scope-admin-b .delete-btn {
    min-width: 31px;
    width: 31px;
    height: 24px;
    padding: 0;
    border: 1px solid #ffb8b8;
    border-radius: 7px;
    background: #ffe8e8;
    color: #ff3e52;
    font-size: 14px;
    font-weight: 800;
}

body.scope-admin-b .delete-btn:hover {
    background: #ffd6d6;
}

/* Keep action buttons aligned nicely */
body.scope-admin-b .action-cell {
    white-space: nowrap;
}

body.scope-admin-b .action-cell form {
    display: inline;
}
.scope-auth .auth-select {
  width: 100%;
  height: 31px;
  border: 1px solid #b7c7d9;
  border-radius: 6px;
  background: #f8fbff;
  color: #334155;
  padding: 0 12px;
  font-size: 12px;
  outline: none;
}
.scope-auth .action-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.scope-auth .light-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 135px;
  height: 34px;
  padding: 0 14px;
  border-radius: 8px;
  border: 1px solid #b8c7d8;
  background: #f5f8fb;
  color: #334155;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.scope-auth .light-button:hover {
  background: #eaf1f8;
}
.scope-student .dark-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 70px;
  height: 32px;
  padding: 0 14px;
  border-radius: 8px;
  background: #182337;
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  border: none;
  cursor: pointer;
}

.scope-student .dark-button:hover {
  background: #111827;
}
.scope-student .dark-button,
.scope-student .small-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  cursor: pointer;
}

.scope-student .dark-button {
  min-width: 120px;
  height: 34px;
  padding: 0 14px;
  border-radius: 8px;
  background: #182337;
  color: #ffffff;
  border: none;
  font-size: 12px;
  font-weight: 700;
}

.scope-student .small-button {
  min-width: 60px;
  height: 28px;
  padding: 0 12px;
  border-radius: 7px;
  border: 1px solid #b8c7d8;
  background: #f5f8fb;
  color: #334155;
  font-size: 11px;
  font-weight: 700;
}

.scope-student .disabled-button {
  opacity: 0.55;
  pointer-events: none;
}
.scope-student .back-arrow {
  text-decoration: none;
  color: #182337;
  margin-right: 8px;
  font-weight: 800;
}

.scope-student .back-arrow:hover {
  color: #2563eb;
}

.scope-student .dark-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 120px;
  height: 34px;
  padding: 0 14px;
  border-radius: 8px;
  background: #182337;
  color: #ffffff;
  border: none;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.scope-student .dark-button:hover {
  background: #111827;
}

.scope-student .disabled-button {
  opacity: 0.55;
  pointer-events: none;
}
/* FIX BACK ARROW */
body.scope-student .back-title {
  display: flex;
  align-items: center;
  gap: 12px;
}

body.scope-student .back-arrow {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  color: #182337 !important;
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 800;
}

body.scope-student .back-arrow:hover {
  background: #e2e8f0;
}

/* FIX BOOK THIS ROOM BUTTON */
body.scope-student .room-action-side a.dark-button {
  width: 150px !important;
  min-width: 150px !important;
  height: 36px !important;
  padding: 0 16px !important;
  border-radius: 9px !important;
  background: #182337 !important;
  color: #ffffff !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  white-space: nowrap !important;
}

body.scope-student .room-action-side a.dark-button:hover {
  background: #111827 !important;
}

/* FIX SMALL BOOK BUTTON */
body.scope-student .room-row-actions a.small-button {
  width: 70px !important;
  height: 30px !important;
  border-radius: 8px !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-weight: 800 !important;
}
body.scope-student .submit-complaint-btn {
  width: 150px !important;
  min-width: 150px !important;
  height: 36px !important;
  border-radius: 9px !important;
  background: #182337 !important;
  color: #ffffff !important;
  border: none !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  cursor: pointer !important;
  white-space: nowrap !important;
}

body.scope-student .submit-complaint-btn:hover {
  background: #111827 !important;
}
/* ADMIN LOGIN PAGE */
body.admin-login-page {
  margin: 0;
  min-height: 100vh;
  background: #111827;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: Arial, Helvetica, sans-serif;
}

.admin-login-box {
  width: 360px;
  text-align: center;
  color: #ffffff;
}

.admin-login-box .lock-icon {
  font-size: 38px;
  margin-bottom: 14px;
}

.admin-login-box h1 {
  margin: 0;
  font-size: 28px;
  font-weight: 800;
}

.admin-login-box .subtitle {
  margin: 8px 0 22px;
  color: #cbd5e1;
  font-size: 13px;
}

.login-card-dark {
  background: #1f2937;
  border: 1px solid #374151;
  border-radius: 14px;
  padding: 24px;
  text-align: left;
  box-shadow: 0 20px 40px rgba(0,0,0,0.25);
}

.login-card-dark label {
  display: block;
  color: #e5e7eb;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 7px;
  margin-top: 14px;
}

.login-card-dark label:first-child {
  margin-top: 0;
}

.login-card-dark input {
  width: 100%;
  height: 38px;
  border-radius: 8px;
  border: 1px solid #4b5563;
  background: #111827;
  color: #ffffff;
  padding: 0 12px;
  font-size: 13px;
  box-sizing: border-box;
  outline: none;
}

.login-card-dark input::placeholder {
  color: #9ca3af;
}

.admin-orange-btn {
  width: 100%;
  height: 40px;
  margin-top: 20px;
  border: none;
  border-radius: 8px;
  background: #f97316;
  color: white;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.admin-orange-btn:hover {
  background: #ea580c;
}
/* =========================================================
   DESIGN SYSTEM UNIFICATION LAYER
   This block standardizes navbar height, sidebar active states,
   and button styles across all 5 scopes, without touching any
   Blade/HTML files. Placed last so it wins by source order
   against earlier same-specificity rules.
========================================================= */

/* ---------- Navbar height: standardize to 46px everywhere ---------- */
.scope-home .navbar,
.scope-auth .navbar,
.scope-student .navbar {
    height: 46px !important;
}
.scope-admin-a .admin-topbar,
.scope-admin-b .admin-topbar,
.scope-admin-b .student-topbar {
    height: 46px !important;
}

/* ---------- Sidebar active state: one consistent look everywhere ---------- */
.scope-auth .sidebar a.active,
.scope-student .sidebar a.active,
.scope-admin-b .student-sidebar a.active {
    background: #eef6ff !important;
    color: #1683e8 !important;
    font-weight: 800 !important;
    border-left: 3px solid #1683e8 !important;
    padding-left: 12px !important;
}

.scope-admin-a .admin-sidebar a.active,
.scope-admin-b .admin-sidebar a.active {
    background: #212c3e !important;
    color: #ff781f !important;
    font-weight: 800 !important;
    border-left: 4px solid #ff781f !important;
    padding-left: 11px !important;
}

/* ---------- Unified DARK action buttons ---------- */
.scope-home .btn-dark,
.scope-auth .auth-button,
.scope-student .dark-button,
.scope-admin-a .small-dark-btn,
.scope-admin-b .btn-dark {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 32px !important;
    min-width: 96px !important;
    padding: 0 16px !important;
    border-radius: 8px !important;
    border: none !important;
    background: #182337 !important;
    color: #ffffff !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    cursor: pointer !important;
}
.scope-home .btn-dark:hover,
.scope-auth .auth-button:hover,
.scope-student .dark-button:hover,
.scope-admin-a .small-dark-btn:hover,
.scope-admin-b .btn-dark:hover {
    background: #111827 !important;
}

/* ---------- Unified LIGHT/secondary buttons ---------- */
.scope-home .btn-light,
.scope-auth .light-button,
.scope-student .light-button,
.scope-student .small-button,
.scope-admin-a .small-light-btn,
.scope-admin-b .btn-light,
.scope-admin-b .small-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 28px !important;
    min-width: 70px !important;
    padding: 0 14px !important;
    border-radius: 8px !important;
    border: 1px solid #b8c7d8 !important;
    background: #f5f8fb !important;
    color: #334155 !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    cursor: pointer !important;
}
.scope-home .btn-light:hover,
.scope-auth .light-button:hover,
.scope-student .light-button:hover,
.scope-student .small-button:hover,
.scope-admin-a .small-light-btn:hover,
.scope-admin-b .btn-light:hover,
.scope-admin-b .small-btn:hover {
    background: #eaf1f8 !important;
}

/* ---------- Unified DELETE/DANGER buttons ---------- */
.scope-admin-a .delete-btn,
.scope-admin-b .delete-btn,
.scope-admin-b .remove-btn,
.scope-admin-b .btn-danger {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 32px !important;
    min-width: 62px !important;
    padding: 0 16px !important;
    border-radius: 8px !important;
    border: 1px solid #ffb8b8 !important;
    background: #ffe8e8 !important;
    color: #ff3e52 !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    cursor: pointer !important;
}
.scope-admin-a .delete-btn:hover,
.scope-admin-b .delete-btn:hover,
.scope-admin-b .remove-btn:hover,
.scope-admin-b .btn-danger:hover {
    background: #ffd6d6 !important;
}

/* ---------- Keep special-case buttons aligned to the system ---------- */
body.scope-student .room-action-side a.dark-button,
body.scope-student .submit-complaint-btn {
    border-radius: 8px !important;
}