/* Download Manager Lite styles */

/* Lista: sempre verticale, un elemento sotto l'altro */
.dmlite-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Ogni item come card */
.dmlite-item {
    background: url('../images/dark-mosaic.png') repeat;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 20px;
  color: #fff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.6);
}

.dmlite-item h3 {
    color: #8fce00;
    margin-top: 0;
}

/* Bottone download (responsive, full-width) */
.dmlite-btn {
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  width:100%;
  min-height:56px;
  background:#32CD32;
  color:#fff !important;
  font-size:18px;
  font-weight:700;
  padding:16px 20px;
  border:none;
  border-radius:8px;
  cursor:pointer;
  text-decoration:none !important;
  transition:background-color .25s ease, transform .12s ease;
  line-height:1.2;
  box-sizing:border-box;
}
.dmlite-btn:hover,
.dmlite-btn:focus {
  background:#28a428;
  transform:translateY(-1px);
  outline:none;
}
.dmlite-btn i.fa { font-size:20px }

/* Locked label */
.dmlite-locked {
    display: inline-block;
    width: 100%;
    text-align: center;
    padding: 12px;
    background: #333;
    border-radius: 8px;
    color: #f55;
    font-style: italic;
}

/* Widget layout sempre verticale */
.dmlite-widget {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.dmlite-col { flex: 1; }

/* Barra di ricerca + filtro (sempre verticale, riga per riga) */
.dmlite-search {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}
.dmlite-search input[type="text"],
.dmlite-search select {
    width: 100%;
    padding: 12px 14px;
    font-size: 15px;
    border: 2px solid #333;
    border-radius: 6px;
    background: #111;
    color: #eee;
    box-shadow: inset 0 0 5px rgba(0,0,0,0.5);
    transition: border-color .2s ease, box-shadow .2s ease;
    box-sizing: border-box;
}
.dmlite-search input[type="text"]:focus,
.dmlite-search select:focus {
    border-color: #8fce00;
    outline: none;
    box-shadow: 0 0 6px rgba(143,206,0,0.7);
}
.dmlite-search button {
    width: 100%;
    text-align: center;
    background: url('../images/dark-mosaic.png') repeat;
    color: #fff;
    font-weight: 700;
    border: none;
    border-radius: 6px;
    padding: 12px 20px;
    cursor: pointer;
    transition: background .25s ease, transform .12s ease;
}
.dmlite-search button:hover {
    background: url('../images/dark-mosaic.png') repeat;
	box-shadow: inset 0 0 5px rgb(211, 25, 25);
    transform: translateY(-1px);
}

/* Mobile: solo scaling font */
@media (max-width: 768px){
  .dmlite-btn {
      font-size:16px;
      padding:14px 16px;
      min-height:50px;
  }
}
