/* Fonts - Keep as is */
@font-face {
  font-family: 'Asap';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/asap-v30-latin_latin-ext-regular.woff2') format('woff2');
}
@font-face {
  font-family: 'Asap';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/asap-v30-latin_latin-ext-700.woff2') format('woff2');
}

/* Dark Glass Morphism Theme */
:root {
  /* General */
  --border-radius: 12px;
  --gutter-x: 0.5rem;
  --gutter-y: 1rem;
  --link-text-color: #e2e8f0;
  --shadow-color: rgba(0, 0, 0, 0.5);
  --whitespace-color: rgba(255, 255, 255, 0.1);
  --site-background-color: #0f172a;
  --sidebar-width: 300px;
  
  /* Glass effect variables */
  --glass-bg: rgba(30, 41, 59, 0.7);
  --glass-border: rgba(255, 255, 255, 0.1);
  --glass-blur: blur(10px);
  --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  
  /* Important Notice */
  --important-notice-background-color: rgba(220, 38, 38, 0.8);
  --important-notice-text-color: #fff;
  --header-background-color: rgba(15, 23, 42, 0.8);
  --header-text-color: #e2e8f0;
  
  /* Cookie Notice */
  --cookie-notice-background-color: rgba(30, 41, 59, 0.9);
  --cookie-notice-text-color: #cbd5e1;
  
  /* Navigation */
  --navigation-background-color: rgba(30, 41, 59, 0.7);
  --navigation-background-color-hover: rgba(255, 255, 255, 0.1);
  --navigation-background-color-active: rgba(59, 130, 246, 0.3);
  --navigation-text-color: #e2e8f0;
  --navigation-text-color-hover: #60a5fa;
  --navigation-text-color-active: #60a5fa;
  
  /* Offcanvas */
  --offcanvas-background-color: rgba(15, 23, 42, 0.95);
  --offcanvas-text-color: #e2e8f0;
  
  /* Defaults */
  --default-background-color: rgba(30, 41, 59, 0.6);
  --default-border-color: rgba(255, 255, 255, 0.1);
  --default-line-height: 1.3333;
  --default-text-font: 'Asap', Arial, 'Helvetica Neue', Helvetica, sans-serif;
  --default-text-color: #e2e8f0;
  --default-text-size: 15px;
  
  /* Glass Buttons */
  --default-button-background-color: rgba(255, 255, 255, 0.1);
  --default-button-background-color-hover: rgba(255, 255, 255, 0.2);
  --default-button-background-color-active: rgba(255, 255, 255, 0.3);
  --default-button-border-color: rgba(255, 255, 255, 0.2);
  --default-button-text-color: #e2e8f0;
  
  --primary-button-background-color: rgba(59, 130, 246, 0.7);
  --primary-button-background-color-hover: rgba(59, 130, 246, 0.9);
  --primary-button-background-color-active: rgba(59, 130, 246, 0.8);
  --primary-button-border-color: rgba(96, 165, 250, 0.3);
  --primary-button-text-color: #fff;
  
  --success-button-background-color: rgba(34, 197, 94, 0.7);
  --success-button-background-color-hover: rgba(34, 197, 94, 0.9);
  --success-button-background-color-active: rgba(34, 197, 94, 0.8);
  --success-button-border-color: rgba(74, 222, 128, 0.3);
  --success-button-text-color: #fff;
  
  --warning-button-background-color: rgba(245, 158, 11, 0.7);
  --warning-button-background-color-hover: rgba(245, 158, 11, 0.9);
  --warning-button-background-color-active: rgba(245, 158, 11, 0.8);
  --warning-button-border-color: rgba(251, 191, 36, 0.3);
  --warning-button-text-color: #fff;
  
  --danger-button-background-color: rgba(239, 68, 68, 0.7);
  --danger-button-background-color-hover: rgba(239, 68, 68, 0.9);
  --danger-button-background-color-active: rgba(239, 68, 68, 0.8);
  --danger-button-border-color: rgba(248, 113, 113, 0.3);
  --danger-button-text-color: #fff;
  
  /* Glass Notices */
  --default-notice-background-color: rgba(255, 255, 255, 0.1);
  --default-notice-text-color: #e2e8f0;
  --default-notice-border-color: rgba(255, 255, 255, 0.2);
  
  --primary-notice-background-color: rgba(59, 130, 246, 0.3);
  --primary-notice-text-color: #93c5fd;
  --primary-notice-border-color: rgba(59, 130, 246, 0.5);
  
  --success-notice-background-color: rgba(34, 197, 94, 0.3);
  --success-notice-text-color: #86efac;
  --success-notice-border-color: rgba(34, 197, 94, 0.5);
  
  --warning-notice-background-color: rgba(245, 158, 11, 0.3);
  --warning-notice-text-color: #fde68a;
  --warning-notice-border-color: rgba(245, 158, 11, 0.5);
  
  --danger-notice-background-color: rgba(239, 68, 68, 0.3);
  --danger-notice-text-color: #fca5a5;
  --danger-notice-border-color: rgba(239, 68, 68, 0.5);
  
  /* Breadcrumbs */
  --breadcrumbs-background-color: rgba(30, 41, 59, 0.6);
  --breadcrumbs-text-color: #cbd5e1;
  --breadcrumbs-border-color: rgba(255, 255, 255, 0.1);
  
  /* Glass Cards */
  --card-background-color: rgba(30, 41, 59, 0.5);
  --card-text-color: #e2e8f0;
  --card-border-color: rgba(255, 255, 255, 0.1);
  --card-header-background-color: rgba(30, 41, 59, 0.3);
  --card-header-text-color: var(--card-text-color);
  --card-body-background-color: transparent;
  --card-footer-background-color: rgba(30, 41, 59, 0.3);
  
  /* Input */
  --input-background-color: rgba(30, 41, 59, 0.6);
  --input-padding-x: 1.5em;
  --input-padding-y: 0.5em;
  --input-text-color: #e2e8f0;
  --input-border-radius: 1em;
  
  /* Pills */
  --pills-background-color: transparent;
  --pills-background-color-active: rgba(59, 130, 246, 0.3);
  --pills-background-color-hover: rgba(255, 255, 255, 0.1);
  --pills-text-color: #cbd5e1;
  --pills-text-color-active: #60a5fa;
  
  /* Tabs */
  --tabs-pane-background-color: rgba(30, 41, 59, 0.7);
  --tabs-pane-border-color: rgba(255, 255, 255, 0.1);
  --tabs-background-color: rgba(30, 41, 59, 0.5);
  --tabs-background-color-active: rgba(30, 41, 59, 0.8);
  --tabs-text-color: #cbd5e1;
  --tabs-text-color-active: #e2e8f0;
  --tabs-border-color: rgba(255, 255, 255, 0.1);
  --tabs-border-color-active: rgba(59, 130, 246, 0.5);
  --tabs-content-background-color: rgba(30, 41, 59, 0.6);
  
  /* Dropdowns */
  --dropdown-menu-background-color: rgba(30, 41, 59, 0.9);
  --dropdown-menu-item-background-color: transparent;
  --dropdown-menu-item-text-color: #e2e8f0;
  
  /* Tables */
  --table-striped-row-background-odd: rgba(30, 41, 59, 0.4);
  --table-striped-row-background-even: rgba(30, 41, 59, 0.2);
  --table-row-hover-background: rgba(255, 255, 255, 0.1);
  
  /* Pagination */
  --pagination-background-color: rgba(30, 41, 59, 0.5);
  --pagination-background-color-active: rgba(59, 130, 246, 0.3);
  --pagination-background-color-hover: rgba(255, 255, 255, 0.1);
  --pagination-text-color: #cbd5e1;
  --pagination-text-color-active: #60a5fa;
  --pagination-text-color-hover: #e2e8f0;
  --pagination-border-color: rgba(255, 255, 255, 0.1);
  
  /* Footer */
  --footer-background-color: rgba(15, 23, 42, 0.8);
  --footer-title-color: #e2e8f0;
  --footer-text-color: #cbd5e1;
  
  /* Copyright */
  --copyright-background-color: rgba(15, 23, 42, 0.9);
  --copyright-text-color: #94a3b8;
}

