/* ============================================================
   WorkAgnt.Ai — Premium Light UI Override
   Matches workagnt.ai brand aesthetic
   ============================================================ */

/* ══════════════════════════════════════════════════════════════
   NAVBAR — Sticky white header with dark text
   ══════════════════════════════════════════════════════════════ */

/* Core: change from absolute to sticky */
.header {
  position: sticky !important;
  top: 0 !important;
  background: rgba(255, 255, 255, 0.97) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border-bottom: 1px solid #e2e8f0 !important;
  padding: 14px 0 !important;
  z-index: 999 !important;
}
/* On scroll — JS adds .fixed-header, keep it sticky */
.header.fixed-header {
  position: sticky !important;
  background: rgba(255, 255, 255, 0.98) !important;
  border-bottom: 1px solid #e2e8f0 !important;
  box-shadow: 0 1px 12px rgba(0,0,0,0.06) !important;
  -webkit-animation: none !important;
  animation: none !important;
}
.header.fixed-header .nav-item .nav-link {
  color: #0f172a !important;
}

/* Desktop nav links (>=1200px) */
@media (min-width: 1200px) {
  .header .nav-menu .nav-item .nav-link {
    color: #334155 !important;
    font-weight: 600 !important;
  }
  .header .nav-menu .nav-item .nav-link::after {
    background-color: #2563EB !important;
  }
  .header .nav-menu .nav-item:hover .nav-link {
    color: #2563EB !important;
  }
  .header .nav-menu .nav-item.active .nav-link {
    color: #2563EB !important;
  }
}

/* ---- Mobile nav (offcanvas) ---- */
.offcanvas {
  background: #fff !important;
}
.header .offcanvas-header {
  background-color: #fff !important;
  border-bottom: 1px solid #f1f5f9 !important;
}
.header .offcanvas-body {
  background-color: #fff !important;
}
/* Mobile nav link colors — override white text from main.css */
@media screen and (max-width: 1199px) {
  .header {
    background: #fff !important;
    border-bottom: 1px solid #e2e8f0 !important;
  }
  .header .nav-item .nav-link {
    color: #334155 !important;
    font-weight: 600 !important;
  }
  .header .nav-item.active .nav-link {
    color: #2563EB !important;
  }
  .header .nav-item:hover .nav-link {
    color: #2563EB !important;
  }
  .header .nav-menu .nav-item .nav-link {
    color: #334155 !important;
    font-weight: 600 !important;
  }
  .header .nav-item .nav-link.show[aria-expanded="true"] {
    color: #2563EB !important;
  }
}
/* Close button in offcanvas */
.header .btn-close {
  color: #334155 !important;
  opacity: 1 !important;
  background-image: none !important;
}
.header .btn-close i {
  color: #334155 !important;
}
.header .btn-close:hover,
.header .btn-close:hover i {
  color: #ef4444 !important;
}
/* Offcanvas nav links */
.offcanvas .nav-menu .nav-item .nav-link {
  color: #334155 !important;
}
/* Mobile login/dashboard buttons inside offcanvas */
.header .offcanvas .btn-outline--white {
  color: #334155 !important;
  border-color: #e2e8f0 !important;
  background: transparent !important;
  border-radius: 10px !important;
}
.header .offcanvas .btn--base {
  background: #2563EB !important;
  border-color: #2563EB !important;
  color: #fff !important;
  border-radius: 10px !important;
}

/* Header toggle bars (hamburger icon) */
.header-button span,
#hiddenNav i,
.header .navbar-toggler.header-button {
  color: #0f172a !important;
}

/* Header right buttons (desktop) */
.header-right .btn--base {
  background: #2563EB !important;
  border-color: #2563EB !important;
  color: #fff !important;
  border-radius: 10px !important;
  font-weight: 600 !important;
  padding: 10px 24px !important;
}
.header-right .btn--base:hover {
  background: #1d4ed8 !important;
}
.header-right .btn-outline--white {
  border-color: #e2e8f0 !important;
  color: #334155 !important;
}

/* Language dropdown arrow — was white, now dark */
.custom--dropdown > .custom--dropdown__selected::before {
  color: #475569 !important;
}
.custom--dropdown > .custom--dropdown__selected .text {
  color: #334155 !important;
}

/* Dropdown menu override */
.dropdown-menu {
  background-color: #fff !important;
  border: 1px solid #f1f5f9 !important;
  box-shadow: 0 8px 30px rgba(0,0,0,0.08) !important;
}

