/* ===== CONTINENTAL TYRES NAVIGATION STYLING ===== */

/* Top Navbar - Continental Theme matching image */
.navbar-top {
    background-color: #000 !important;
    border-bottom: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1) !important;
    z-index: 1050 !important;
    height: 70px !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
}

.navbar-top .navbar-brand,
.navbar-top .navbar-brand .logo-text {
    color: #fff !important;
    font-weight: bold !important;
}

.navbar-top .navbar-toggler {
    color: #fff !important;
    border-color: rgba(255, 255, 255, 0.3) !important;
}

.navbar-top .navbar-toggler:hover {
    background-color: rgba(255, 255, 255, 0.1) !important;
}

.navbar-top .navbar-nav .nav-link {
    color: #fff !important;
}

.navbar-top .navbar-nav .nav-link:hover {
    color: #fff !important;
    background-color: rgba(255, 255, 255, 0.1) !important;
    border-radius: 5px !important;
}

/* Vehicle Search Bar in Top Nav - positioned near logo */
.vehicle-search-container {
    display: flex;
    align-items: center;
    gap: 0;
    max-width: 350px;
    flex-shrink: 1;
    min-width: 0;
}

/* Keep user + theme controls visible when search + logo use horizontal space */
.navbar-top .navbar-collapse.justify-content-between {
    flex: 1 1 auto;
    min-width: 0;
}

.navbar-top .navbar-logo {
    flex: 1 1 auto;
    min-width: 0;
}

.navbar-top .navbar-nav.navbar-nav-icons {
    flex-shrink: 0;
}

.vehicle-search-input {
    border: none !important;
    border-radius: 25px 0 0 25px !important;
    padding: 10px 15px !important;
    font-size: 14px !important;
    background-color: #fff !important;
    color: #333 !important;
    box-shadow: none !important;
    height: 40px !important;
    width: 220px !important;
}

.vehicle-search-input:focus {
    outline: none !important;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.3) !important;
}

.vehicle-search-btn {
    background: #fdb034 !important;
    border: none !important;
    border-radius: 0 25px 25px 0 !important;
    padding: 0 20px !important;
    color: #fff !important;
    font-weight: normal !important;
    font-size: 14px !important;
    transition: all 0.3s ease !important;
    height: 40px !important;
    line-height: 1 !important;
}

.vehicle-search-btn:hover {
    background: #e69500 !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2) !important;
}



/* User Dropdown Styling */
.dropdown-menu.dropdown-profile {
    border: none !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15) !important;
    border-radius: 10px !important;
}

.dropdown-profile .card {
    border: none !important;
    border-radius: 10px !important;
}

.dropdown-profile .btn-phoenix-secondary {
    background: #fdb034 !important;
    border: none !important;
    color: #fff !important;
    border-radius: 25px !important;
    font-weight: bold !important;
}

