/******************************************************
  OVERALL PC EDITOR CONTAINER (MIMICS NEXT/TAILWIND LOOK)
******************************************************/
.pc-editor-container {
  margin: 2rem auto;
  padding: 1.5rem;
  background: linear-gradient(to bottom right, #ebf8ff, #ffffff);
  border-radius: 0.75rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
    0 4px 6px -2px rgba(0, 0, 0, 0.05);
  border: 1px solid #cce4f7;
  font-family: sans-serif;
  max-width: 800px;
}

/***********************************************
    HEADER ROW
  ***********************************************/
.header-row {
  margin-bottom: 1rem;
}

.editor-title {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 600;
  color: #2563eb; /* bright royal blue */
}

/***********************************************
    SEARCH FIELD
  ***********************************************/
.search-field-wrapper {
  position: relative;
  margin-bottom: 1rem;
}

.search-icon-left {
  position: absolute;
  top: 50%;
  left: 12px;
  transform: translateY(-50%);
  font-size: 16px; /* Adjust the size as needed */
}

.icon-img {
  width: 16px; /* Set the width of the icon */
  height: 16px; /* Set the height of the icon */
  vertical-align: middle; /* Align it properly with text */
  /* margin-right: 8px; Add space after the icon */
}

.search-textfield {
  width: 100%;
  box-sizing: border-box;
  padding-left: 40px; /* Leave space for the icon */
  border: 1px solid #bfdbfe; /* Light blue border */
  border-radius: 0.375rem; /* Rounded corners */
  background-color: #fff; /* White background */
  font-size: 0.875rem; /* Small font size */
  line-height: 1.25rem;
  color: #1e3a8a; /* Navy text color */
  height: 2.5rem; /* Adjust height for alignment */
  box-shadow: none; /* Remove any shadow effects */
}

.search-textfield:focus {
  outline: none;
  border-color: #2563eb; /* Highlighted blue border */
}

.search-textfield::placeholder {
  color: #a0aec0; /* Gray placeholder text */
  font-size: 0.875rem;
}

/***********************************************
    COLLAPSIBLE FILTERS
  ***********************************************/
.filters-collapsible {
  margin-bottom: 1rem;
}

.collapsible-trigger {
  background: none;
  border: none;
  color: #2563eb;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0.25rem 0;
}

.collapsible-trigger .chevron-icon {
  margin-right: 0.5rem;
  transition: transform 0.3s ease;
}

.collapsible-trigger.collapsed .chevron-icon {
  transform: rotate(-180deg);
}

.filters-label {
  font-size: 1rem;
}

/***********************************************
    FILTERS CONTENT BOX
  ***********************************************/
.filters-content {
  margin-top: 0.5rem;
  padding: 0.75rem;
  background-color: #fff;
  border: 1px solid #bfdbfe;
  border-radius: 0.5rem;
  display: none;
}

.filters-content.active {
  display: block;
}

/* 3 column grid for selects on larger screens */
.filters-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

@media (min-width: 600px) {
  .filters-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.filter-select {
  display: flex;
  flex-direction: column;
}

.filter-label {
  font-size: 0.85rem; /* override label size */
  color: #1e3a8a; /* navy text color */
  margin-bottom: 0.25rem;
}

.form-control {
  padding: 0.5rem;
  border: 1px solid #bfdbfe;
  border-radius: 0.25rem;
  font-size: 0.85rem;
  color: #1e3a8a;
}

.form-control:focus {
  outline: none;
  border-color: #2563eb;
}

/***********************************************
    YEAR RANGE
  ***********************************************/
.year-range-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

.year-input {
  display: flex;
  flex-direction: column;
}

.year-input .filter-label {
  margin-bottom: 0.25rem;
}

.year-field {
  padding: 0.5rem;
  border: 1px solid #bfdbfe;
  border-radius: 0.25rem;
  font-size: 0.85rem;
  color: #1e3a8a;
}

.year-field:focus {
  outline: none;
  border-color: #2563eb;
}

/***********************************************
    FILTERS BUTTONS
  ***********************************************/
.filters-buttons {
  display: flex;
  gap: 0.5rem;
}

.apply-filters-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background-color: #2563eb; /* primary blue */
  color: #fff;
  border: none;
  padding: 0.5rem 0.75rem;
  font-size: 0.85rem;
  border-radius: 0.25rem;
  text-transform: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.apply-filters-btn:hover {
  background-color: #1e40af; /* Darker blue on hover */
}

.clear-filters-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background-color: #fff;
  color: #2563eb;
  border: 1px solid #bfdbfe;
  padding: 0.5rem 0.75rem;
  font-size: 0.85rem;
  border-radius: 0.25rem;
  text-transform: none;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.clear-filters-btn:hover {
  background-color: #bfdbfe;
  color: #1e3a8a;
}

.filters-icon {
  width: 16px;
  height: 16px;
}

/***********************************************
    CARDS LIST
  ***********************************************/
.cards-container {
  margin-top: 1rem;
}

.custom-card {
  background: linear-gradient(to right, #fff, #f0f9ff);
  border: 1px solid #cce4f7;
  border-radius: 0.25rem;
  padding: 1rem;
  margin-top: 0.75rem;
  transition: all 0.2s ease-in-out;
  cursor: pointer;
}

.custom-card:hover {
  border-color: #bfdbfe;
  transform: translateY(-2px);
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.card-header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.card-title {
  margin: 0;
  font-size: 1rem;
  font-weight: 500;
  color: #1e3a8a;
}

.card-subtitle {
  font-size: 0.85rem;
  color: #2563eb;
  opacity: 0.9;
}

.card-content {
  margin-top: 0.5rem;
  font-size: 0.85rem;
  color: #1e40af;
  line-height: 1.4;
}

/* customize */
