/* ================================
   GLOBAL RESET & BASE
================================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", Roboto, Arial, sans-serif;
  background: #f2f4f7;
  color: #1f2937;
  line-height: 1.5;
}

/* ================================
   LAYOUT
================================ */
.container {
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 20px;
}

.card {
  background: #ffffff;
  border-radius: 10px;
  padding: 24px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

/* ================================
   HEADINGS
================================ */
h2 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 16px;
  color: #111827;
}

/* ================================
   INPUTS & BUTTONS
================================ */
input[type="text"],
input[type="password"] {
  width: 260px;
  padding: 10px 12px;
  border-radius: 6px;
  border: 1px solid #d1d5db;
  font-size: 14px;
  margin: 6px 6px 6px 0;
}

input:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.15);
}

button {
  background: #2563eb;
  color: #ffffff;
  border: none;
  border-radius: 6px;
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  margin: 6px 6px 6px 0;
  transition: all 0.2s ease;
}

button:hover {
  background: #1d4ed8;
}

button:active {
  transform: scale(0.98);
}

/* ================================
   LOGIN PAGE
================================ */
#loginBox {
  max-width: 420px;
}

#loginBox .card {
  margin-top: 120px;
}

#loginError {
  margin-top: 10px;
  font-size: 13px;
  color: #dc2626;
}

/* ================================
   DASHBOARD CONTROLS
================================ */
.filter-bar {
  margin-top: 16px;
  padding: 12px;
  background: #f9fafb;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
}

.filter-bar label {
  font-size: 14px;
  margin-right: 16px;
  cursor: pointer;
}

.filter-bar input[type="checkbox"] {
  margin-right: 6px;
}

/* ================================
   TABLE (EXCEL-LIKE)
================================ */
table {
  width: 100%;
  margin-top: 20px;
  border-collapse: collapse;
  background: #ffffff;
  border-radius: 8px;
  overflow: hidden;
}

thead {
  background: #111827;
}

thead th {
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  padding: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

tbody td {
  padding: 12px;
  font-size: 14px;
  border-bottom: 1px solid #e5e7eb;
}

tbody tr:hover {
  background: #f1f5f9;
}

/* ================================
   STATUS STYLES
================================ */
td:last-child {
  color: #374151;
}

.no-website {
  color: #dc2626;
  font-weight: 600;
}

.has-website {
  color: #16a34a;
  font-weight: 600;
}

/* ================================
   UTILITIES
================================ */
.hidden {
  display: none;
}

/* ================================
   RESPONSIVE (BASIC)
================================ */
@media (max-width: 768px) {
  input[type="text"],
  input[type="password"] {
    width: 100%;
  }

  .filter-bar {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  table {
    font-size: 13px;
  }
}