.dropdown-profile .btn-phoenix-secondary:hover {
    background: linear-gradient(135deg, #e67e22, #d35400) !important;
    transform: translateY(-1px) !important;
}

/* Ensure navigation items use consistent styling */
.navbar.navbar-vertical .navbar-collapse .navbar-nav .nav-link,
.navbar.navbar-vertical .navbar-collapse .navbar-nav .nav-link-text,
.navbar.navbar-vertical .navbar-collapse .navbar-nav .nav-link-icon {
    color: #ecf0f1 !important;
}

.navbar.navbar-vertical .navbar-collapse .navbar-nav .nav-link:hover,
.navbar.navbar-vertical .navbar-collapse .navbar-nav .nav-link.active {
    background: #fdb034 !important;
    color: #fff !important;
}

.navbar.navbar-vertical .navbar-collapse .navbar-nav .nav-link:hover .nav-link-text,
.navbar.navbar-vertical .navbar-collapse .navbar-nav .nav-link.active .nav-link-text,
.navbar.navbar-vertical .navbar-collapse .navbar-nav .nav-link:hover .nav-link-icon,
.navbar.navbar-vertical .navbar-collapse .navbar-nav .nav-link.active .nav-link-icon {
    color: #fff !important;
}

/* Menu item specific styles */
.navbar.navbar-vertical .navbar-nav .nav-item-wrapper {
    padding: 0.2rem 0;
}

.navbar.navbar-vertical .navbar-nav .nav-link {
    display: flex;
    align-items: center;
    padding: 0.5rem 0.8rem;
    font-size: 0.9rem;
    color: #5e6e82 !important;
}

.navbar.navbar-vertical .navbar-nav .nav-link-icon {
    width: 16px;
    margin-right: 0.8rem;
    font-size: 1rem;
    color: #5e6e82 !important;
}

.navbar.navbar-vertical .navbar-nav .nav-link-text {
    font-weight: 500;
}

.navbar.navbar-vertical .navbar-nav .nav-item-wrapper .nav-link .nav-link-text {
    background-color: transparent !important;
}

/* Active and hover states */
.navbar.navbar-vertical .navbar-nav .nav-link:hover,
.navbar.navbar-vertical .navbar-nav .nav-link.active {
    background-color: rgba(44, 123, 229, 0.1);
    border-radius: 4px;
}

/* Fix nav item padding and alignment */
.navbar.navbar-vertical .navbar-nav .nav-link .d-flex.align-items-center {
    padding: 0;
    margin: 0;
}

.navbar.navbar-vertical .navbar-nav .nav-link .nav-link-icon {
    margin-right: 0.75rem;
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.navbar.navbar-vertical .navbar-nav .nav-link .nav-link-text-wrapper {
    padding-top: 2px;
}

/* Fix Dashboard alignment */
.navbar.navbar-vertical .navbar-nav .nav-link {
    padding: 0.5rem 0.8rem;
}

.navbar.navbar-vertical .navbar-nav .nav-link .d-flex.align-items-center {
    padding: 0;
    margin: 0;
    width: 100%;
}

.navbar.navbar-vertical .navbar-nav .nav-link .nav-link-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    margin-right: 0.8rem;
}

/* Fix d-flex alignment in navbar */
.navbar.navbar-vertical .navbar-nav .nav-link .d-flex.align-items-center {
    display: flex !important;
    align-items: center !important;
    gap: 10px;
    margin: 0;
    padding: 0;
}

.navbar.navbar-vertical .navbar-nav .nav-link .d-flex.align-items-center .nav-link-icon {
    flex: 0 0 16px;
    height: 16px;
    margin: 0;
}

.navbar.navbar-vertical .navbar-nav .nav-link .d-flex.align-items-center .nav-link-text-wrapper {
    padding: 0;
    margin: 0;
}

/* Fix nav item alignment */
.navbar.navbar-vertical .navbar-nav .nav-item .nav-link {
    padding: 0.5rem 0.8rem;
}

.navbar.navbar-vertical .navbar-nav .nav-item .nav-link .d-flex {
    gap: 0.8rem;
}

.navbar.navbar-vertical .navbar-nav .nav-item .nav-link [data-feather] {
    width: 16px;
    height: 16px;
    stroke-width: 2px;
}

.navbar.navbar-vertical .navbar-nav .nav-item:first-child .nav-link {
    padding: 0.5rem 0.8rem;
}

/* Fix collapsed view button colors */
.navbar.navbar-vertical .navbar-vertical-footer {
    background-color: transparent;
}

.navbar.navbar-vertical .navbar-vertical-footer .navbar-vertical-toggle {
    color: #5e6e82;
    background-color: transparent;
}

.navbar.navbar-vertical .navbar-vertical-footer .navbar-vertical-toggle:hover {
    color: #2c7be5;
    background-color: rgba(44, 123, 229, 0.1);
}

/* Override navbar footer background */
.navbar-vertical.navbar-expand-lg .navbar-vertical-footer,
.navbar.navbar-vertical .navbar-vertical-footer {
    background-color: transparent !important;
}

.navbar-vertical.navbar-expand-lg .navbar-vertical-footer .navbar-vertical-toggle {
    background: transparent !important;
}

/* Override collapsed navbar background */
.navbar-vertical-collapsed .navbar-vertical.navbar-expand-lg {
    background-color: transparent !important;
}

.navbar-vertical-collapsed .navbar-vertical.navbar-expand-lg .navbar-vertical-footer {
    background-color: transparent !important;
}

/* Override navbar hover colors */
.navbar-vertical.navbar-expand-lg .navbar-vertical-content .navbar-nav .nav-link:hover {
    background-color: rgba(44, 123, 229, 0.1) !important;
    color: #2c7be5 !important;
}

/* Override collapsed navbar hover colors */
.navbar-vertical-collapsed .navbar-vertical.navbar-expand-lg .nav-item-wrapper:hover .nav-link-text-wrapper .nav-link-text {
    color: #2c7be5 !important;
}

.navbar-vertical-collapsed .navbar-vertical.navbar-expand-lg .nav-item-wrapper:hover {
    background-color: rgba(44, 123, 229, 0.1) !important;
}

/* Override collapsed navbar hover background */
.navbar-vertical-collapsed .navbar-vertical.navbar-expand-lg .navbar-collapse .navbar-vertical-content .navbar-nav .nav-item-wrapper:hover .nav-link {
    background-color: rgba(44, 123, 229, 0.1) !important;
}

/* Fix collapsed navbar popup hover */
.navbar-vertical-collapsed .navbar-vertical.navbar-expand-lg .navbar-collapse .navbar-vertical-content .nav-item .nav-item-wrapper {
    background-color: transparent !important;
}

.navbar-vertical-collapsed .navbar-vertical.navbar-expand-lg .navbar-collapse .navbar-vertical-content .nav-item .nav-item-wrapper:hover {
    background-color: rgba(44, 123, 229, 0.1) !important;
}

.navbar-vertical-collapsed .navbar-vertical.navbar-expand-lg .navbar-collapse .navbar-vertical-content .nav-item .nav-item-wrapper:hover .nav-link {
    color: #2c7be5 !important;
}

/* Override collapsed navbar popup menu background */
.navbar-vertical-collapsed .navbar-vertical.navbar-expand-lg .navbar-vertical-content .navbar-nav .nav-item .dropdown.nav-item-wrapper {
    background-color: #fff !important;
}

.navbar-vertical-collapsed .navbar-vertical.navbar-expand-lg .navbar-vertical-content .navbar-nav .nav-item .nav-item-wrapper .dropdown-menu {
    background-color: #fff !important;
    border: 1px solid rgba(0, 0, 0, .1);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, .1);
}