/* Offcanvas bootstrap override for xl expand */
@media (min-width: 1200px) {
  .navbar-expand-xl .offcanvas {
    background-color: transparent !important;
  }
}

/* ══════════════════════════════════════════════════════════════
   BANNER — Light gradient, dark text
   Reduced padding since header is now sticky (not overlaying)
   ══════════════════════════════════════════════════════════════ */
.banner-section {
  padding-top: 80px !important;
}
@media screen and (max-width: 1199px) {
  .banner-section {
    padding-top: 60px !important;
  }
}
@media screen and (max-width: 575px) {
  .banner-section {
    padding-top: 40px !important;
  }
}
.banner-section::before {
  background: linear-gradient(180deg, #f0f4ff 0%, #e8ecff 100%) !important;
}
.banner-content__title {
  color: #0f172a !important;
}
.banner-content__title span {
  background-image: linear-gradient(to right, #2563EB, #1d4ed8) !important;
}
.banner-content__subtitle {
  color: #2563EB !important;
  background: rgba(37, 99, 235, 0.08) !important;
  display: inline-block;
  padding: 6px 16px !important;
  border-radius: 20px !important;
  font-size: 14px !important;
}
.banner-content__desc {
  color: #475569 !important;
}
.play-video-btn {
  color: #334155 !important;
}
.play-video-btn:hover {
  color: #2563EB !important;
}

/* ══════════════════════════════════════════════════════════════
   MAIN CONTENT — Sticky header is in document flow, remove
   the compensating padding that was needed for absolute header
   ══════════════════════════════════════════════════════════════ */
main {
  padding-top: 0 !important;
}

/* ══════════════════════════════════════════════════════════════
   SECTIONS — Clean white backgrounds
   ══════════════════════════════════════════════════════════════ */
.section-heading__subtitle {
  color: #2563EB !important;
}
.section-heading__title {
  color: #0f172a !important;
}

/* Feature cards */
.feature-item {
  background: #fff !important;
  border: 1px solid #f1f5f9 !important;
  border-radius: 16px !important;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04) !important;
  transition: all 0.3s ease !important;
}
.feature-item:hover {
  box-shadow: 0 8px 30px rgba(37, 99, 235, 0.08) !important;
  border-color: rgba(37, 99, 235, 0.15) !important;
  transform: translateY(-2px);
}
.feature-item__title {
  color: #0f172a !important;
}
.feature-item__desc {
  color: #64748b !important;
}

/* How it works */
.how-work__item {
  background: #fff !important;
  border: 1px solid #f1f5f9 !important;
  border-radius: 16px !important;
}
.how-work-item__title {
  color: #0f172a !important;
}
.how-work-item__desc {
  color: #64748b !important;
}
.how-work-item__number {
  color: #2563EB !important;
}

/* ══════════════════════════════════════════════════════════════
   PRICING CARDS
   ══════════════════════════════════════════════════════════════ */
.plan-card,
.pricing-card,
.pricing-item {
  background: #fff !important;
  border: 1px solid #f1f5f9 !important;
  border-radius: 16px !important;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04) !important;
}
.plan-card:hover,
.pricing-card:hover {
  box-shadow: 0 12px 40px rgba(37, 99, 235, 0.1) !important;
  border-color: rgba(37, 99, 235, 0.2) !important;
}

/* ══════════════════════════════════════════════════════════════
   BUTTONS — Consistent with workagnt.ai
   ══════════════════════════════════════════════════════════════ */
.btn--base {
  background: #2563EB !important;
  border-color: #2563EB !important;
  border-radius: 10px !important;
  font-weight: 600 !important;
  transition: all 0.2s ease !important;
}
.btn--base:hover {
  background: #1d4ed8 !important;
  border-color: #1d4ed8 !important;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3) !important;
}

/* ══════════════════════════════════════════════════════════════
   FOOTER — Clean light
   ══════════════════════════════════════════════════════════════ */
.footer-area {
  background: #f8fafc !important;
}
.footer-area__top {
  background: transparent !important;
}
.footer-area__top-inner .title {
  color: #0f172a !important;
}
.footer-area__top .top-btn {
  color: #2563EB !important;
  border-color: #2563EB !important;
}
.footer-item__title {
  color: #0f172a !important;
}
.footer-item__desc {
  color: #64748b !important;
}
.footer-menu__link {
  color: #64748b !important;
}
.footer-menu__link:hover {
  color: #2563EB !important;
}
.footer-contact__info .text,
.footer-contact__info a {
  color: #64748b !important;
}
.footer-contact__info .icon {
  color: #2563EB !important;
}
.social-list__link {
  color: #64748b !important;
  border-color: #e2e8f0 !important;
}
.social-list__link:hover {
  color: #2563EB !important;
  border-color: #2563EB !important;
}
.bottom-footer {
  background: #f1f5f9 !important;
}
.bottom-footer-text {
  color: #64748b !important;
}
.footer-wedged {
  border-color: #e2e8f0 !important;
}

