/* =====================================================
   STSI FRONTEND DROPDOWN STYLESHEET
   Mirrors Admin Import Layout + Responsive Design
===================================================== */

/* ----------------------------
   MAIN CONTAINER STYLES
----------------------------- */
.stsi-frontend-wrap {
  background: #fff;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.05);
  max-width: 850px;
  margin: 40px auto;
}

.stsi-frontend-title {
  text-align: center;
  margin-bottom: 20px;
  color: #222;
  font-weight: 600;
  font-size: 1.6em;
}

/* ----------------------------
   TABLE & FIELD STYLES
----------------------------- */
.stsi-frontend-table {
  width: 100%;
  border-collapse: collapse;
}

.stsi-frontend-table th {
    width: 250px;
    text-align: left;
    vertical-align: middle;
    padding: 10px 10px;
    color: #333;
    font-weight: 500;
}

table.form-table.stsi-frontend-table select {
    width: 100%;
}

table.form-table.stsi-frontend-table td > div
{
    padding:0px 10px;
}

.stsi-frontend-table td {
  padding: 10px 0;
}

.stsi-frontend-table select,
.stsi-frontend-table input[type="radio"] {
  margin: 6px 5px 6px 0;
  width: auto;
}

.stsi-view-btn-row td {
  padding-top: 15px;
}

#stsi-view-assignment {
    background-color: #101957;
    border: none;
    color: #fff;
    padding: 10px 20px;
    line-height: 1;
    border-radius: 4px;
    cursor: pointer;
    font-size: 15px;
    transition: background 0.2s 
ease-in-out;
}

#stsi-view-assignment:hover {
  background-color: #005d8a;
}

.stsi-loader {
  text-align: center;
  padding: 10px;
  color: #555;
  font-style: italic;
}

#stsi-assignment-content table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

#stsi-assignment-content th,
#stsi-assignment-content td {
  border: 1px solid #ddd;
  padding: 8px;
  vertical-align: top;
}

#stsi-assignment-content th {
  background-color: #f9f9f9;
  font-weight: 600;
}

.stsi-assignment-toolbar {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 10px;
}

#stsi-save-all.button {
    background: #101957;
    color: #fff;
    border: none;
    padding: 7px 14px;
    line-height: 1;
    border-radius: 3px;
    cursor: pointer;
}
#stsi-save-all.button:hover {
  background: #135e96;
}

/* ----------------------------
   RESPONSIVE DESIGN
----------------------------- */
@media (max-width: 768px) {
  .stsi-frontend-table,
  .stsi-frontend-table tbody,
  .stsi-frontend-table tr,
  .stsi-frontend-table th,
  .stsi-frontend-table td {
    display: block;
    width: 100%;
  }

  .stsi-frontend-table th {
    padding: 10px 0 0;
    font-weight: 600;
    width: 100%;
  }

  .stsi-frontend-table td {
    padding: 5px 0 15px;
  }

  .stsi-frontend-table select,
  .stsi-frontend-table input[type="radio"] {
    width: 100%;
    max-width: 100%;
  }

  #stsi-view-assignment {
    width: 100%;
    text-align: center;
    margin-top: 10px;
  }
}