/* Content area font fix */
.main .content {
    font-family: "Nunito Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol" !important;
}

/* ===== SIDEBAR NAVIGATION - CONTINENTAL THEME ===== */

/* Sidebar Background */
.navbar.navbar-vertical {
  background-color: #1a1a1a !important;
  border-right: 2px solid #f39c12 !important;
  box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1) !important;
  position: fixed !important;
  top: 70px !important;
  left: 0 !important;
  bottom: 0 !important;
  z-index: 1040 !important;
  width: 250px !important;
  height: calc(100vh - 70px) !important;
  padding-top: 0 !important;
  margin-top: 0 !important;
  overflow-y: auto !important;
}

/* Ensure nav items are visible — but not those explicitly hidden with d-none */
.navbar.navbar-vertical .navbar-nav .nav-item:not(.d-none) {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  margin-bottom: 4px !important;
}

/* Sidebar Navigation Links */
.navbar.navbar-vertical .navbar-nav .nav-link {
  display: flex !important;
  align-items: center !important;
  color: #ecf0f1 !important;
  transition: all 0.3s ease !important;
  padding: 12px 16px !important;
  margin: 2px 8px !important;
  border-radius: 8px !important;
  text-decoration: none !important;
}

.navbar.navbar-vertical .navbar-nav .nav-link-text {
  color: #ecf0f1 !important;
  display: inline !important;
  visibility: visible !important;
}

.navbar.navbar-vertical .navbar-nav .nav-link-icon {
  color: #ecf0f1 !important;
  margin-right: 0.75rem !important;
  width: 16px !important;
  height: 16px !important;
}

