* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

body {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background: radial-gradient(circle at top, #76217a, #260b2a);
  padding: 30px 15px;
}

.container {
  text-align: center;
  width: 100%;
}

.top-icon {
  width: 90px;
  height: 90px;
  background: linear-gradient(135deg, #d0b00e, #d7d2de);
  border-radius: 22px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 20px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.4);
  overflow: hidden;
  position: relative;
}

.top-icon span {
  color: #3b0a45;
  font-size: 36px;
}

.top-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: none;
}

h1 {
  color: #f1d77a;
  margin-bottom: 5px;
  font-size: 3rem;
}

.subtitle {
  color: #cbb6d8;
  margin-bottom: 25px;
  font-size: 14px;
}

.card {
  width: 100%;
  max-width: 400px;
  background: #2a0033;
  padding: 30px;
  border-radius: 18px;
  box-shadow: 0 20px 50px rgba(35, 3, 54, 0.6);
  text-align: left;
  margin: 0 auto;
}

.card label {
  display: block;
  margin: 15px 0 6px;
  font-size: 14px;
  color: #d04ce0;
}

.card input {
  width: 100%;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid #5a2a6e;
  background-color: #3b0a45;
  color: #fff;
  outline: none;
  transition: 0.3s;
}

.card input::placeholder {
  color: #cbb6d8;
}

.card input:focus {
  border-color: #d4af37;
  box-shadow: 0 0 8px rgba(212,175,55,0.5);
}

.upload-box {
  width: 100%;
}

.upload-box input[type="file"] {
  padding: 10px;
  background-color: #3b0a45;
  border: 1px dashed #d4af37;
  cursor: pointer;
}

.upload-box input[type="file"]::file-selector-button {
  background: linear-gradient(310deg, #a9996a, #d0b00e);
  color: #3b0a45;
  border: none;
  padding: 10px 14px;
  border-radius: 8px;
  margin-right: 12px;
  cursor: pointer;
  font-weight: bold;
}

button {
  width: 100%;
  margin-top: 25px;
  padding: 14px;
  border: none;
  border-radius: 12px;
  background: linear-gradient(310deg, #a9996a, #d0b00e);
  color: #3b0a45;
  font-weight: bold;
  font-size: 15px;
  cursor: pointer;
  transition: 0.3s;
}

button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(201, 197, 183, 0.4);
}

.login-link {
  text-align: center;
  margin-top: 20px;
  font-size: 14px;
  color: #cbb6d8;
}

.login-link a {
  color: #d0b00e;
  text-decoration: none;
  font-weight: bold;
}

.login-link a:hover {
  text-decoration: underline;
}

.errors {
  color: #ffdddd;
  background-color: #8b0000;
  padding: 8px 12px;
  margin-top: 6px;
  border-left: 4px solid #ff4c4c;
  border-radius: 6px;
  font-size: 13px;
}

.revendedora-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  overflow: hidden;
  background: #f1f1f1;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.revendedora-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.revendedora-avatar span {
  font-size: 22px;
  color: #a64bd4;
}