html, body { margin:0; padding:0; }
body {
  font:14px/1.55 "Segoe UI", Arial, sans-serif;
  color:#0f172a;
  background:#90bfee;
  height: 100%;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  position: relative;
  min-height: 100vh;
}
a { color:#334155; text-decoration:none; }

/* Keep page centered */
.wrapper {
  flex: 1 0 auto;             
  max-width: 980px;
  width: 100%;
  margin: 0 auto;
  padding: 0 16px;
}

/* --- Header: brand above nav, left aligned --- */
.header {
  background-color: #90bfee;
  border-bottom:1px solid #6aa5e0;
  padding:12px 16px;
}
.header-inner {
  display:flex;
  flex-direction:column;     /* brand on top, nav below */
  align-items:flex-start;    /* left align both lines */
  gap:8px;
}

/* Brand */
.brand {
  font-size:1.8rem;
  font-weight:700;
  color:#002a61;
  margin:0;
}

/* Nav just under brand */
.nav ul {
  list-style:none;
  margin:0;
  padding:0;
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}
.nav li { display:inline-block; }

/* Buttons */
.btn {
  border:1px solid #334155;
  padding:6px 12px;
  display:inline-block;
  line-height:1.2;
  text-align:center;
  width:120px;
  box-sizing:border-box;
  border-radius:4px;
  background-color: #b2b2b8;
}
.btn:hover { transform:scale(1.05); }
.btn-ghost { background:#e0d5d5; }

/* Content panel stays centered under header */
.content {
  background-color: #90bfee;
  border:1px solid #3d5483;
  padding:16px;
  margin-top:20px;
  border-radius:20px;
}
.footer {
  text-align: center;
  font-size: 12px;
  color: #64748b;
  margin-top: auto;
  padding-top: 150px;
}

.results-table {
  margin: 0 auto;
  border-collapse: collapse;
}

legend {
  padding: 0 8px;
  background: transparent;
  font-weight: bold;
}

.dropdown {
  position: relative;
  display: inline-block;
  z-index: 10;
}
.dropdown-toggle {
  cursor: default;
  position: relative;
  z-index: 20;
}
.dropdown-menu {
  position: absolute;
  left: 0;
  top: 100%;
  min-width: 240px;
  border: 1px solid #e5e7eb;
  background: #ffffff;
  display: none;
  z-index: 15;
  padding: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1); 
}
.dropdown:hover .dropdown-menu { display:block; }
.dropdown-menu ul { list-style:none; margin:0; padding:0; }
.dropdown-menu li { margin:0; padding:0; }
.dropdown-menu a { display:block; padding:6px 8px; border-bottom:1px solid #e5e7eb; }
.dropdown-menu a:hover { background:#cacbcc; }

.phpinfo-embed {
  width: 100%;
  height: 700px;
  border: 1px solid #e5e7eb;
}

/* Store grid layout (Amazon-style rows of cards) */

.store-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: flex-start;
  padding: 10px 0;
}

.store-item {
  width: 200px;
  border: 1px solid #e5e7eb;
  background: #ffffff;
  padding: 12px;
  text-align: left;
  font-size: 14px;
  box-sizing: border-box;
}

.store-item-img {
  text-align: center;
  margin-bottom: 10px;
}

.store-item-img img {
  width: 100%;
  height: auto;
  border: 1px solid #d1d5db;
}

.store-item-title {
  font-size: 14px;
  margin: 6px 0 4px 0;
  color: #111111;
  min-height: 36px; /* keeps titles from making cards jumpy */
}

.store-item-description {
  margin: 4px 0 6px 0;
  color: #4b5563;
  min-height: 48px; /* rough height to line up cards */
}

.store-item-price {
  font-size: 16px;
  font-weight: bold;
  color: #b12704;
  margin: 4px 0;
}

.store-item-stock {
  margin-bottom: 8px;
  color: #555555;
}

.store-item-form {
  margin-top: 6px;
}

.store-item-form p {
  margin: 4px 0;
}

.store-item-form input[type="text"] {
  width: 40px;
}
.header-inner {
  position: relative;
}
.ecom-header-status {
  position: absolute;
  right: 10px;
  top: 10px;
  font-size: 0.9em;
  text-align: right;
  line-height: 1.4em;
}


.cart-button {
  display: inline-block;
  margin-top: 4px;
  padding: 4px 8px;
  background: #2563eb;
  color: #ffffff;
  text-decoration: none;
  border-radius: 4px;
  font-weight: bold;
}

.cart-button:hover {
  background: #1e40af; 
}

.footer-social {
  margin: 8px 0;
  font-size: 0.9em;
}

.footer-social a {
  color: #1d4ed8; /* blue link */
  text-decoration: none;
}

.footer-social a:hover {
  text-decoration: underline;
}

.comment-card {
  border: 1px solid #d1d5db;
  background: #ffffff;
  padding: 10px 14px;
  margin-bottom: 8px;
  border-radius: 6px;
  font-size: 0.9rem;
  line-height: 1.35rem;
}

.comment-card strong {
  color: #111827;
}

.comment-date {
  font-size: 0.8rem;
  color: #374151;
}

.comment-actions {
  font-size: 0.8rem;
  margin-top: 6px;
  text-align: right;
}

.comment-actions a {
  color: #2563eb;
  text-decoration: none;
}

.comment-actions a:hover {
  text-decoration: underline;
}



