/**
 * Product specifications dialog (checklist item 12).
 * Shared by /shop and /telefoon. The overlay DOM is created by
 * specs-modal.js; pages only need the button + this stylesheet.
 * Source of the spec values: GSMArena (see backend/smartphone-specs.json).
 */

.btn-specs {
  width: 100%;
  margin-top: 8px;
  background: transparent;
  color: #165df5;
  border: 1px solid #165df5;
  padding: 10px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  font-family: inherit;
  font-size: 14px;
  transition: background 0.2s, color 0.2s;
}
.btn-specs:hover {
  background: #165df5;
  color: #fff;
}

.specs-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 100000;
}
.specs-modal {
  background: #141414;
  border: 1px solid #2a2a2a;
  border-radius: 14px;
  width: 100%;
  max-width: 560px;
  max-height: 85vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  text-align: left;
}
.specs-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  border-bottom: 1px solid #2a2a2a;
  position: sticky;
  top: 0;
  background: #141414;
  color: #165df5;
  font-size: 18px;
  font-weight: 700;
}
.specs-modal-close {
  background: none;
  border: none;
  color: #999;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  padding: 0 4px;
}
.specs-modal-close:hover {
  color: #fff;
}
.specs-modal-body {
  padding: 22px;
}
.specs-modal-phone {
  color: #fff;
  font-size: 20px;
  margin: 0 0 4px;
}
.specs-modal-price {
  color: #165df5;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 18px;
}
.specs-modal-vat {
  color: #888;
  font-size: 12px;
  font-weight: 400;
}
.specs-modal-table {
  width: 100%;
  border-collapse: collapse;
}
.specs-modal-table th,
.specs-modal-table td {
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid #242424;
  font-size: 14px;
  vertical-align: top;
}
.specs-modal-table th {
  color: #999;
  font-weight: 600;
  width: 42%;
}
.specs-modal-table td {
  color: #eee;
}
.specs-modal-source {
  margin: 18px 0 8px;
  font-size: 13px;
  color: #999;
}
.specs-modal-source a {
  color: #165df5;
}
.specs-modal-disclaimer {
  font-size: 12px;
  color: #777;
  line-height: 1.6;
  margin: 0;
}
