:root {
  --primary-color: #6c5ce7;
  --primary-gradient: linear-gradient(135deg, #6c5ce7 0%, #a29bfe 100%);
  --secondary-color: #a29bfe;
  --dark-bg: #0f0f13;
  --card-bg: #1a1a23;
  --card-hover: #23232f;
  --text-primary: #ffffff;
  --text-secondary: #b2b2bf;
  --success-color: #00b894;
  --warning-color: #fdcb6e;
  --danger-color: #ff6b6b;
  --surface-color: #15151d;
  --border-radius: 12px;
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: var(--dark-bg);
  color: var(--text-primary);
  font-family: "Open Sans", sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
}

/* Auth Pages */
.auth-container {
  flex: 1;
  display: flex;
  align-items: center;
  background: linear-gradient(rgba(15, 15, 19, 0.9), rgba(15, 15, 19, 0.9)),
    url("https://images.unsplash.com/photo-1535016120720-40c646be5580?ixlib=rb-4.0.3&auto=format&fit=crop&w=1800&q=80");
  background-size: cover;
  background-position: center;
  padding: 40px 0;
}

.auth-card {
  background-color: var(--card-bg);
  border-radius: var(--border-radius);
  padding: 40px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.05);
  width: 100%;
  max-width: 450px;
  margin: 0 auto;
}

.auth-header {
  text-align: center;
  margin-bottom: 30px;
}

.auth-logo {
  font-size: 2.5rem;
  margin-bottom: 15px;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.auth-title {
  font-size: 1.8rem;
  margin-bottom: 10px;
}

.auth-subtitle {
  color: var(--text-secondary);
  font-size: 1rem;
}

/* Form Elements */
.form-group {
  margin-bottom: 20px;
}

.form-label {
  font-weight: 500;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.form-control {
  background-color: #2d2d3a;
  border: 1px solid #3d3d4d;
  color: var(--text-primary);
  border-radius: var(--border-radius);
  padding: 12px 20px;
  transition: var(--transition);
}

.form-control:focus {
  background-color: #2d2d3a;
  border-color: var(--primary-color);
  color: var(--text-primary);
  box-shadow: 0 0 0 0.25rem rgba(108, 92, 231, 0.25);
}

.input-group-text {
  background-color: #2d2d3a;
  border: 1px solid #3d3d4d;
  color: var(--text-secondary);
}

/* Buttons */
.btn {
  border-radius: 50px;
  padding: 12px 30px;
  font-weight: 600;
  transition: var(--transition);
  border: none;
}

.submit-btn-primary {
  background: var(--primary-gradient);
  width: 100%;
  padding: 12px;
  color: #fff;
}

.submit-btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(108, 92, 231, 0.3);
}

.btn-google {
  background: #fff;
  color: #757575;
  border: 1px solid #ddd;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 12px;
}

.btn-google:hover {
  background: #f5f5f5;
}

/* Divider */
.divider {
  display: flex;
  align-items: center;
  margin: 25px 0;
  color: var(--text-secondary);
}

.divider::before,
.divider::after {
  content: "";
  flex: 1;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.divider span {
  padding: 0 15px;
  font-size: 0.9rem;
}

/* Auth Footer */
.auth-footer {
  text-align: center;
  margin-top: 25px;
  color: var(--text-secondary);
}

.auth-footer a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
}

.auth-footer a:hover {
  color: var(--secondary-color);
}

/* Tabs */
.auth-tabs {
  display: flex;
  margin-bottom: 25px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.auth-tab {
  flex: 1;
  text-align: center;
  padding: 12px;
  cursor: pointer;
  color: var(--text-secondary);
  transition: var(--transition);
  border-bottom: 2px solid transparent;
}

.auth-tab.active {
  color: var(--primary-color);
  border-bottom: 2px solid var(--primary-color);
}

.auth-tab:hover {
  color: var(--text-primary);
}





/* Mobile Responsiveness */
@media (max-width: 768px) {
  .auth-card {
    padding: 25px;

  }

  .auth-title {
    font-size: 1.5rem;
  }

  .navbar-collapse {
    background: var(--dark-bg);
    padding: 20px;
    border-radius: var(--border-radius);
    margin-top: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  }
}

/* Animation Classes */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Custom Checkbox */
.form-check-input {
  background-color: #2d2d3a;
  border: 1px solid #3d3d4d;
}

.form-check-input:checked {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.form-check-input:focus {
  box-shadow: 0 0 0 0.25rem rgba(108, 92, 231, 0.25);
}

.form-check-label {
  color: var(--text-secondary);
}
