/* assets/css/style.css - Custom Styles for OTP Auth System */

:root {
  --primary: #4e73df;
  --primary-dark: #2e59d9;
  --secondary: #858796;
  --success: #1cc88a;
  --info: #36b9cc;
  --warning: #f6c23e;
  --danger: #e74a3b;
  --light: #f8f9fc;
  --dark: #5a5c69;
  --gray-100: #f8f9fa;
  --gray-200: #e9ecef;
  --gray-600: #6c757d;
}

/* Base Styles */
body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  background-color: var(--light);
  color: #212529;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Auth Pages Layout */
.auth-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  background: linear-gradient(135deg, #f5f7ff 0%, #e2e6f5 100%);
  padding: 2rem;
}

.auth-card {
  width: 100%;
  max-width: 450px;
  border: none;
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.1);
}

.auth-header {
  background: var(--primary);
  color: white;
  padding: 1.5rem;
  text-align: center;
}

.auth-header h2 {
  margin-bottom: 0;
  font-weight: 600;
}

.auth-body {
  padding: 2rem;
  background: white;
}

/* Form Elements */
.auth-form .form-control {
  padding: 0.75rem 1rem;
  border: 1px solid #d1d3e2;
  border-radius: 0.35rem;
  transition: all 0.3s;
}

.auth-form .form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 0.2rem rgba(78, 115, 223, 0.25);
}

.auth-form label {
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 0.5rem;
}

/* Buttons */
.btn-auth {
  padding: 0.75rem;
  border-radius: 0.35rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: all 0.3s;
}

.btn-primary {
  background-color: var(--primary);
  border-color: var(--primary);
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
}

/* OTP Specific Styles */
.otp-container {
  text-align: center;
}

.otp-input {
  letter-spacing: 0.5rem;
  font-size: 1.5rem;
  text-align: center;
  padding: 0.5rem 0.5rem 0.5rem 1rem;
}

/* Dashboard Styles */
.dashboard-navbar {
  box-shadow: 0 0.15rem 1.75rem 0 rgba(58, 59, 69, 0.15);
}

.profile-img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border: 5px solid white;
  box-shadow: 0 0.15rem 1.75rem 0 rgba(58, 59, 69, 0.15);
}

.user-info-card {
  border-radius: 0.5rem;
  border: none;
  box-shadow: 0 0.15rem 1.75rem 0 rgba(58, 59, 69, 0.1);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .auth-body {
    padding: 1.5rem;
  }
  
  .auth-header {
    padding: 1rem;
  }
  
  .profile-img {
    width: 80px;
    height: 80px;
  }
}

/* Utility Classes */
.link-primary {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.3s;
}

.link-primary:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

.text-small {
  font-size: 0.875rem;
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-fade {
  animation: fadeIn 0.5s ease-out;
}