/********** Template CSS **********/

/* ================= BODY / ROOT VARIABLES ================= */
html, body {
    overflow-x: hidden; /* prevent horizontal scroll */
    margin: 0;
    padding: 0;
    font-family: "Open Sans", sans-serif;
    font-size: 1rem;
    line-height: 1.5;
    color: #5F656F;
}

:root {
    --primary: #71797E;
    --secondary: #000000;
    --light: #FFFFFF;
    --dark: #0D0D0D;
}


.bg-primary {
    background: var(--primary) !important;
}

.bg-dark {
    background: var(--dark) !important;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 30px;
    z-index: 99;
}

h1,
h2,
.h1,
.h2,
.fw-bold {
    font-weight: 700 !important;
}

h3,
h4,
.h3,
.h4,
.fw-medium {
    font-weight: 600 !important;
}

h5,
h6,
.h5,
.h6,
.fw-semi-bold {
    font-weight: 500 !important;
}


.text-primary {
  color: #71797E !important;
}

.text-secondary {
  color: #0A84FF !important;
}

.text-light {
  color: #FFFFFF !important;
}

.text-dark {
  color: #0D0D0D !important;
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
    transition: .5s;
    font-weight: 500;
}

.btn-primary,
.btn-outline-primary:hover {
    color: #6b6b6b;
}

.btn-primary.active{
    background-color: #999797;
    border-color: #000000;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
    left: 15px;
    bottom: 14px;
    background: var(--primary);
}



.topbar-right {
    position: relative;
    background: var(--primary);
}
.topbar-right::before {
    position: absolute;
    content: "";
    width: 30px;
    height: 100%;
    top: 0;
    left: -15px;
    transform: skewX(-30deg);
    background-color: var(--primary);
    max-width: 100%;
}


/*** Navbar ***/
.navbar.sticky-top {
    top: -100px;
    transition: .5s;
}

.navbar .navbar-brand {
    position: relative;
    padding-right: 50px;
    height: 75px;
    display: flex;
    align-items: center;
    background: var(--primary);
}

.navbar .navbar-brand::after {
    position: absolute;
    content: "";
    width: 50px;
    height: 100%;
    top: 0;
    right: -25px;
    transform: skewX(-30deg);
    background-color: var(--primary);
    max-width: 100%;
}

.navbar .navbar-nav .nav-link {
    margin-right: 20px;
    padding: 20px 0;
    color: var(--dark);
    font-size: 18px;
    font-weight: 500;
    outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--primary);
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav .nav-link  {
        margin-right: 0;
        padding: 10px 0;
    }

    .navbar .navbar-nav {
        border-top: 1px solid #EEEEEE;
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        border: none;
        margin-top: 0;
        top: 150%;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}


.dropdown-item:hover {
  color: #9c9c9c;
  background-color: #e9ecef;
}


/*** Header ***/
.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    background: linear-gradient(to left, rgba(13, 13, 13, 0.5), rgba(13, 13, 13, 0.5));
    z-index: 1;
}

.carousel-control-prev,
.carousel-control-next {
    width: 15%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3.5rem;
    height: 3.5rem;
    background-color: var(--primary);
    border: 15px solid var(--primary);
    border-radius: 3.5rem;
}

#header-carousel .carousel-item {
  position: relative;
  height: 900px; /* choose the height you want */
}

#header-carousel .carousel-item img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* crop instead of stretching */
}


@media (max-width: 768px) {
    #header-carousel .carousel-item {
        position: relative;
        min-height: 450px;
    }
    
    #header-carousel .carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}


.page-header.background {
    background: linear-gradient(to left, rgb(65, 71, 75), rgba(193, 193, 193, 0.75))
}





.page-header .breadcrumb-item+.breadcrumb-item::before {
    color: var(--light);
}

.page-header .breadcrumb-item,
.page-header .breadcrumb-item a {
    font-size: 18px;
    color: var(--light);
}

/* About images styling */
.about-images {
  position: relative;
  min-height: 300px; /* ensure some height */
}

.about-images .top-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 70%;
  height: auto;
  object-fit: cover;
  z-index: 2;
}

.about-images .bottom-img {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 70%;
  height: auto;
  object-fit: cover;
  z-index: 1;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .about-images .top-img,
  .about-images .bottom-img {
    position: relative !important;
    width: 100% !important;
    top: auto !important;
    left: auto !important;
    bottom: auto !important;
    right: auto !important;
    margin-bottom: 15px;
  }
}