/* ══════════════════════════════════════════════════════════════
   BREADCRUMB — Light, reduced padding for sticky header
   ══════════════════════════════════════════════════════════════ */
.breadcrumb,
.breadcrumb-section {
  background: linear-gradient(180deg, #f0f4ff 0%, #f8fafc 100%) !important;
  padding: 50px 0 50px !important;
}
@media screen and (max-width: 991px) {
  .breadcrumb,
  .breadcrumb-section {
    padding: 40px 0 !important;
  }
}
@media screen and (max-width: 767px) {
  .breadcrumb,
  .breadcrumb-section {
    padding: 30px 0 !important;
  }
}
.breadcrumb__title {
  color: #0f172a !important;
}
.breadcrumb__item {
  color: #475569 !important;
}
.breadcrumb__item-text {
  color: #64748b !important;
}
.breadcrumb__link {
  color: #475569 !important;
}
.breadcrumb__link:hover {
  color: #2563EB !important;
}

/* ══════════════════════════════════════════════════════════════
   DASHBOARD — PREMIUM UI
   ══════════════════════════════════════════════════════════════ */

/* Sidebar — clean white (all rules use .dashboard prefix for max specificity) */
.dashboard .sidebar-menu {
  background: #fff !important;
  border-right: 1px solid #f1f5f9 !important;
  box-shadow: 1px 0 10px rgba(0,0,0,0.03) !important;
}
.dashboard .sidebar-logo {
  padding: 20px !important;
  border-bottom: 1px solid #f1f5f9 !important;
}
.dashboard .sidebar-menu-list__link {
  color: #475569 !important;
  font-weight: 500 !important;
  border-radius: 10px !important;
  margin: 2px 10px !important;
  padding: 10px 14px !important;
  transition: all 0.2s ease !important;
}
.dashboard .sidebar-menu-list__link .text {
  color: #475569 !important;
}
.dashboard .sidebar-menu-list__link .icon {
  color: #94a3b8 !important;
  font-size: 18px !important;
  width: 22px;
}
.dashboard .sidebar-menu-list__link:hover {
  background: #f0f4ff !important;
  color: #2563EB !important;
}
.dashboard .sidebar-menu-list__link:hover .text,
.dashboard .sidebar-menu-list__link:hover .icon {
  color: #2563EB !important;
}
.dashboard .sidebar-menu-list__item.active .sidebar-menu-list__link,
.dashboard .sidebar-menu-list__item.active > a {
  background: linear-gradient(135deg, #2563EB, #1d4ed8) !important;
  color: #fff !important;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.25) !important;
}
.dashboard .sidebar-menu-list__item.active .sidebar-menu-list__link .icon,
.dashboard .sidebar-menu-list__item.active .sidebar-menu-list__link .text,
.dashboard .sidebar-menu-list__item.active > a .icon,
.dashboard .sidebar-menu-list__item.active > a .text {
  color: #fff !important;
}
.dashboard .sidebar-menu hr {
  border-color: #f1f5f9 !important;
  margin: 8px 16px !important;
}

/* Sidebar submenu links */
.dashboard .sidebar-submenu-list__link {
  color: #64748b !important;
}
.dashboard .sidebar-submenu-list__link .text {
  color: #64748b !important;
}
.dashboard .sidebar-submenu-list__link:hover {
  background: #f0f4ff !important;
  color: #2563EB !important;
}
.dashboard .sidebar-submenu-list__link:hover .text {
  color: #2563EB !important;
}
.dashboard .sidebar-submenu-list__link:hover::before {
  border-color: #2563EB !important;
}
.dashboard .sidebar-submenu-list__item.active > a {
  background: linear-gradient(135deg, #2563EB, #1d4ed8) !important;
  color: #fff !important;
}
.dashboard .sidebar-submenu-list__item.active > a .text {
  color: #fff !important;
}
/* Sidebar dropdown arrow */
.dashboard .sidebar-menu-list__item.has-dropdown > a:after {
  color: #94a3b8 !important;
}
.dashboard .sidebar-menu-list__item.has-dropdown:hover a::after {
  color: #2563EB !important;
}
.dashboard .sidebar-menu-list__item.has-dropdown.active > a:after {
  color: #fff !important;
}
/* Sidebar close button */
.dashboard .sidebar-menu__close {
  color: #475569 !important;
}
.dashboard .sidebar-menu__close:hover {
  color: #2563EB !important;
}

/* Dashboard header — premium */
.dashboard-header {
  background: #fff !important;
  border-bottom: 1px solid #f1f5f9 !important;
  padding: 16px 24px !important;
}
.dashboard-header__title {
  color: #0f172a !important;
  font-weight: 700 !important;
}
.dashboard-header__desc {
  color: #94a3b8 !important;
  font-size: 13px !important;
}
/* User info in dashboard header */
.dashboard .user-info__name {
  color: #0f172a !important;
}
.dashboard .user-info__button::before {
  color: #475569 !important;
}

/* Dashboard body */
.dashboard__right {
  background: #f8fafc !important;
}
.dashboard-body {
  padding: 24px !important;
  color: #334155 !important;
}
.dashboard-body__title {
  color: #0f172a !important;
  font-weight: 700 !important;
}
.dashboard-body__bar-icon {
  color: #475569 !important;
}

/* Dashboard widget text */
.dashboard .dashboard-widget__number {
  color: #0f172a !important;
}
.dashboard .dashboard-widget__text {
  color: #475569 !important;
}

/* General dashboard text — override all hsl(var(--white)) text to dark */
.dashboard h1, .dashboard h2, .dashboard h3,
.dashboard h4, .dashboard h5, .dashboard h6 {
  color: #0f172a !important;
}
.dashboard p, .dashboard span, .dashboard label,
.dashboard li, .dashboard td, .dashboard th,
.dashboard .text, .dashboard small {
  color: #334155 !important;
}
.dashboard a:not(.btn):not(.sidebar-menu-list__link):not(.sidebar-submenu-list__link) {
  color: #475569 !important;
}
.dashboard a:not(.btn):hover {
  color: #2563EB !important;
}

/* Cards — premium glassmorphism-light effect */
.card,
.custom--card {
  background: #fff !important;
  border: 1px solid #f1f5f9 !important;
  border-radius: 16px !important;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04) !important;
  transition: all 0.2s ease !important;
}
.card:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.06) !important;
}
.card-header {
  background: transparent !important;
  border-bottom: 1px solid #f1f5f9 !important;
  padding: 18px 20px !important;
}
.card-title {
  color: #0f172a !important;
  font-weight: 700 !important;
  font-size: 16px !important;
}
.card-footer {
  background: transparent !important;
  border-top: 1px solid #f1f5f9 !important;
}

