/* RESET */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: Arial, Helvetica, sans-serif;
}

/* BODY */
body {
  background: #1e1e1e;
  color: #eaeaea;
}

/* HEADER */
.topbar {
  background: linear-gradient(#000, #111);
  padding: 14px 0;
  border-bottom: 1px solid #2a2a2a;
}

.topbar-content {
  max-width: 1200px;
  margin: auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo img {
  height: 34px;
}

.logo span {
  font-weight: bold;
  font-size: 18px;
}

.menu a {
  color: #fff;
  text-decoration: none;
  margin-left: 10px;
  padding: 6px 14px;
  border: 1px solid #444;
  border-radius: 6px;
}

.menu a:hover {
  background: #0d6efd;
  border-color: #0d6efd;
}

/* CONTAINER */
.container {
  max-width: 1100px;
  margin: 40px auto;
  padding: 0 20px;
}

/* STEP TITLE */
.step-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 30px;
}

.step-circle {
  background: #0d6efd;
  color: #fff;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

/* CARDS */
.services-container,
.barber-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.service-card,
.barber-card,
.time-card {
  background: #2b2b2b;
  padding: 20px;
  border-radius: 10px;
  border: 1px solid #333;
}

.service-card h3,
.barber-card h3 {
  margin-bottom: 10px;
}

.service-card p {
  margin-bottom: 6px;
  font-size: 14px;
  color: #ccc;
}

/* BOTÕES */
button,
.btn-primary {
  background: #0d6efd;
  border: none;
  color: #fff;
  padding: 8px 16px;
  border-radius: 6px;
  cursor: pointer;
  margin-top: 10px;
}

button:hover,
.btn-primary:hover {
  background: #0b5ed7;
}

/* INPUTS */
input, select {
  width: 100%;
  padding: 10px;
  margin-bottom: 10px;
  background: #1f1f1f;
  border: 1px solid #444;
  border-radius: 6px;
  color: #fff;
}

/* HORÁRIOS */
.time-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.time-btn {
  background: #0d6efd;
  border: none;
  padding: 8px 14px;
  border-radius: 6px;
  color: #fff;
  cursor: pointer;
}

.time-btn.disabled {
  background: #555;
  cursor: not-allowed;
}

/* FOOTER */
.footer {
  text-align: center;
  padding: 30px 0;
  color: #aaa;
  font-size: 14px;
}
.admin-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.admin-card {
  background: #2a2a2a;
  border-radius: 10px;
  padding: 20px;
}

/* ===== HEADER MOBILE AJUSTADO ===== */
@media (max-width: 600px) {

  header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
  }

  header img {
    width: 42px;
    height: auto;
  }

  header h1,
  header .brand,
  header span {
    font-size: 18px;
    line-height: 1.2;
    text-align: center;
  }

  nav {
    display: flex;
    justify-content: center;
    gap: 8px;
    width: 100%;
  }

  nav a {
    background: #0d6efd;          /* azul */
    color: #fff;
    border: none;
    padding: 6px 14px;            /* menor */
    font-size: 13px;              /* menor */
    border-radius: 8px;
    min-width: unset;
  }

  nav a:hover {
    background: #0b5ed7;
  }
}