/* Add this in your CSS */
@media (max-width: 768px) {
  .carousel-caption h1 {
    font-size: 2rem; /* instead of display-1 huge font */
  }

  .carousel-caption p {
    font-size: 0.9rem; /* smaller text on mobile */
  }
}

.carousel-caption {
  padding: 0 15px; /* small padding */
}

.translate-middle {
  transform: translate(-20%, -50%) !important;
}
.start-50 {
  left: 30% !important;
}

/*** Facts ***/
.facts {
    position: relative;
    margin: 6rem 0;
    background: var(--dark);
}

.facts .border {
    border-color: rgba(255, 255, 255, .1) !important;
}


/*** Features ***/
.btn-play {
    position: absolute;
    top: 50%;
    right: -30px;
    transform: translateY(-50%);
    display: block;
    box-sizing: content-box;
    width: 16px;
    height: 26px;
    border-radius: 100%;
    border: none;
    outline: none !important;
    padding: 18px 20px 20px 28px;
    background: var(--primary);
}

@media (max-width: 992px) {
    .btn-play {
        left: 50%;
        right: auto;
        transform: translate(-50%, -50%);
    }
}

.btn-play:before {
    content: "";
    position: absolute;
    z-index: 0;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: block;
    width: 60px;
    height: 60px;
    background: var(--primary);
    border-radius: 100%;
    animation: pulse-border 1500ms ease-out infinite;
}

.btn-play:after {
    content: "";
    position: absolute;
    z-index: 1;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: block;
    width: 60px;
    height: 60px;
    background: var(--primary);
    border-radius: 100%;
    transition: all 200ms;
}

.btn-play span {
    display: block;
    position: relative;
    z-index: 3;
    width: 0;
    height: 0;
    left: -1px;
    border-left: 16px solid #FFFFFF;
    border-top: 11px solid transparent;
    border-bottom: 11px solid transparent;
}


@keyframes pulse-border {
    0% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1);
        opacity: 1;
    }

    100% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(2);
        opacity: 0;
    }
}

.modal-video .modal-dialog {
    position: relative;
    max-width: 800px;
    margin: 60px auto 0 auto;
}

.modal-video .modal-body {
    position: relative;
    padding: 0px;
}

.modal-video .close {
    position: absolute;
    width: 30px;
    height: 30px;
    right: 0px;
    top: -30px;
    z-index: 999;
    font-size: 30px;
    font-weight: normal;
    color: #FFFFFF;
    background: #000000;
    opacity: 1;
}

.img-fluid {
  max-width: 100%;
  height: 300px;
}

.team-img-fluid {
  max-width: 100%;
  height: auto;
}

.service-item {
    position: relative;
    margin: 120px 0 120px; /* extra bottom margin for button */
    box-shadow: 0 0 45px rgba(0, 0, 0, 0.07);
    overflow: visible; 
    border-radius: 8px;
}

/* Top icon/image */
.service-item .service-img {
    position: absolute;
    width: auto;
    height: auto;
    top: -65px;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    padding: 12px;
    box-shadow: 0 0 45px rgba(0, 0, 0, 0.09);
    z-index: 2;
}

.service-item .service-img img {
    width: 100px;
    height: 75px;
    object-fit: cover;
    display: block;
}

/* Title overlay */
.service-item .service-title {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 65px 30px 25px 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: #d8d8d8;
    transition: .5s;
    z-index: 1;
}

.service-item:hover .service-title {
    top: -100%;
}

/* Hover background text overlay */
.service-item .service-text {
    position: absolute;
    top: 0; /* start at top */
    left: 0;
    width: 100%;
    height: 100%; /* fill entire card */
    padding: 65px 30px 25px 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: rgba(0, 0, 0, 0.75); /* slightly darker overlay */
    color: #fff;
    opacity: 0; /* hidden initially */
    transition: opacity 0.5s ease;
    z-index: 1;
    border-radius: 8px;
}


.service-item:hover .service-text {
    opacity: 1; /* fully visible on hover */
}

/* Button at bottom */
.service-item .btn {
    position: absolute;
    width: 130px;
    height: 50px;
    left: 50%;
    bottom: -25px;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
    background: #fff;
    border: none;
    box-shadow: 0 0 45px rgba(0, 0, 0, 0.09);
    z-index: 2;
    transition: all 0.3s ease;
}

