#layout-navbar {
  max-width: 100%;
}

#banner {
  background: url("../images/sky.jpg") no-repeat 0 0;
  background-size: cover;
}

.banner img {
  position: 0;
  left: 0;
  top: 0;
  width: 100%;
  height: auto;
  opacity: 10;
}

.banner-title {
  padding-top: 10rem;
  margin-bottom: 10px;
}

.banner-title h2 {
  color: #fff;
  background: rgba(163, 163, 163, 0.7);
  display: inline-block;
  padding: 10px;
  margin: 10px;
}

.banner-title p.lead {
  color: #fff;
  background: rgba(231, 76, 60, 0.7);
  padding: 10px;
}

.footer {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;

  color: white;
  text-align: center;

  color: #fff;
  background: #2c3e50;
  padding: 10px 0;
}

.myTable {
  width: 100%;
  text-align: left;
  background-color: #f7f5f5;
  border-collapse: collapse;
}
.myTable th {
  background-color: #c2c2c2;
}
.myTable td,
.myTable th {
  padding: 10px;
  border: 1px solid #e0dede;
  color: black;
}

.row1 {
  background-color: #004c87;
  border-radius: 15px;
  border-collapse: collapse;
}

.col2 {
  background-color: #ffd162;
  border-collapse: collapse;
}

.green-border-focus .form-control:focus {
  border: 1px solid #8bc34a;
  box-shadow: 0 0 0 0.2rem rgba(41, 80, 163, 1);
}

/* --- SMIN menu fallback: ensure submenu shows when parent is .open --- */
#layout-menu .menu-item.open > .menu-sub {
  display: block !important;
  height: auto !important;
  visibility: visible !important;
  overflow: visible !important;
}
/* Ensure collapsed state doesn't forcibly hide via inline height when not .open */
#layout-menu .menu-item > .menu-sub[style*="display: none"] {
  display: none !important;
}
#layout-menu .menu-item.open > .menu-sub[style] {
  display: block !important;
}

/* Modal header alignment: title left, close button right */
.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #e7eaed;
  padding: 1rem 1.5rem;
}
.modal-header .modal-title {
  margin: 0;
}
/* Support both Bootstrap 4 (.close) and Bootstrap 5 (.btn-close) */
.modal-header .close,
.modal-header .btn-close {
  margin-left: auto;
}

.form-group {
  margin-bottom: 10px;
}

/* --- Premium File Input Styling --- */
input[type="file"] {
  background-color: #fdfdfd !important;
  border: 2px dashed #009bef !important;
  border-radius: 8px !important;
  padding: 10px !important;
  height: auto !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  cursor: pointer;
  width: 100%;
  display: block;
}

input[type="file"]:hover {
  background-color: #fff !important;
  border-color: #009bef !important;
  box-shadow: 0 4px 12px rgba(232, 160, 88, 0.15);
}

input[type="file"]::file-selector-button {
  background: linear-gradient(135deg, #009bef 0%, #009bef 100%) !important;
  color: white !important;
  border: none !important;
  padding: 8px 16px;
  border-radius: 6px;
  margin-right: 15px;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

input[type="file"]::file-selector-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(232, 160, 88, 0.3);
  background: linear-gradient(135deg, #009bef 0%, #009bef 100%) !important;
}

input[type="file"]:focus {
  outline: none;
  border-color: #009bef !important;
  box-shadow: 0 0 0 3px rgba(232, 160, 88, 0.2) !important; 
}

/* --- Modern Breadcrumb UI --- */
.breadcrumb {
  background-color: #ffffff;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin-bottom: 0;
  align-items: center;
}

/* Mix of BS5 (.breadcrumb-item) and Legacy (.breadcrumb > li) */
.breadcrumb-item,
.breadcrumb > li {
  display: flex;
  align-items: center;
  font-size: 0.95rem;
  color: #6c757d;
}

/* Separator styling */
.breadcrumb-item + .breadcrumb-item::before,
.breadcrumb > li + li::before {
  content: "\f105"; /* FontAwesome angle-right */
  font-family: "Font Awesome 6 Free", "Font Awesome 5 Free", "FontAwesome";
  font-weight: 900;
  padding: 0 0.5rem;
  color: #ced4da;
  float: none; 
}

/* Links */
.breadcrumb-item a,
.breadcrumb > li a {
  color: #009bef;
  text-decoration: none;
  transition: color 0.2s ease-in-out;
  font-weight: 500;
}

.breadcrumb-item a:hover,
.breadcrumb > li a:hover {
  color: #0078bd;
  text-decoration: underline;
}

/* Icons alignment */
.breadcrumb-item i,
.breadcrumb > li i {
  margin-right: 0.4rem;
  color: #aeb4b9;
}

.breadcrumb-item a i,
.breadcrumb > li a i {
  color: inherit;
}

/* Active State */
.breadcrumb-item.active,
.breadcrumb > li.active {
  color: #495057;
  font-weight: 600;
}
