@import "parts/_variables";

body {
  color: var(--color-text);
  background: var(--color-background-page);
  font-family: Helvetica Neue, Helvetica, Lucida Grande, Arial, Ubuntu, Cantarell, Fira Sans, sans-serif;

  margin: 8px;
  min-width: 400px;
  font-size: 0.9rem;
}

#logo {
  max-width: 200px;
}

header {
  background: var(--color-cdio-blue);
  color: #fff;
  padding: 0.8rem;
  border-radius: 5px;
  margin-bottom: 1rem;
}

h1 > span#location {
  color: blue;
}
#tag, #include_filter {
  border-radius: 10px;
  border: 1px solid var(--color-grey-600);
  color: var(--color-grey-350);
  padding-left: 1rem;
}

#include-filter-container {
  display: block;
  
  .filter-content {
    display: flex;
    align-items: center;
    gap: 1rem;
    
    #include_filter {
      flex: 1;
    }
  }
  
  .filter-help {
    font-size: 0.75rem;
    color: var(--color-grey-500);
    margin-top: 4px;
    padding-left: 1.3rem;
    font-style: italic;
  }
}

.selector-btn {
  background-color: var(--color-cdio-blue);
  color: white;
  border: none;
  border-radius: 10px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  
  .material-symbols-outlined {
    opacity: 0.5;
    transition: opacity 0.2s ease;
  }
  
  &:hover {
    filter: brightness(1.15);
  }
}

body.selector-mode-enabled .selector-btn .material-symbols-outlined {
  opacity: 1.0;
}
#results {
  text-align: center;
}
main {
  display: grid;
  gap: 0.5rem;
}

.action-btn-container {
  display: grid;
  grid-template-rows: 1fr;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.action-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  height: 2.5rem;
  gap: 0.2em;
  border: none;
  border-radius: 10px;
}

.action-btn:hover {
  filter: brightness(1.15);
  cursor: pointer;
}

.action-btn:active {
  filter: brightness(1.15);
}

.action-btn.large {
  grid-column: 1 / 4;
}

.action-btn.watch {
  background-color: #485FC7;
  color: white;
}

.action-btn.clear-settings {
  background-color: #c74848;
  color: white;
}

.action-btn.watch-with-cookies {
  background-color: #488ec7;
  color: white;
}


.error {
  color: var(--color-dark-red);

}
#extra-links {
  text-align: right;
  a, a:visited {
    text-decoration: none;
    color: var(--color-cdio-blue);
  }
  a:hover {
    text-decoration: underline;
  }
}


.display-when-unsynced, .display-when-synced {
  display: none;
}

.state-unsynced {
  .display-when-unsynced {
    display: block !important;
  }
}

.state-synced {
  .display-when-synced {
    display: block !important;
  }
}

ul#processor {
  list-style: none;
  padding: 0;

    li:nth-child(even) {
      padding-top: 1rem;

    }

  label {
    font-weight: bold;

    &:hover {
      cursor: pointer;
    }
  }
}

.label-text {
  padding-left: 1.3rem;
  font-size: 0.8rem;
  color: var(--color-grey-325);
  font-weight: lighter;
}

