/* ===== STYLES1.CSS - NAVBAR & SIDEBAR BRAND STYLING ===== */

/* ===== GLOBAL FONT SHADOW STYLING ===== */

/* Subtle text shadows for better prominence */
body, html {
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.05) !important;
}

/* Enhanced shadows for headings */
h1, h2, h3, h4, h5, h6 {
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.08) !important;
}

/* Card and content shadows */
.card-title, .card-header {
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.06) !important;
}

.card-body, p, span, div {
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.03) !important;
}

/* Table text shadows */
table, th, td {
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.04) !important;
}

/* Form elements shadows */
label, input, textarea, select, button {
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.04) !important;
}

/* Button text shadows */
.btn {
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.08) !important;
}

/* ===== MODERN NAVBAR & SIDEBAR STYLING ===== */

/* Modern Navbar with Dark Blue Colors */
.main-header.navbar {
  background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2) !important;
  box-shadow: 0 4px 12px rgba(30, 58, 138, 0.25), 0 2px 4px rgba(0, 0, 0, 0.1) !important;
  position: relative !important;
  height: 57px !important;
  min-height: 57px !important;
  max-height: 57px !important;
  overflow: hidden !important;
}

/* Weaving pattern overlay for navbar */
.main-header.navbar::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    /* Horizontal weave */
    linear-gradient(0deg, transparent 30%, rgba(255, 255, 255, 0.06) 30%, rgba(255, 255, 255, 0.06) 40%, transparent 40%, transparent 60%, rgba(255, 255, 255, 0.06) 60%, rgba(255, 255, 255, 0.06) 70%, transparent 70%),
    /* Vertical weave */
    linear-gradient(90deg, transparent 30%, rgba(255, 255, 255, 0.06) 30%, rgba(255, 255, 255, 0.06) 40%, transparent 40%, transparent 60%, rgba(255, 255, 255, 0.06) 60%, rgba(255, 255, 255, 0.06) 70%, transparent 70%),
    /* Diagonal accent */
    linear-gradient(45deg, transparent 48%, rgba(255, 255, 255, 0.03) 48%, rgba(255, 255, 255, 0.03) 52%, transparent 52%);
  background-size: 16px 16px, 16px 16px, 24px 24px;
  background-position: 0 0, 0 0, 0 0;
  pointer-events: none;
  opacity: 0.8;
}

/* Enhanced navbar bottom shadow */
.main-header.navbar::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  right: 0;
  height: 8px;
  background: linear-gradient(to bottom, rgba(30, 58, 138, 0.15) 0%, transparent 100%);
  pointer-events: none;
  z-index: 1000;
}

/* Navbar text styling */
.navbar .nav-link,
.navbar .navbar-brand,
.navbar-nav .nav-link {
  color: rgba(255, 255, 255, 0.95) !important;
  font-weight: 500 !important;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.25) !important;
  transition: all 0.2s ease !important;
}

/* Enhanced hover effects for navbar */
.navbar .nav-link:hover {
  color: #ffffff !important;
  text-shadow: 0 2px 6px rgba(255, 255, 255, 0.3) !important;
  transform: translateY(-0.5px) !important;
}

/* Modern Sidebar Brand Area with Darker Colors */
.main-sidebar .brand-link {
  background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2) !important;
  box-shadow: 0 4px 10px rgba(30, 64, 175, 0.25), 0 2px 4px rgba(0, 0, 0, 0.1) !important;
  position: relative !important;
  overflow: hidden !important;
  transition: all 0.2s ease !important;
  height: 57px !important;
  min-height: 57px !important;
  max-height: 57px !important;
  display: flex !important;
  align-items: center !important;
}

/* Weaving pattern sidebar brand overlay */
.main-sidebar .brand-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    /* Horizontal weave */
    linear-gradient(0deg, transparent 25%, rgba(255, 255, 255, 0.08) 25%, rgba(255, 255, 255, 0.08) 35%, transparent 35%, transparent 65%, rgba(255, 255, 255, 0.08) 65%, rgba(255, 255, 255, 0.08) 75%, transparent 75%),
    /* Vertical weave */
    linear-gradient(90deg, transparent 25%, rgba(255, 255, 255, 0.08) 25%, rgba(255, 255, 255, 0.08) 35%, transparent 35%, transparent 65%, rgba(255, 255, 255, 0.08) 65%, rgba(255, 255, 255, 0.08) 75%, transparent 75%),
    /* Diagonal accent */
    linear-gradient(45deg, transparent 47%, rgba(255, 255, 255, 0.04) 47%, rgba(255, 255, 255, 0.04) 53%, transparent 53%),
    linear-gradient(-45deg, transparent 47%, rgba(255, 255, 255, 0.04) 47%, rgba(255, 255, 255, 0.04) 53%, transparent 53%);
  background-size: 14px 14px, 14px 14px, 20px 20px, 20px 20px;
  background-position: 0 0, 0 0, 0 0, 10px 10px;
  pointer-events: none;
  opacity: 0.9;
}

