* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: #fff;
}


.navbar {
  background-color: #000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 40px;
}

.logo img {
  width: 100px;
  height: auto;
  margin-right: 20px;
}

.nav-links {
  display: flex;
  gap: 48px;
}

.nav-links a {
  color: #fff;
  text-decoration: none;
  font-size: 25px;
  font-weight: 600;
}

.nav-links a.active {
  position: relative;
}

.nav-links a.active::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: #d4c185;
}


.bubble-box {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 8px 24px rgba(40,40,50,0.10);
  max-width: 410px;
  margin: 56px auto 0 auto;
  padding: 36px 28px 32px 28px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}


form {
  display: flex;
  flex-direction: column;
  gap: 13px;
}
label {
  font-weight: 600;
  color: #222;
  margin-bottom: 2px;
}
input[type="password"], input[type="email"], input[type="text"] {
  padding: 10px 12px;
  font-size: 1rem;
  border-radius: 6px;
  border: 1px solid #ccc;
  outline: none;
  transition: border-color 0.25s;
}
input[type="password"]:focus,
input[type="email"]:focus,
input[type="text"]:focus {
  border-color: #d4c185;
}
button {
  margin-top: 8px;
  background: #d4c185;
  color: #222;
  padding: 11px;
  font-weight: 700;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.2s;
}
button:hover { background: #e8c88f; }

h2, h3 {
  margin-top: 0;
  text-align: center;
  color: #222;
  font-weight: 700;
}

.error, .success {
  margin: 10px 0 0 0;
  text-align: center;
  font-weight: 600;
}
.error { color: #c0392b; }
.success { color: #2ecc71; }

.back-login, .register-text {
  margin: 16px 0 0 0;
  text-align: center;
  font-size: 0.97rem;
}

@media (max-width: 500px) {
  .bubble-box { max-width: 97vw; padding: 18px 6vw; }
}
