/* external-light.css - production-like external light theme
   This file imports the existing vertical-layout-light stylesheet so the app uses a single external theme file.
   It can be replaced with a minified/remote CDN file for production builds.
*/

@import url("./vertical-layout-light/style.css");

/* Production overrides (optional) */
:root {
  --primary-color: #0d6efd;
}

body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Responsive adjustments for mobile and tablet */
.navbar-logo {
  max-width: 120px;
  height: auto;
}
.navbar-mini-logo {
  max-width: 50px;
  height: auto;
}
.profile-avatar {
  width: 36px;
  height: 36px;
  object-fit: cover;
}
.profile-avatar-lg {
  width: 150px;
  height: 150px;
  object-fit: cover;
}

/* Small UI helpers */
.date-input {
  width: 200px;
  max-width: 100%;
}

@media (max-width: 576px) {
  .date-input {
    width: 100%;
  }
}

/* Sidebar mobile behavior */
@media (max-width: 991.98px) {
  .sidebar {
    position: fixed !important;
    top: 56px;
    left: -260px;
    width: 260px;
    height: 100vh;
    z-index: 1050;
    background: var(--white, #fff);
    transition: left 0.25s ease-in-out;
    overflow-y: auto;
  }

  body.sidebar-open .sidebar {
    left: 0;
  }

  .navbar-brand-wrapper .navbar-logo {
    max-width: 90px;
  }
}

@media (max-width: 767.98px) {
  .navbar-brand-wrapper .navbar-logo {
    max-width: 70px;
  }

  .profile-avatar {
    width: 28px;
    height: 28px;
  }

  .profile-avatar-lg {
    width: 120px;
    height: 120px;
  }

  /* ensure content paddings on small screens */
  .main-panel .content-wrapper {
    padding: 8px !important;
  }
}

.logout-icon {
  font-size: 21px;
}

@media (max-width: 576px) {
  .logout-icon {
    font-size: 18px;
  }
}