.service-item .btn:hover {
    color: #fff;
    background: var(--primary);
}

/* Button at bottom */
.service-item > .btn {
    position: absolute;
    width: 130px;
    height: 50px;
    left: 50%;
    bottom: -25px;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
    background: #fff;
    border: none;
    box-shadow: 0 0 45px rgba(0, 0, 0, 0.09);
    z-index: 2;
    transition: all 0.3s ease;
}

/* Lift slightly on hover */
.service-item:hover > .btn {
    transform: translate(-50%, -60px); /* centered, moves straight up */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Button hover styling */
.service-item > .btn:hover {
    color: #fff;
    background: var(--primary);
}


.product-item {
    position: relative;
    margin: 120px 0 120px; /* extra bottom margin for button */
    box-shadow: 0 0 45px rgba(0, 0, 0, 0.07);
    overflow: visible; 
    border-radius: 8px;
}

/* Top icon/image */
.product-item .product-img {
    position: absolute;
    width: auto;
    height: auto;
    top: -65px;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    padding: 12px;
    box-shadow: 0 0 45px rgba(0, 0, 0, 0.09);
    z-index: 2;
}

.product-item .product-img img {
    width: 100px;
    height: 75px;
    object-fit: cover;
    display: block;
}

/* Title overlay */
.product-item .product-title {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 65px 30px 25px 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: #d8d8d8;
    transition: .5s;
    z-index: 1;
}

.product-item:hover .product-title {
    top: -100%;
}

/* Hover background text overlay */
.product-item .product-text {
    position: absolute;
    top: 0; /* start at top */
    left: 0;
    width: 100%;
    height: 100%; /* fill entire card */
    padding: 65px 30px 25px 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: rgba(0, 0, 0, 0.15); /* slightly darker overlay */
    color: #fff;
    opacity: 0; /* hidden initially */
    transition: opacity 0.5s ease;
    z-index: 1;
    border-radius: 8px;
}


.product-item:hover .product-text {
    opacity: 1; /* fully visible on hover */
}

/* Button at bottom */
.product-item .btn {
    position: absolute;
    width: 130px;
    height: 50px;
    left: 50%;
    bottom: -25px;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
    background: #fff;
    border: none;
    box-shadow: 0 0 45px rgba(0, 0, 0, 0.09);
    z-index: 2;
    transition: all 0.3s ease;
}

.product-item .btn:hover {
    color: #fff;
    background: var(--primary);
}




/* ===== Admin Table Layout ===== */
.table {
  margin-top: 1rem;
  border-radius: 0.375rem;
  overflow: hidden;
  background-color: #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  table-layout: fixed; /* ensure consistent column widths */
  width: 100%;
}

.table th,
.table td {
  vertical-align: middle;
  padding: 0.75rem 1rem; /* breathing room */
  word-wrap: break-word; /* prevent overflow text */
}

/* Hover effect */
.table-hover tbody tr:hover {
  background-color: #f5f5f5;
}

/* Table header styling */
.table th {
  background-color: #343a40;
  color: #fff;
  font-weight: 600;
}

/* ID column (first) always left-aligned, with min-width */
.table th:first-child,
.table td:first-child {
  text-align: left;
  padding-left: 1.25rem;
  min-width: 70px;
}

/* Action column (last) always right-aligned, with min-width */
.table th:last-child,
.table td:last-child {
  text-align: center;
  padding-right:1.25rem;
  min-width: 120px;
}

/* Other columns centered */
.table th:not(:first-child):not(:last-child),
.table td:not(:first-child):not(:last-child) {
  text-align: center;
}

/* Thumbnail images inside tables */
.admin-thumb {
  width: 60px;
  height: auto;
  border-radius: 6px;
  display: block;
  margin: 0 auto;
}

/* Preview images in forms/modals */
.admin-preview {
  max-width: 250px;
  height: auto;
  border-radius: 8px;
  margin: 0 auto 10px auto;
}

/* Buttons inside tables */
.btn-sm {
  padding: 0.25rem 0.5rem;
  font-size: 0.85rem;
  border-radius: 0.25rem;
}

.btn-primary {
  background-color: #71797E; /* primary steel gray */
  border-color: #71797E;
  color: #FFFFFF; /* light text for contrast */
  font-weight: 500;
  transition: all 0.3s ease;
}

.btn-primary:hover,
.btn-primary:focus {
  background-color: #565E63; /* darker steel gray for hover */
  border-color: #565E63;
  color: #FFFFFF;
}

.btn-danger {
  background-color: #000000;
  border: none;
}
.btn-danger:hover {
  background-color: #000000;
}

/* Badge styling */
.badge {
  padding: 0.35em 0.6em;
  border-radius: 0.5rem;
  font-size: 0.8rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  #dashboardContent {
    padding: 1rem;
  }

  .sidebar {
    min-height: auto;
    padding-bottom: 1rem;
  }

  /* Stack cells nicely on small screens */
  .table th,
  .table td {
    padding: 0.5rem;
    font-size: 0.9rem;
  }
}