/* Add glass effect styles */
.glass-effect {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
}

/* Apply glass effects to specific components */
.card,
.navigation,
.header,
.footer,
.dropdown-menu,
.modal-content,
.sidebar {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
}

/* Hover effects for glass elements */
.glass-effect:hover,
.card:hover {
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

/* Input fields with glass effect */
input:not([type="checkbox"]):not([type="radio"]),
select,
textarea {
  background: rgba(30, 41, 59, 0.6) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  color: var(--input-text-color) !important;
  backdrop-filter: blur(4px);
}

/* Button glass effects */
.btn {
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  transition: all 0.3s ease;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Table glass effects */
.table {
  background: rgba(30, 41, 59, 0.3);
  backdrop-filter: blur(4px);
}

@media (min-width: 768px) {
  :root {
    --gutter-x: 1rem;
    --gutter-y: 1rem;
  }
}

@media (min-width: 992px) {
  :root {
    --gutter-x: 1.5rem;
    --gutter-y: 1.5rem;
  }
}

@media (min-width: 1200px) {
  :root {
    --gutter-x: 2rem;
    --gutter-y: 2rem;
  }
}

 /* Change just the footer section - keep everything else as is */

:root {
  /* Footer - Rectangle box style */
  --footer-background-color: rgba(15, 23, 42, 0.95);
  --footer-title-color: #ffffff;
  --footer-text-color: #e2e8f0;
  
  /* Copyright */
  --copyright-background-color: rgba(5, 15, 30, 0.98);
  --copyright-text-color: #cbd5e1;
}

/* Rectangle box footer style */
.footer {
  background: rgba(15, 23, 42, 0.95) !important;
  border: 2px solid rgba(59, 130, 246, 0.3);
  border-radius: 0; /* Remove rounded corners for rectangle */
  margin: 2rem auto 0 auto;
  padding: 3rem 2rem;
  max-width: 1200px; /* Constrain width for box effect */
  width: calc(100% - 4rem); /* Subtract margin */
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.5);
  position: relative;
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
}

/* Inner container for content */
.footer-container {
  max-width: 1140px;
  margin: 0 auto;
}

/* Optional: Add corner accents */
.footer::before,
.footer::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  border: 2px solid rgba(59, 130, 246, 0.5);
}

