/* AdAlcance - Login Page Styles */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  background: #f0f2f5;
  color: #2d3748;
  min-height: 100vh;
}

/* =============================================================================
   LOGIN PAGE
   ============================================================================= */

.login-page {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  background: #f0f2f5;
}

.login-container {
  background: white;
  padding: 50px 40px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  width: 100%;
  max-width: 420px;
}

.logo-section {
  text-align: center;
  margin-bottom: 40px;
}

.logo-section img {
  width: 180px;
  height: auto;
  margin-bottom: 15px;
}

.logo-section h1 {
  font-size: 28px;
  color: #2d3748;
  margin-bottom: 8px;
  display: none;
}

.logo-section p {
  color: #718096;
  font-size: 15px;
}

.alert {
  padding: 12px;
  border-radius: 8px;
  margin-bottom: 20px;
  display: none;
}

.alert.success {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.alert.error {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: #2d3748;
  font-size: 14px;
}

.input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.input-wrapper i {
  position: absolute;
  left: 14px;
  color: #a0aec0;
  font-size: 16px;
}

.input-wrapper .eye-icon {
  position: absolute;
  right: 14px;
  left: auto;
  cursor: pointer;
  color: #a0aec0;
}

.input-wrapper .eye-icon:hover {
  color: #4a5568;
}

.input-wrapper input {
  width: 100%;
  padding: 12px 40px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  font-size: 15px;
  transition: border-color 0.3s;
  background: #f7fafc;
}

.input-wrapper input:focus {
  outline: none;
  border-color: #0d9488;
  background: white;
}

.btn {
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-primary {
  background: #0d9488;
  color: white;
  width: 100%;
}

.btn-primary:hover {
  background: #0f766e;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(13, 148, 136, 0.3);
}

.btn-primary:disabled {
  background: #cbd5e0;
  cursor: not-allowed;
  transform: none;
}

/* Responsive */
@media (max-width: 768px) {
  .login-container {
    padding: 30px 25px;
  }
}