/* Enhanced sidebar brand bottom shadow */
.main-sidebar .brand-link::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(to bottom, rgba(30, 64, 175, 0.15) 0%, transparent 100%);
  pointer-events: none;
  z-index: 1000;
}

/* Brand text styling */
.main-sidebar .brand-text {
  color: #ffffff !important;
  font-weight: 900 !important;
  font-size: 1.5rem !important;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2) !important;
  letter-spacing: 0.3px !important;
  z-index: 2 !important;
  position: relative !important;
}

/* Brand logo styling */
.main-sidebar .brand-image {
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  transition: all 0.2s ease !important;
  z-index: 2 !important;
  position: relative !important;
}

/* Enhanced hover effects for sidebar brand */
.main-sidebar .brand-link:hover {
  box-shadow: 0 5px 15px rgba(30, 64, 175, 0.35), 0 3px 6px rgba(0, 0, 0, 0.15) !important;
  transform: translateY(-1px) !important;
}

.main-sidebar .brand-link:hover .brand-image {
  transform: scale(1.05) !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3) !important;
}

/* Responsive enhancements */
@media (max-width: 768px) {
  .main-header.navbar {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%) !important;
    box-shadow: 0 4px 12px rgba(30, 58, 138, 0.25), 0 2px 4px rgba(0, 0, 0, 0.1) !important;
    height: 57px !important;
  }

  .main-sidebar .brand-link {
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%) !important;
    box-shadow: 0 4px 10px rgba(30, 64, 175, 0.25), 0 2px 4px rgba(0, 0, 0, 0.1) !important;
    height: 57px !important;
  }
}

/* ===== MODERN USER INFO STYLING ===== */

/* Enhanced user profile container */
.nav-item.user-menu .nav-link {
  border: 2px solid rgba(255, 255, 255, 0.4) !important;
  border-radius: 25px !important;
  padding: 8px 16px !important;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.05) 100%) !important;
  backdrop-filter: blur(15px) !important;
  transition: all 0.3s ease !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1), 0 2px 8px rgba(255, 255, 255, 0.1) !important;
  position: relative !important;
  overflow: hidden !important;
  min-height: 42px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

/* Hover effects for user profile */
.nav-item.user-menu .nav-link:hover {
  border-color: rgba(255, 255, 255, 0.6) !important;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.25) 0%, rgba(255, 255, 255, 0.1) 100%) !important;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15), 0 3px 12px rgba(255, 255, 255, 0.2) !important;
  transform: translateY(-2px) !important;
}

/* Enhanced profile image */
.nav-item.user-menu .user-image {
  border: 3px solid rgba(255, 255, 255, 0.7) !important;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2) !important;
  transition: all 0.3s ease !important;
  width: 32px !important;
  height: 32px !important;
  object-fit: cover !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 !important;
}

/* Hover effect for profile image */
.nav-item.user-menu .nav-link:hover .user-image {
  border-color: rgba(255, 255, 255, 0.9) !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3) !important;
  transform: scale(1.05) !important;
}

/* Enhanced username text */
.nav-item.user-menu .nav-link span {
  margin-left: 12px !important;
  font-weight: 600 !important;
  font-size: 0.95rem !important;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3) !important;
  color: rgba(255, 255, 255, 0.95) !important;
  transition: all 0.3s ease !important;
  letter-spacing: 0.3px !important;
}

/* Hover effect for username */
.nav-item.user-menu .nav-link:hover span {
  color: #ffffff !important;
  text-shadow: 0 2px 6px rgba(255, 255, 255, 0.3) !important;
}

/* Glass effect overlay */
.nav-item.user-menu .nav-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.1) 30%, rgba(255, 255, 255, 0.1) 70%, transparent 70%);
  pointer-events: none;
  opacity: 0.6;
  border-radius: 30px;
}

/* Mobile responsive user info */
@media (max-width: 991px) {
  .nav-item.user-menu .nav-link {
    padding: 6px 12px !important;
    min-height: 38px !important;
  }
  
  .nav-item.user-menu .user-image {
    width: 28px !important;
    height: 28px !important;
  }
  
  .nav-item.user-menu .nav-link span {
    margin-left: 8px !important;
    font-size: 0.85rem !important;
  }
}


