@use "sass:color";

@import "settings_green";
@import "common";
@import "checkbox";

@import "main_page_buttons";
@import "browse";
@import "browse_autorzy";
@import "browse_jednostki";
@import "external_links";
@import "ranking_autorow";
@import "pagination";
@import "wizard_forms";

@import 'foundation';

@include foundation-global-styles;
@include foundation-xy-grid-classes;
@include foundation-grid;
@include foundation-flex-grid;
@include foundation-flex-classes;
@include foundation-typography;
@include foundation-forms;
@include foundation-button;
@include foundation-accordion;
@include foundation-accordion-menu;
@include foundation-badge;
@include foundation-breadcrumbs;
@include foundation-button-group;
@include foundation-callout;
@include foundation-card;
@include foundation-close-button;
@include foundation-menu;
@include foundation-menu-icon;
@include foundation-drilldown-menu;
@include foundation-dropdown;
@include foundation-dropdown-menu;
@include foundation-responsive-embed;
@include foundation-label;
@include foundation-media-object;
@include foundation-off-canvas;
@include foundation-orbit;
@include foundation-pagination;
@include foundation-progress-bar;
@include foundation-slider;
@include foundation-sticky;
@include foundation-reveal;
@include foundation-switch;
@include foundation-table;
@include foundation-tabs;
@include foundation-thumbnail;
@include foundation-title-bar;
@include foundation-tooltip;
@include foundation-top-bar;
@include foundation-visibility-classes;
@include foundation-float-classes;
@include foundation-print-styles;

$info-color: #DEF3B6;

/* Green theme checkbox and radio button accent color */
/* Using Foundation's primary color (green) for the green theme */
input[type=checkbox],
input[type=radio] {
  accent-color: green;
}

// Theme-specific overrides for browse.scss
.modern-header {
  h1, h2 {
    .fi-foundation {
      color: $primary-color;
    }
  }
}

// Wydzial stats styling removed - using neutral colors from browse.scss

.section-header {
  h2 {
    .fi-home {
      color: $primary-color;
    }
  }
}

// Jednostka card styling removed - using neutral colors from browse.scss

.jednostka-name a {
  &:hover {
    &.link-aktualne {
      color: $primary-color;
    }
  }
}

.button-search {
  background: $primary-color;

  &:hover {
    background-color: color.adjust($primary-color, $lightness: -10%);
  }
}

.author-profile-link {
  color: $primary-color;
}

.ui-state-focus {
  background: $primary-color !important;
  border: 1px white !important;
}

.select2-results__option--highlighted {
  background: $primary-color !important;
  color: white;
}

.fi-calendar {
  color: $primary-color;
}
