/* ==================================================
   AUTHENTICATION STYLES - VELIXODRIVE
   Optimized and commented version of auth.css
   ================================================== */

/* RESET MARGINS & SET BACKGROUND */
html,
body {
  margin: 0;
  padding: 0;
  background-color: #0B66FF;
  overflow-x: hidden;
  overflow-y: auto;
}

/* BODY LAYOUT */
body {
  font-family: 'Satoshi', sans-serif;
  background: linear-gradient(to bottom right, #0B66FF, #00A6FB);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  margin: 0;
}

/* MAIN CONTAINER */
.container {
  width: 100%;
  max-width: 420px;
  background: #fff;
  border-radius: 1rem;
  margin: 3rem;
  padding: 2rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
  text-align: center;
}

/* LOGO */
.auth-box img.logo {
  width: 75px;
}

/* TITLE & SUBTITLE */
.auth-box h1 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.auth-box .subtitle {
  font-size: 0.9rem;
  color: #555;
  margin-bottom: 1.5rem;
}

/* FORM STYLES */
.form {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  text-align: left;
}

.form label {
  font-size: 0.85rem;
  color: #333;
  margin-bottom: 0.25rem;
}

.form input[type="text"],
.form input[type="email"],
.form input[type="password"] {
  padding: 0.75rem;
  font-size: 1rem;
  border: 1px solid #ddd;
  border-radius: 0.5rem;
  width: 100%;
  box-sizing: border-box;
}

/* ERROR MESSAGES */
.error-msg {
  color: #d00000;
  font-size: 0.85rem;
  margin-top: 0.25rem;
  margin-bottom: 0.25rem;
}

/* PRIMARY BUTTON */
.btn-primary {
  background: #0B66FF;
  color: white;
  border: none;
  border-radius: 0.5rem;
  padding: 0.75rem;
  font-size: 1rem;
  cursor: pointer;
  transition: box-shadow 0.2s ease;
  margin-top: 1rem;
}

.btn-primary:hover {
  box-shadow: 0 0 0 4px rgba(11, 102, 255, 0.2);
}

/* DIVIDER */
.divider {
  text-align: center;
  margin: 1rem 0;
  color: #aaa;
}

/* SOCIAL LOGIN */
.social-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: -0.5rem;
}

.btn-social {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-social:hover {
  transform: scale(1.2);
  box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.05);
}

.btn-social img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.icon-google {
  transform: scale(1.5);
}

.icon-apple {
  transform: scale(2);
}

/* FOOTER TEXT */
.bottom-text {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: #444;
  text-align: center;
}

.bottom-text a {
  color: #0B66FF;
  text-decoration: none;
}

/* FORGOT PASSWORD LINK */
.auth-options {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 1rem;
}

.forgot-password-link {
  font-size: 0.875rem;
  color: #0B66FF;
  text-decoration: none;
  transition: color 0.2s ease;
}

.forgot-password-link:hover {
  text-decoration: underline;
  color: #084ec0;
}

/* LINK STYLES */
.link-text {
  color: #0B66FF;
  text-decoration: none;
  font-weight: 500;
}

.link-text:hover {
  text-decoration: underline;
}

/* CHECKBOX ALIGNMENT */
.form input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin: 0;
  margin-right: 0.5rem;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  margin-top: 1rem;
  font-size: 0.85rem;
  color: #333;
}

/* PASSWORD TOGGLE */
.password-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.password-wrapper input {
  flex: 1;
}

.toggle-password {
  position: absolute;
  right: 12px;
  background: transparent;
  border: none;
  cursor: pointer;
  font-size: 1.2rem;
  color: #666;
  padding: 0;
}