/* ===================================================
Reset 
====================================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
input::-webkit-inner-spin-button,
input::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
input[type='number'] {
  -moz-appearance: textfield;
}
body {
  background-color: #222;
  color: #fff;
  font-family: Arial, Helvetica, sans-serif;
}
/* ===================================================
End Reset 
====================================================== */
/* ===================================================
Start Crud Style
====================================================== */
.crud {
  width: 80%;
  margin-inline: auto;
}
/* ===================================================
End Crud Style
====================================================== */
/*
============================================================
Start Headr Style
============================================================*/
.crud header {
  text-align: center;
  font-variant: small-caps;
  font-style: italic;
  margin: 10px 0;
}
/* ===================================================
End header
====================================================== */
/* =========================================================
Input Style
=============================================================
*/
input {
  width: 100%;
  height: 30px;
  border: none;
  outline: none;
  background-color: #111;
  margin: 4px 0;
  color: #fff;
  border-radius: 4px;
  padding: 4px;
  transition: 0.5s;
}
input:focus {
  background-color: #000;
  transform: scale(1.1);
}
.price input {
  width: 20%;
}
.price small {
  background-color: #a00d02;
  padding: 10px;
  border-radius: 4px;
}
.price small::before {
  content: 'total:';
  display: inline-block;
  margin-right: 3px;
}
.btn-Search button,
.inputs button {
  width: 100%;
  height: 30px;
  border: none;
  cursor: pointer;
  background-color: #390053;
  color: #fff;
  border-radius: 20px;
  transition: 0.5s;
}
.btn-Search button:hover,
.inputs button:hover {
  background-color: #51045f;
  letter-spacing: 1px;
}
/* =========================================================
End Input Style
=============================================================
*/
/*
 ========================================================
 Start Style   Output!
 ========================================================
 */
.btn-Search {
  display: flex;
  justify-content: space-between;
}
.btn-Search button {
  width: 45%;
}

.parent-table {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  width: 100%;
}
table {
  width: 100%;
  min-width: 600px;
  text-align: center;
  margin: 10px 0;
  border-spacing: 0;
  border-collapse: collapse;
}
thead td {
  font-weight: 700;
  text-transform: uppercase;
  background-color: #f4f4f4;
  border: 1px solid #ccc;
  padding: 8px 10px;
  color: #111;
  font-size: 13px;
}
tbody {
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85), transparent);
}
tbody td {
  font-size: 12px;
  /* text-transform: capitalize; */
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 8px 10px;
  position: relative;
  color: #fff; 
}
tbody tr:hover {
  background: rgba(57, 0, 83, 0.12);
}
tbody tr td::before {
  content: '';
  position: absolute;
  width: 0%;
  height: 2px;
  background-color: #390053;
  left: 0;
  bottom: -1px;
  transition: width 0.6s ease;
}
tbody tr td:is(:hover, :focus-visible)::before {
  width: 100%;
}
tbody button {
  padding: 6px 10px;
  border: none;
  background: transparent;
  color: inherit;
  font-weight: 600;
  border-radius: 6px;
  transition: transform 0.12s ease, background 0.12s ease;
  cursor: pointer;
}
tbody button:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.06);
}
#btn-delete { 
  margin: 14px auto;
  width: 100%;
  border:none;
  background: #390053;
  color: white;
  padding: 20px;
  cursor: pointer;
}
/*
 ========================================================
End Style  Output!
 ========================================================
 */
header div { 
  margin: 20px 0;
  font-size: 22px;
  padding: 4px;
  
}
header div span { 
  color: #a00d02;
}

