* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

/* Background */
body {
  height: 100vh;
  background: url('../images/coffee.jpg') no-repeat center center/cover;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Container */
.login-container {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Box */
.login-box {
  text-align: center;
  background: rgba(0, 0, 0, 0.4);
  padding: 40px;
  border-radius: 20px;
  backdrop-filter: blur(10px);
  width: 300px;
}

/* Logo */
.logo {
  color: white;
  letter-spacing: 5px;
}

.subtitle {
  color: #ccc;
  font-size: 12px;
  margin-bottom: 30px;
}

/* Input */
.input-group {
  margin-bottom: 15px;
}

.input-group input {
  width: 100%;
  padding: 12px;
  border-radius: 25px;
  border: none;
  outline: none;
  background: rgba(255, 255, 255, 0.2);
  color: white;
}

.input-group input::placeholder {
  color: #eee;
}

.password-group {
  position: relative;
  display: flex;
  align-items: center;
}

.password-group input {
  width: 100%;
  padding-right: 45px;
}

.toggle-password {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  font-size: 18px;
  color: white;
  z-index: 999;
  user-select: none;
}

/* Button */
.btn-login {
  width: 100%;
  padding: 12px;
  border-radius: 25px;
  border: none;
  background: #e6b89c;
  color: black;
  font-weight: bold;
  cursor: pointer;
  margin-top: 10px;
}

/* Extra Links */
.extra {
  margin-top: 15px;
  display: flex;
  justify-content: space-between;
}

.extra a {
  color: white;
  font-size: 12px;
  text-decoration: none;
}

.role-selector {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
}

.role-btn {
  flex: 1;
  padding: 5px;
  border: 2px solid #ccc;
  background: transparent;
  border-radius: 5px;
  cursor: pointer;
  font-size: 12px;
  font-weight: bold;
  letter-spacing: 1px;
  transition: all 0.2s ease;
  color: #555;
}

.role-btn:hover {
  border-color: #6b4c35;
  color: #6b4c35;
}

.role-btn.active {
  background: #6b4c35;
  border-color: #6b4c35;
  color: #fff;
}

.role-label {
  text-align: center;
  font-size: 12px;
  color: #999;
  margin-bottom: 16px;
  letter-spacing: 1px;
}

#error-msg {
  color: red;
  font-size: 13px;
  text-align: center;
  display: none;
  margin-bottom: 8px;
}
