* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
}

body {
  background-color: #121212;
  color: #ffffff;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.auth-container {
  width: 100%;
  max-width: 420px;
}

.auth-box {
  background-color: #1e1e1e;
  padding: 40px 30px;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
  border: 1px solid #2a2a2a;
}

.brand-header {
  text-align: center;
  margin-bottom: 25px;
}

.brand-header h1 {
  color: #ffcc00;
  font-size: 26px;
  letter-spacing: 1px;
}

.brand-header p {
  color: #aaaaaa;
  font-size: 12px;
  letter-spacing: 2px;
}

h2 {
  text-align: center;
  margin-bottom: 20px;
  font-size: 22px;
}

form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
}

label {
  font-size: 13px;
  color: #cccccc;
}

input {
  width: 100%;
  padding: 12px;
  border-radius: 6px;
  border: 1px solid #333333;
  background-color: #2a2a2a;
  color: #ffffff;
  font-size: 14px;
  outline: none;
}

input:focus {
  border-color: #ffcc00;
}

/* Read-Only Input State */
input[readonly] {
  background-color: #1a1a1a;
  color: #888888;
  border-color: #262626;
  cursor: not-allowed;
}

button[type="submit"] {
  margin-top: 10px;
  padding: 12px;
  background-color: #ffcc00;
  color: #000000;
  border: none;
  border-radius: 6px;
  font-weight: bold;
  font-size: 15px;
  cursor: pointer;
}

button[type="submit"]:hover {
  background-color: #e6b800;
}

.auth-toggle {
  text-align: center;
  margin-top: 20px;
  font-size: 14px;
  color: #aaaaaa;
}

.auth-toggle a {
  color: #ffcc00;
  text-decoration: none;
  font-weight: bold;
  margin-left: 4px;
  cursor: pointer;
}

.auth-toggle a:hover {
  text-decoration: underline;
}

.back-home {
  text-align: center;
  margin-top: 25px;
  padding-top: 15px;
  border-top: 1px solid #2a2a2a;
}

.back-home a {
  color: #888888;
  text-decoration: none;
  font-size: 13px;
}

.back-home a:hover {
  color: #ffffff;
}

/* Dashboard Avatar Styling */
.avatar-upload-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 20px;
}

.avatar-preview {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  border: 3px solid #ffcc00;
  overflow: hidden;
  background-color: #2a2a2a;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.avatar-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.upload-btn {
  background-color: #2a2a2a;
  color: #ffcc00;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: bold;
  border: 1px solid #ffcc00;
  cursor: pointer;
  transition: all 0.2s ease;
}

.upload-btn:hover {
  background-color: #ffcc00;
  color: #000000;
}

/* Profile Action Row & Buttons */
.profile-actions-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 15px;
}

.btn-yellow-orders, 
a.btn-yellow-orders,
a.btn-yellow-orders:visited {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  padding: 12px;
  background-color: transparent;
  color: #ffcc00 !important;
  border: 1px solid #ffcc00;
  text-align: center;
  font-weight: bold;
  text-decoration: none !important;
  border-radius: 6px;
  font-size: 14px;
  transition: all 0.2s ease;
}

.btn-yellow-orders:hover {
  background-color: rgba(255, 204, 0, 0.15);
  color: #ffcc00 !important;
}

.save-btn {
  flex: 1;
  padding: 12px;
  background-color: #ffcc00;
  color: #000000;
  border: none;
  border-radius: 6px;
  font-weight: bold;
  font-size: 14px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.save-btn:hover {
  background-color: #e6b800;
}

/* Dashboard Action Bar (Footer Links) */
.dash-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 25px;
  padding-top: 15px;
  border-top: 1px solid #2a2a2a;
}

.home-link,
.home-link:visited {
  color: #ffcc00 !important;
  text-decoration: none;
  font-size: 13px;
  font-weight: bold;
}

.home-link:hover {
  text-decoration: underline;
}

.logout-link {
  background: none;
  border: none;
  color: #ff4444;
  font-size: 13px;
  cursor: pointer;
  font-weight: bold;
}

.logout-link:hover {
  text-decoration: underline;
}

/* Feedback Messages & Form Loading States */
.auth-error {
  background-color: rgba(255, 68, 68, 0.15);
  color: #ff4444;
  border: 1px solid #ff4444;
  padding: 10px 14px;
  border-radius: 6px;
  font-size: 13px;
  margin-bottom: 15px;
  text-align: center;
}

.auth-success {
  background-color: rgba(0, 200, 81, 0.15);
  color: #00c851;
  border: 1px solid #00c851;
  padding: 10px 14px;
  border-radius: 6px;
  font-size: 13px;
  margin-bottom: 15px;
  text-align: center;
}

button[type="submit"]:disabled {
  background-color: #555555;
  color: #888888;
  cursor: not-allowed;
  opacity: 0.6;
}

.netlify-drawer { 
  display: none !important; 
}