/* Dashboard stat widgets */
.dashboard-widget,
.widget-card,
.stat-card,
[class*="widget-two"],
[class*="d-widget"] {
  background: #fff !important;
  border: 1px solid #f1f5f9 !important;
  border-radius: 16px !important;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04) !important;
  transition: all 0.2s ease !important;
}
.dashboard-widget:hover,
.widget-card:hover,
.stat-card:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.06) !important;
}

/* Tables — premium */
.table {
  color: #334155 !important;
}
.table th {
  background: #f8fafc !important;
  color: #64748b !important;
  font-weight: 600 !important;
  font-size: 13px !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
  border-color: #f1f5f9 !important;
}
.table td {
  border-color: #f1f5f9 !important;
  color: #334155 !important;
  padding: 14px 16px !important;
}
.table tbody tr:hover td {
  background: #f8fafc !important;
}

/* Forms — premium */
.form--control,
.form-control,
.form-select {
  border: 1.5px solid #e2e8f0 !important;
  border-radius: 10px !important;
  padding: 10px 16px !important;
  color: #0f172a !important;
  background: #fff !important;
  transition: all 0.2s ease !important;
}
.form--control:focus,
.form-control:focus,
.form-select:focus {
  border-color: #2563EB !important;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1) !important;
  background: #fff !important;
}
.form--control::placeholder,
.form-control::placeholder {
  color: #94a3b8 !important;
}
.form--label,
.form-label {
  color: #334155 !important;
  font-weight: 600 !important;
  font-size: 14px !important;
  margin-bottom: 6px !important;
}

/* Notification bell */
.notification-link {
  color: #475569 !important;
}
.notification-count {
  background: #ef4444 !important;
}

/* User dropdown */
.user-info-dropdown {
  background: #fff !important;
  border: 1px solid #f1f5f9 !important;
  border-radius: 12px !important;
  box-shadow: 0 12px 40px rgba(0,0,0,0.08) !important;
  overflow: hidden;
}
.user-info-dropdown__link {
  color: #475569 !important;
  padding: 10px 16px !important;
}
.user-info-dropdown__link:hover {
  background: #f0f4ff !important;
  color: #2563EB !important;
}

