/* forms/quotation-list.css */

body {
  font-family: 'Segoe UI', sans-serif;
  background-color: #f1f5f9;
  margin: 0;
  padding: 2rem;
}

.quotation-section {
  max-width: 1000px;
  margin: auto;
  background: white;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.quotation-section h1 {
  text-align: center;
  color: #0f172a;
  margin-bottom: 2rem;
}

#searchInput {
  width: 100%;
  padding: 10px;
  margin-bottom: 1rem;
  font-size: 1rem;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
}

thead {
  background-color: #0f172a;
  color: white;
}

th, td {
  text-align: left;
  padding: 12px 10px;
  border-bottom: 1px solid #e2e8f0;
}

tr:hover {
  background-color: #f0f9ff;
}

a {
  text-decoration: none;
  color: #3b82f6;
  font-weight: bold;
}

a:hover {
  text-decoration: underline;
}

@media screen and (max-width: 768px) {
  table, thead, tbody, th, td, tr {
    display: block;
  }

  thead tr {
    display: none;
  }

  td {
    padding: 0.75rem;
    text-align: right;
    position: relative;
  }

  td::before {
    content: attr(data-label);
    position: absolute;
    left: 0;
    width: 50%;
    padding-left: 1rem;
    font-weight: bold;
    text-align: left;
    color: #64748b;
  }
}