/* Sidebar Hover and Active States */
.navbar.navbar-vertical .navbar-nav .nav-link:hover,
.navbar.navbar-vertical .navbar-nav .nav-link.active,
.navbar.navbar-vertical .navbar-nav .nav-link:focus {
  background: #fdb034 !important;
  color: #fff !important;
  transform: translateX(5px) !important;
  box-shadow: 0 4px 8px rgba(243, 156, 18, 0.3) !important;
}

.navbar.navbar-vertical .navbar-nav .nav-link:hover .nav-link-text,
.navbar.navbar-vertical .navbar-nav .nav-link.active .nav-link-text,
.navbar.navbar-vertical .navbar-nav .nav-link:focus .nav-link-text {
  color: #fff !important;
  font-weight: 600 !important;
}

.navbar.navbar-vertical .navbar-nav .nav-link:hover .nav-link-icon,
.navbar.navbar-vertical .navbar-nav .nav-link.active .nav-link-icon,
.navbar.navbar-vertical .navbar-nav .nav-link:focus .nav-link-icon {
  color: #fff !important;
  transform: scale(1.1) !important;
}

/* Sidebar Footer */
.navbar.navbar-vertical .navbar-vertical-footer {
  background-color: rgba(52, 73, 94, 0.8) !important;
  border-top: 1px solid rgba(243, 156, 18, 0.3) !important;
}

.navbar.navbar-vertical .navbar-vertical-footer .navbar-vertical-toggle {
  color: #ecf0f1 !important;
  background-color: transparent !important;
  border: 1px solid rgba(243, 156, 18, 0.3) !important;
  border-radius: 8px !important;
  transition: all 0.3s ease !important;
}

.navbar.navbar-vertical .navbar-vertical-footer .navbar-vertical-toggle:hover {
  background: #fdb034 !important;
  color: #fff !important;
  border-color: #f39c12 !important;
  transform: translateY(-2px) !important;
}

/* Override specific navbar styles for consistency */
body .navbar.navbar-vertical .navbar-vertical-content ul#navbarVerticalNav > li.nav-item:not(.d-none) {
  display: block !important;
  visibility: visible !important;
}

body .navbar.navbar-vertical .navbar-vertical-content ul#navbarVerticalNav > li.nav-item > a.nav-link,
body .navbar.navbar-vertical .navbar-vertical-content ul#navbarVerticalNav > li.nav-item > a.nav-link:visited {
  background-color: transparent !important;
  color: #ecf0f1 !important;
  display: flex !important;
  align-items: center !important;
}

body .navbar.navbar-vertical .navbar-vertical-content ul#navbarVerticalNav > li.nav-item > a.nav-link:hover,
body .navbar.navbar-vertical .navbar-vertical-content ul#navbarVerticalNav > li.nav-item > a.nav-link.active,
body .navbar.navbar-vertical .navbar-vertical-content ul#navbarVerticalNav > li.nav-item > a.nav-link:focus {
  background: #fdb034 !important;
  color: #fff !important;
  border-radius: 0px !important;
  transform: translateX(5px) !important;
}

/* Remove the white header bar above the navbar */
.main > div:first-child {
  display: none !important;
}

/* Ensure proper spacing for content */
.main {
  padding-top: 0 !important;
}

/* Adjust container fluid for proper navbar spacing */
.container-fluid {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* Ensure sidebar content is properly spaced below fixed navbar */
.navbar.navbar-vertical .navbar-vertical-content {
  padding-bottom: 1rem !important;
}

/* Ensure first nav item (My Profile) is clearly visible */
.navbar.navbar-vertical .navbar-nav {
  padding-top: 0.5rem !important;
}

/* Responsive adjustments for vehicle search */
@media (max-width: 768px) {
  .vehicle-search-container {
    display: none !important;
  }
  
  .navbar-top .navbar-brand .logo-text {
    display: none !important;
  }
}

/* Hamburger menu icon styling */
.navbar-top .navbar-toggler .navbar-toggle-icon .toggle-line {
  background-color: #fff !important;
}

.navbar-top .navbar-toggler .navbar-toggle-icon .toggle-line::before,
.navbar-top .navbar-toggler .navbar-toggle-icon .toggle-line::after {
  background-color: #fff !important;
}

/* Content area adjustments */
#content-container {
  background-color: #f8f9fa !important;
  min-height: calc(100vh - 70px) !important;
  border-radius: 0 !important;
  margin-left: 250px !important;
  margin-top: 70px !important;
  padding: 0 !important;
}

