/* Modern Login Page Styles */
:root {
  --primary-color: #0099ff; /* Blue from the Erad Miles logo */
  --secondary-color: #f5f5f5;
  --text-color: #333;
  --shadow-color: rgba(0, 153, 255, 0.2);
  --gradient-start: #0099ff;
  --gradient-end: #0066cc;
}

* {
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f5f5f5;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  padding: 0;
  margin: 0;
  position: relative;
  overflow: hidden;
}

/* Animated background elements - simplified to match design */
.bg-shape {
  position: absolute;
  background: rgba(173, 216, 230, 0.4);
  border-radius: 50%;
  z-index: -1;
}

.bg-shape-1 {
  width: 600px;
  height: 600px;
  top: -300px;
  left: -300px;
}

.bg-shape-2 {
  width: 500px;
  height: 500px;
  bottom: -250px;
  right: -250px;
}

.bg-shape-3 {
  width: 400px;
  height: 400px;
  bottom: 50px;
  left: 10%;
}

.login-container {
  width: 100%;
  max-width: 450px;
  background: white;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  padding: 40px;
  text-align: center;
  position: relative;
  z-index: 1;
  box-sizing: border-box;
}

.logo {
  width: auto;
  height: 120px;
  margin-bottom: 30px;
}

.login-title {
  font-size: 24px;
  font-weight: 600;
  color: var(--text-color);
  margin-bottom: 10px;
}

.login-subtitle {
  font-size: 16px;
  color: #666;
  margin-bottom: 30px;
}

.form-group {
  margin-bottom: 20px;
  position: relative;
  width: 100%;
  box-sizing: border-box;
}

.form-control {
  width: 100%;
  padding: 15px 20px;
  font-size: 16px;
  border: 1px solid #eaeaea;
  border-radius: 10px;
  background: #f9f9f9;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

.form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px var(--shadow-color);
  background: white;
  outline: none;
}

.form-label {
  position: absolute;
  left: 20px;
  top: 15px;
  color: #888;
  font-size: 16px;
  transition: all 0.3s ease;
  pointer-events: none;
}

.form-control:focus + .form-label,
.form-control:not(:placeholder-shown) + .form-label {
  top: -10px;
  left: 10px;
  font-size: 12px;
  background: white;
  padding: 0 5px;
  color: var(--primary-color);
}

.btn-login {
  width: 100%;
  padding: 15px;
  border: none;
  border-radius: 10px;
  background: var(--primary-color);
  color: white;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-login i {
  margin-left: 8px;
}

.btn-login:hover {
  background: #0088ee;
}

.alert-error {
  background-color: #fee2e2;
  border-left: 4px solid #ef4444;
  color: #b91c1c;
  padding: 12px 15px;
  border-radius: 8px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  font-size: 14px;
}

.alert-error i {
  margin-right: 10px;
  font-size: 18px;
}

/* Footer text */
.footer-text {
  margin-top: 30px;
  color: #888;
  font-size: 14px;
}

/* Make sure d-none class works without bootstrap */
.d-none {
  display: none !important;
}

/* Responsive adjustments */
@media (max-width: 480px) {
  .login-container {
    padding: 30px 20px;
    max-width: 90%;
    width: 90%;
  }
  
  .logo {
    height: 35px;
  }
} 