/* Optional: center modal titles */
.modal-title {
  text-align: center;
  width: 100%;
}
/* Project Carousel Container */
.project-carousel {
    position: relative;
    background: var(--dark);
}

/* Owl Carousel Items */
.project-carousel .owl-item {
    display: flex !important;
    justify-content: center;
}

/* Project Item */
.project-item {
    position: relative;
    display: block;        /* matches original HTML */
    overflow: hidden;
    border-radius: 10px;
    width: 350px;
    flex: 0 0 auto;
    margin: 0 15px;
    transition: transform 0.3s;
}

/* Images */
.project-item img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    transition: margin-top 0.5s;
}

/* Hover effect (image moves up) */
.project-item:hover img,
.project-carousel .owl-item.center img {
    margin-top: -60px; /* matches original */
}

/* Title Overlay */
.project-item .project-title {
    position: absolute;
    bottom: -110px;      /* hidden initially like original */
    left: 0;
    width: 100%;
    height: 80px;
    padding: 0 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: var(--dark);
    transition: bottom 0.5s, background 0.5s;
}

/* Title slides up on hover or center */
.project-item:hover .project-title,
.project-carousel .owl-item.center .project-title {
    bottom: -60px;
}

/* Extra overlay effect (skew like original) */
.project-item .project-title::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 30px;
    top: -15px;
    left: 0;
    transform: skewY(-5deg);
    background: var(--dark);
    transition: .5s;
}

.project-title h5 {
    margin: 0;
    color: #fff;
    font-size: 1rem;
}

/* Navigation Arrows */
.project-carousel .owl-nav {
    position: absolute;
    width: 100%;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    opacity: 0;
    z-index: 10;
    transition: opacity 0.3s;
}

.project-carousel:hover .owl-nav {
    opacity: 1;
}

.project-carousel .owl-nav .owl-prev,
.project-carousel .owl-nav .owl-next {
    margin: 0 30px;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: var(--primary);
    border-radius: 50%;
    font-size: 22px;
    transition: transform 0.3s, background 0.3s;
}

.project-carousel .owl-nav .owl-prev:hover,
.project-carousel .owl-nav .owl-next:hover {
    transform: scale(1.1);
    background: var(--dark);
}



/*** Team ***/
.team-item .team-social {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: -100%;
    display: flex;
    align-items: center;
    background: var(--primary);
    transition: .5s;
}

.team-item:hover .team-social {
    left: 0;
}


