/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS (and SCSS, if configured) file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *


 */
/* app/assets/stylesheets/custom_tables.scss */


.custom-table {
  width: 50%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 18px;
  text-align: left;
}

.custom-table th, .custom-table td {
  padding: 12px 15px;
  border: 1px solid #ddd;
}

.custom-table th {
  background-color: #f4f4f4;
  font-weight: bold;
}

.custom-table tr:nth-child(even) {
  background-color: #f9f9f9;
}

.custom-table tr:hover {
  background-color: #f1f1f1;
}

.custom-table caption {
  caption-side: top;
  font-weight: bold;
  margin-bottom: 10px;
}

.image {
  display: flex;
  width: 100%; /* Adjust width as necessary */
  margin: 10px;
}

.channel {

  max-width: 50%;
  height: auto;
  object-fit: scale-down;         /* Cover the entire area without distortion */
  margin: 0 10px;
}

.listViews{
  min-width: 60px;
  height: auto;
}

.listView {
  background-color: #f4f4f4;
  width: 120px;
}

.listItems{
  height:  calc(100% - 70px);
  overflow-y: scroll;
  list-style-type: none;
  padding: 0; /* Remove default padding */
  margin: 0; 
}

.listItem{
  padding: 12px; /* Padding around list items */
  border-bottom: 1px solid #ddd; /* Light border between items */
  cursor: pointer; /* Pointer cursor on hover */
  transition: background-color 0.3s;
}

.listItem:hover {
  background-color: #f1f1f1;
}


.list-item:last-child {
  border-bottom: none; 
}

#grid-container {
  display: grid;
  grid-template-columns: min-content min-content;
  grid-template-rows: min-content;
  gap: 0px;                        /* Space between grid items */
  padding: 0px;
  margin: 0;
  grid-template-areas: 
  "channels listViews";
}

#mainContainer {
  display: grid;
  justify-content: center;
  align-items: center;
}


.channelsContainer{
  display: flex;
  grid-area: channels;
  gap: 0px;                        /* Space between grid items */
  padding: 0px;
  border:2px solid #222;
}

.singleChannelContainer{
  padding: 0px;
  gap: 0px; 
  margin: 0;
  height:min-content;
}
.imageControls{
  display: flex;
  border: 2px solid #222;
  width: 1080px;
}


#pointsAdded{
  grid-area: added;
  border: 1px solid #ccc;
  background-color:#afafaf;
}

#pointsRemoved{
  grid-area: removed;
  border: 1px solid #ccc;
  background-color:#afafaf;
}

body {
  font-family: 'Roboto', Arial, sans-serif;  /* Apply Google Font globally */
  font-size: 16px;  /* Optional: Adjust base font size */
  line-height: 1.5; /* Optional: Adjust line height */
  background-color: #5f5f5f;
}

.navbar {
  height: 5px;
  background-color: #afafaf;
  height: auto;
}
.navbar .navbar-nav {
  list-style-type: none;
  display: flex;
  gap: 10px;
  height: auto;
}

.nav-item  {
  color: #000000;
  text-decoration: none;
  height: auto;
} 
.nav-link  {
  color: #000000;
  text-decoration: none;
  height: auto;
} 

.toggleButton {
  background-color: #e0e0e0;
  border: solid;
  padding: 10px 20px;
  cursor: pointer;
  border-width: 1px;
  border-radius: 5px;
}

select {
  background-color:#afafaf;
}

/* Pressed state */
.toggleButton.pressed {
  background-color: #a6a6a6;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

#mainLogin {
  display: grid;
  justify-content: center;
  align-items: center;
}

a {
  color: #DA3744;
}

#submitButton {
  background-color: #afafaf;
}
