/* PracticeDrop Lo-Fi Craigslist-Style Design */
/* Minimal CSS, system fonts, functional layout */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  line-height: 1.4;
  color: #333;
  background: #f5f5f5;
  padding: 0;
}

/* HEADER / NAV */
header, nav {
  background: #fff;
  border-bottom: 1px solid #999;
  padding: 10px 15px;
  font-size: 13px;
}

.nav-inner, header > div {
  max-width: 100%;
  margin: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.logo {
  font-size: 18px;
  font-weight: bold;
  color: #000;
  text-decoration: none;
}

.logo:hover {
  text-decoration: underline;
}

.nav-links {
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
}

.nav-links a {
  color: #0000ee;
  text-decoration: none;
  font-size: 13px;
}

.nav-links a:visited {
  color: #551a8b;
}

.nav-links a:hover {
  text-decoration: underline;
}

.btn-nav, button, .btn-primary, .btn-secondary, a.btn {
  background: #e8e8e8;
  color: #000;
  border: 1px solid #999;
  padding: 4px 12px;
  font-size: 13px;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  font-family: Arial, sans-serif;
}

.btn-nav:hover, button:hover, .btn-primary:hover, .btn-secondary:hover, a.btn:hover {
  background: #d0d0d0;
}

.btn-primary {
  background: #e8e8e8;
  color: #000;
  border: 1px solid #999;
  font-weight: bold;
}

.btn-primary:hover {
  background: #d0d0d0;
}

/* MAIN CONTENT */
main, section, .container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 15px;
}

/* HEADINGS */
h1 {
  font-size: 24px;
  font-weight: bold;
  margin: 15px 0 10px 0;
}

h2 {
  font-size: 18px;
  font-weight: bold;
  margin: 12px 0 8px 0;
}

h3 {
  font-size: 15px;
  font-weight: bold;
  margin: 10px 0 5px 0;
}

p, li {
  margin: 8px 0;
}

/* LINKS */
a {
  color: #0000ee;
  text-decoration: none;
}

a:visited {
  color: #551a8b;
}

a:hover {
  text-decoration: underline;
}

/* FORMS */
input, textarea, select {
  font-family: Arial, sans-serif;
  font-size: 13px;
  border: 1px solid #999;
  padding: 4px 6px;
  margin: 4px 0;
  background: #fff;
  color: #333;
}

input:focus, textarea:focus, select:focus {
  outline: 1px solid #000;
  background: #ffffcc;
}

label {
  font-size: 13px;
  margin: 8px 0 3px 0;
  display: block;
  font-weight: normal;
}

fieldset {
  border: 1px solid #ccc;
  padding: 10px;
  margin: 10px 0;
}

legend {
  font-weight: bold;
  padding: 0 5px;
}

/* TABLES */
table {
  border-collapse: collapse;
  width: 100%;
  margin: 10px 0;
  border: 1px solid #999;
}

th {
  background: #e8e8e8;
  border: 1px solid #999;
  padding: 6px;
  text-align: left;
  font-weight: bold;
}

td {
  border: 1px solid #ccc;
  padding: 6px;
}

tr:nth-child(even) {
  background: #f9f9f9;
}

/* LISTINGS / CARDS */
.listing, .card, .item {
  background: #fff;
  border: 1px solid #999;
  padding: 10px;
  margin: 10px 0;
}

.listing:hover, .card:hover, .item:hover {
  background: #f5f5f5;
  border-color: #666;
}

.listing-header, .card-header {
  font-weight: bold;
  margin-bottom: 5px;
}

.listing-title, .card-title {
  font-size: 15px;
  font-weight: bold;
  color: #000;
  margin-bottom: 5px;
}

.listing-meta, .card-meta {
  font-size: 12px;
  color: #666;
  margin: 3px 0;
}

.listing-price, .price {
  font-weight: bold;
  font-size: 16px;
  color: #000;
  margin: 5px 0;
}

.listing-description, .description {
  margin: 8px 0;
  line-height: 1.5;
}

.listing-photo, .photo {
  max-width: 100%;
  height: auto;
  border: 1px solid #ccc;
  margin: 5px 0;
}

/* GRID LAYOUT */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 10px;
  margin: 10px 0;
}

.grid-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin: 10px 0;
}

/* HERO / BANNER */
.hero, .banner {
  background: #fff;
  border: 1px solid #999;
  padding: 20px;
  margin: 10px 0;
  text-align: center;
}

.hero h1, .banner h1 {
  font-size: 28px;
  margin-bottom: 10px;
}

.hero p, .banner p {
  margin: 8px 0;
  font-size: 14px;
}

.hero-actions, .banner-actions {
  margin: 15px 0;
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

/* SECTIONS */
.section-label {
  font-size: 12px;
  font-weight: bold;
  color: #666;
  margin: 10px 0 5px 0;
}

.section-title {
  font-size: 20px;
  font-weight: bold;
  margin: 10px 0;
}

/* VALUE PROPS / STEPS */
.steps, .features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 15px;
  margin: 15px 0;
}

.step, .feature {
  border: 1px solid #ccc;
  padding: 12px;
  background: #fff;
}

.step-number, .feature-number {
  font-weight: bold;
  font-size: 16px;
  margin-bottom: 5px;
}

.step h3, .feature h3 {
  font-size: 14px;
  font-weight: bold;
  margin: 5px 0;
}

.step p, .feature p {
  font-size: 13px;
  line-height: 1.4;
}

/* MESSAGES / CHAT */
.messages {
  border: 1px solid #999;
  background: #fff;
  margin: 10px 0;
}

.message-item {
  padding: 10px;
  border-bottom: 1px solid #e8e8e8;
}

.message-item:last-child {
  border-bottom: none;
}

.message-header {
  font-weight: bold;
  margin-bottom: 5px;
}

.message-time {
  font-size: 11px;
  color: #666;
}

.message-body {
  margin: 5px 0;
  line-height: 1.5;
}

/* FOOTER */
footer {
  border-top: 1px solid #999;
  padding: 15px;
  text-align: center;
  background: #f5f5f5;
  font-size: 12px;
  color: #666;
  margin-top: 20px;
}

/* ALERTS / MESSAGES */
.alert, .notice, .success, .error, .warning {
  padding: 10px;
  margin: 10px 0;
  border: 1px solid #ccc;
  background: #f5f5f5;
}

.success {
  background: #e8f5e9;
  border-color: #4caf50;
}

.error {
  background: #ffebee;
  border-color: #f44336;
}

.warning {
  background: #fff3e0;
  border-color: #ff9800;
}

/* UTILITY */
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-muted { color: #666; }
.text-bold { font-weight: bold; }
.mb-10 { margin-bottom: 10px; }
.mb-20 { margin-bottom: 20px; }
.mt-10 { margin-top: 10px; }
.mt-20 { margin-top: 20px; }

/* MOBILE / RESPONSIVE */
@media (max-width: 600px) {
  .grid-2col {
    grid-template-columns: 1fr;
  }

  .nav-links {
    gap: 10px;
    font-size: 12px;
  }

  .hero-actions, .banner-actions {
    flex-direction: column;
  }

  .hero-actions a, .banner-actions a {
    width: 100%;
  }

  h1 { font-size: 20px; }
  h2 { font-size: 16px; }
  main { padding: 10px; }
}