/*** Testimonial ***/
.testimonial-carousel::before {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(to right, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
    z-index: 1;
}

.testimonial-carousel::after {
    position: absolute;
    content: "";
    top: 0;
    right: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(to left, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
    z-index: 1;
}

@media (min-width: 768px) {
    .testimonial-carousel::before,
    .testimonial-carousel::after {
        width: 200px;
    }
}

@media (min-width: 992px) {
    .testimonial-carousel::before,
    .testimonial-carousel::after {
        width: 300px;
    }
}

.testimonial-carousel .owl-nav {
    position: absolute;
    width: 350px;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: space-between;
    opacity: 0;
    transition: .5s;
    z-index: 1;
}

.testimonial-carousel:hover .owl-nav {
    width: 300px;
    opacity: 1;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    position: relative;
    color: var(--primary);
    font-size: 45px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    color: var(--dark);
}

.testimonial-carousel .testimonial-img img {
    width: 100px;
    height: 100px;
}

.testimonial-carousel .testimonial-img .btn-square {
    position: absolute;
    bottom: -19px;
    left: 50%;
    transform: translateX(-50%);
}

.testimonial-carousel .owl-item .testimonial-text {
    margin-bottom: 30px;
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
    transform: scale(.8);
    transition: .5s;
}

.testimonial-carousel .owl-item.center .testimonial-text {
    transform: scale(1);
}


/*** Footer ***/
.footer {
    color: #B0B9AE;
}

.footer i.fa {
    color: var(--primary); /* or any hex color, e.g., #71797E */
}

/* Optional: also change link color */
.footer a {
    color: #B0B9AE; /* your current footer link color */
    text-decoration: none;
}

.footer a:hover {
    color: var(--light); /* on hover */
}

.footer .row {
    justify-content: center; /* center everything horizontally */
    text-align: center;      /* center text in all columns */
    gap: 60px;               /* equal distance between columns */
}

.footer h5 {
    margin-bottom: 20px;
    font-weight: 600;
    text-align: center;
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: #B0B9AE;
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
    text-align: center;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: var(--light);
    letter-spacing: 1px;
    box-shadow: none;
}

.copyright {
    color: #B0B9AE;
    border-top: 1px solid rgba(255, 255, 255, .1);
}

/* ================= RESET & ROOT ================= */
.admin {
  margin: 0;
  padding: 0;
  font-family: 'Inter', sans-serif;
  height: 100%;
  background: #F5F5F5; /* light grey background */
}

.login-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  padding: 1rem;
}

.login-card {
  background: #b9b9b9;
  border-radius: 12px;
  padding: 2rem;
  width: 100%;
  max-width: 400px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  transition: transform 0.2s ease;
}

.login-card:hover {
  transform: translateY(-3px);
}

.login-title {
  text-align: center;
  color: #5F656F; /* site secondary grey */
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.4rem;
  font-weight: 500;
  color: #5F656F; /* match site grey */
}

.form-group input {
  width: 100%;
  padding: 0.6rem 0.8rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 0.95rem;
  transition: border-color 0.2s, box-shadow 0.2s;
  background-color: #fff;
  color: #5F656F;
}

.form-group input:focus {
  border-color: #5F656F; /* focus grey */
  box-shadow: 0 0 0 2px rgba(95, 101, 111, 0.2);
  outline: none;
}

.error-msg {
  color: #5F656F;
  margin-bottom: 1rem;
  text-align: center;
  min-height: 1.2rem;
}

.btn-login {
  width: 100%;
  padding: 0.6rem;
  background-color: #5F656F; /* grey button */
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.btn-login:hover {
  background-color: #474D55; /* darker grey hover */
  transform: translateY(-2px);
}

.btn-login:active {
  transform: translateY(0);
}

/* ================= SIDEBAR ================= */
.sidebar {
  background-color: #fff;
  min-height: 100vh;
  border-right: 1px solid #dee2e6;
  padding-top: 1rem;
}

.sidebar .nav-link {
  color: #5F656F; /* site grey */
  font-weight: 500;
  padding: 0.75rem 1rem;
  border-radius: 0.25rem;
  margin-bottom: 0.25rem;
  transition: all 0.2s;
}

.sidebar .nav-link.active,
.sidebar .nav-link:hover {
  background-color: #474D55; /* darker grey hover */
  color: #fff;
}

/* ================= MAIN CONTENT ================= */
#dashboardContent {
  padding: 1.5rem;
}

.btn-logout:hover {
  background-color: #a5a5a5;
  transform: translateY(-1px);
}

/* ================= TABLES ================= */
.table {
  margin-top: 1rem;
  border-radius: 0.375rem;
  overflow: hidden;
  background-color: #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.table th, .table td {
  text-align: center;
  vertical-align: middle;
}

.table th {
  background-color: #5F656F; /* grey header */
  color: #fff;
  font-weight: 600;
}

.table td img.admin-thumb {
  width: 60px;
  height: auto;
  border-radius: 4px;
}

.btn-sm {
  padding: 0.25rem 0.5rem;
  font-size: 0.85rem;
  border-radius: 0.25rem;
}

/* ================= BADGES ================= */
.badge {
  padding: 0.35em 0.6em;
  border-radius: 0.5rem;
  font-size: 0.8rem;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 768px) {
  .dashboard-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  #dashboardContent {
    padding: 1rem;
  }

  .sidebar {
    min-height: auto;
    padding-bottom: 1rem;
  }
}