/* Modals */
.modal-content {
  border-radius: 16px !important;
  border: 1px solid #f1f5f9 !important;
  box-shadow: 0 20px 60px rgba(0,0,0,0.1) !important;
}
.modal-header {
  border-bottom: 1px solid #f1f5f9 !important;
  padding: 18px 24px !important;
}
.modal-title {
  color: #0f172a !important;
  font-weight: 700 !important;
}
.modal-footer {
  border-top: 1px solid #f1f5f9 !important;
}

/* Pagination */
.page-link {
  border-radius: 8px !important;
  border-color: #e2e8f0 !important;
  color: #475569 !important;
  margin: 0 2px !important;
}
.page-item.active .page-link,
.page-link:hover {
  background: #2563EB !important;
  border-color: #2563EB !important;
  color: #fff !important;
}

/* Badges */
.badge--success { background: #dcfce7 !important; color: #16a34a !important; }
.badge--warning { background: #fef9c3 !important; color: #ca8a04 !important; }
.badge--danger { background: #fee2e2 !important; color: #dc2626 !important; }
.badge--primary { background: #dbeafe !important; color: #2563EB !important; }

/* Social account cards */
.social-card,
.connect-card,
.platform-card {
  background: #fff !important;
  border: 1px solid #f1f5f9 !important;
  border-radius: 16px !important;
}

/* Post cards */
.post-card,
.draft-card {
  background: #fff !important;
  border: 1px solid #f1f5f9 !important;
  border-radius: 16px !important;
}

/* Scroll top */
.scroll-top {
  background: #2563EB !important;
  border-radius: 12px !important;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3) !important;
}

/* Empty state */
.empty-thumb img,
.empty-notification img {
  opacity: 0.6;
}

/* Contact page */
.contact-widget {
  background: #fff !important;
  border: 1px solid #f1f5f9 !important;
  border-radius: 16px !important;
}
.contact-form {
  background: #fff !important;
  border-radius: 16px !important;
}
.contact-bottom__content {
  background: #fff !important;
  border: 1px solid #f1f5f9 !important;
  border-radius: 16px !important;
}

/* Blog cards */
.blog-card,
.blog-item {
  border-radius: 16px !important;
  border: 1px solid #f1f5f9 !important;
  overflow: hidden;
}

/* Testimonials */
.testimonial-card,
.testimonial-item {
  background: #fff !important;
  border: 1px solid #f1f5f9 !important;
  border-radius: 16px !important;
}

/* Accordion / FAQ */
.accordion-item {
  border: 1px solid #f1f5f9 !important;
  border-radius: 12px !important;
  margin-bottom: 8px;
}
.accordion-button {
  color: #0f172a !important;
  font-weight: 600 !important;
}
.accordion-button:not(.collapsed) {
  background: #f0f4ff !important;
  color: #2563EB !important;
}
.accordion-body {
  color: #64748b !important;
}

/* Auth pages */
.account-form,
.verify-card {
  border-radius: 16px !important;
  border: 1px solid #f1f5f9 !important;
  box-shadow: 0 4px 20px rgba(0,0,0,0.04) !important;
}

/* Payment */
.payment-system-list {
  border-radius: 12px !important;
  border: 1px solid #f1f5f9 !important;
}
.payment-item {
  border-color: #f1f5f9 !important;
}

/* Cookie card */
.cookies-card {
  background: #fff !important;
  border: 1px solid #f1f5f9 !important;
  border-radius: 16px !important;
  box-shadow: 0 12px 40px rgba(0,0,0,0.1) !important;
  color: #334155 !important;
}

/* iziToast */
.iziToast {
  border-radius: 12px !important;
}

/* Theme toggle — light mode style */
.theme-toggle-btn {
  color: #475569 !important;
  border-color: #e2e8f0 !important;
}
.theme-toggle-btn:hover {
  background: #f0f4ff !important;
  color: #2563EB !important;
  border-color: #2563EB !important;
}

/* Language dropdown */
.custom--dropdown .dropdown-list {
  background: #fff !important;
  border: 1px solid #f1f5f9 !important;
  border-radius: 12px !important;
  box-shadow: 0 8px 30px rgba(0,0,0,0.08) !important;
}

/* CTA section */
.cta-section {
  background: linear-gradient(135deg, #2563EB, #1d4ed8) !important;
}

/* Partner section */
.partner-section {
  background: #f8fafc !important;
}
