
#filters-form {
  margin: auto 0;
  width: 100%;
  display: flex;            
  justify-content: center;

}

@media (max-height: 600px) {
  #filters-form { margin: 1rem 0; } 
}



body {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
}
.filters {
  background-color: var(--bg-light);
  padding: 1.5rem;
  border-radius: 8px;
  max-width: 320px;
  width: 100%;
  margin-top:2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  
}
.filters .section { width: 100%; margin-bottom: 1rem; }
.filters .section h3 {
  margin-bottom: 0.75rem; text-align: center; color: var(--accent);
}
.filters label { display: block; margin-bottom: 0.5rem; cursor: pointer; }
.filters input[type="checkbox"] { margin-right: 0.5rem; }

.filters input[type="number"] {
  width: 100%; padding: 0.5rem; border-radius: 4px; border: 1px solid #555;
  background: var(--bg-dark); color: var(--text-light);
}

:root {
  --tags-width: 260px; 
}

.section.tags-options h3 {
  margin: 0 0 8px 0;
  text-align: center;
  color: var(--accent);
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1;
}


.section.tags-options #toggler {
  display: block;             
  margin: 0 auto 12px;       
  padding: .28rem .7rem;      
  border-radius: 8px;      
  border: 1px solid rgba(255,255,255,0.06); 
  background: rgba(255,255,255,0.03);     
  color: var(--text-light);   
  font-size: .9rem;        
  line-height: 1 ;
  cursor: pointer ;
  box-shadow: none ;
  transition: transform .06s ease, box-shadow .08s ease;
}

.section.tags-options #toggler:hover {
  transform: translateY(-1px);
}

.section.tags-options #tags-container {
  margin: 0 auto;
  max-width: var(--tags-width);
  width: 100%;
  box-sizing: border-box;
}

#username-input{
  width: 100%; padding: 0.5rem; border-radius: 4px; border: 1px solid #555;
  background: var(--bg-dark); color: var(--text-light);
}


.filters input[type="number"] {
  width: 100%; padding: 0.5rem; border-radius: 4px; border: 1px solid #555;
  background: var(--bg-dark); color: var(--text-light);
}
.filters button {
  margin-top: 1rem; padding: 0.5rem 1rem;
  background-color: var(--accent); border: none; border-radius: 4px;
  color: var(--bg-dark); cursor: pointer; font-size: 1rem;
}
footer {
  margin-top: 2rem;
  color: var(--text-light); font-size: 0.9rem; text-align: center;
  border-top: 1px solid #333; width: 100%;
}

#rating-input-1 {
  margin-bottom:5px;
}

.submit-button:hover{
  background-color: var(--accent-light);
}

.error-message {
  color: #f44336; 
  margin-bottom: .5em;
}