/* ===== BREADCRUMB STYLING - CONTINENTAL THEME ===== */

/* Breadcrumb container styling */
#breadcrumb-container {
  background-color: #6c757d !important;
  padding: 8px 0 !important;
  margin: 0 !important;
  width: 100vw !important;
  position: relative !important;
  left: 50% !important;
  right: 50% !important;
  margin-left: -50vw !important;
  margin-right: -50vw !important;
  padding-left: calc(120px + 45px) !important;
  padding-right: 20px !important;
}

/* Breadcrumb navigation styling */
#breadcrumb-container .breadcrumb {
  background-color: transparent !important;
  margin-bottom: 0 !important;
  padding: 0 !important;
}

#breadcrumb-container .breadcrumb-item {
  color: #fff !important;
  font-size: 14px !important;
  font-weight: 500 !important;
}

#breadcrumb-container .breadcrumb-item a {
  color: #fff !important;
  text-decoration: none !important;
  transition: color 0.3s ease !important;
}

#breadcrumb-container .breadcrumb-item a:hover {
  color: #f39c12 !important;
}

#breadcrumb-container .breadcrumb-item.active {
  color: #f39c12 !important;
  font-weight: 600 !important;
}

#breadcrumb-container .breadcrumb-item + .breadcrumb-item::before {
  content: "/" !important;
  color: #fff !important;
  padding: 0 8px !important;
}

/* Page title and action button styling */
.page-header {
  background-color: #fff !important;
  padding: 20px !important;
  border-bottom: 1px solid #e9ecef !important;
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
}

.page-title {
  color: #6c757d !important;
  font-size: 1.5rem !important;
  font-weight: 400 !important;
  margin: 0 !important;
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
}

.page-title i {
  color: #f39c12 !important;
}

.submit-claim-btn {
  background-color: #dc3545 !important;
  border: none !important;
  color: #fff !important;
  padding: 10px 20px !important;
  border-radius: 5px !important;
  font-weight: 600 !important;
  transition: all 0.3s ease !important;
}

.submit-claim-btn:hover {
  background-color: #c82333 !important;
  transform: translateY(-1px) !important;
}

/* Content padding adjustment */
.page-content {
  padding: 20px !important;
}

/* Adjust main layout for fixed navbars */
.main {
  padding-top: 0 !important;
}

.container-fluid {
  padding: 0 !important;
  margin: 0 !important;
}

.container-fluid .row {
  margin: 0 !important;
}

.sidebar-fixed-width {
  width: 240px;
  min-width: 200px;
  max-width: 300px;
}

/* Override previous positioning - use fixed layout */
.navbar-vertical {
  position: fixed !important;
  left: 0 !important;
  top: 70px !important;
  height: calc(100vh - 70px) !important;
  z-index: 1040 !important;
  margin-top: 0 !important;
  overflow-y: auto !important;
}

/* Adjust sidebar width */
.sidebar-fixed-width {
  width: 250px !important;
  min-width: 250px !important;
  max-width: 250px !important;
}

/* Final overrides for sidebar spacing */
.navbar-vertical .navbar-nav .nav-item {
  margin-bottom: 4px !important;
}

.navbar-vertical .navbar-nav .nav-link {
  padding: 12px 16px !important;
}

.form-label {
    padding-left: 0 !important;
}

.btn-contisure-primary {
    background-color: #fdb034;
    color: var(--phoenix-white);
    border-color: #fdb034;
    border-radius: 0;
    font-weight: normal;
}

.btn-contisure-primary:active, .btn-contisure-primary:hover {
    background-color: #e69500 !important;
    color: var(--phoenix-white) !important;
    border-color: #e69500 !important;
    box-shadow: inset 0 3px 5px rgba(0,0,0,0.125) !important;
}