.footer::before {
  top: -2px;
  left: -2px;
  border-right: none;
  border-bottom: none;
}

.footer::after {
  top: -2px;
  right: -2px;
  border-left: none;
  border-bottom: none;
}

/* Copyright bar - separate rectangle */
.copyright {
  background: rgba(5, 15, 30, 0.98) !important;
  border: 2px solid rgba(59, 130, 246, 0.2);
  border-radius: 0;
  margin: 0 auto;
  padding: 1.5rem 2rem;
  max-width: 1200px;
  width: calc(100% - 4rem);
  border-top: none; /* Remove top border to connect with footer */
  position: relative;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

/* Add connector lines between footer and copyright */
.copyright::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 50px;
  right: 50px;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(59, 130, 246, 0.3),
    transparent
  );
}

/* Footer sections with clear separation */
.footer-section {
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0 2rem;
}

.footer-section:last-child {
  border-right: none;
}

/* Footer headings with underline */
.footer h4,
.footer h5,
.footer-title {
  color: #ffffff;
  font-weight: 700;
  padding-bottom: 1rem;
  margin-bottom: 1.5rem;
  border-bottom: 2px solid rgba(59, 130, 246, 0.4);
  position: relative;
}

.footer h4::after,
.footer h5::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 50px;
  height: 2px;
  background: #3b82f6;
}

/* Footer links with box hover effect */
.footer a {
  display: inline-block;
  padding: 0.3rem 0.5rem;
  margin: 0.1rem 0;
  transition: all 0.3s ease;
  border-radius: 2px;
}

.footer a:hover {
  background: rgba(59, 130, 246, 0.15);
  color: #60a5fa !important;
  transform: translateX(5px);
  box-shadow: -2px 0 10px rgba(59, 130, 246, 0.2);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .footer {
    width: calc(100% - 2rem);
    margin: 1rem auto 0 auto;
    padding: 2rem 1rem;
  }
  
  .copyright {
    width: calc(100% - 2rem);
    padding: 1rem;
  }
  
  .footer-section {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem 0;
    margin-bottom: 1.5rem;
  }
  
  .footer-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
  }
}