/* assets/css/signin.css */
body {
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', sans-serif;
  background: #e8f0fe;
}

.login-container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

.login-box {
  background: #fff;
  padding: 30px 25px;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 400px;
  text-align: center;
}

.logo {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 15px;
  font-weight: bold;
  color: #444;
  gap: 10px;
}

.logo img {
  width: 50px;
  height: 40px;
  object-fit: contain;
}

h2 {
  font-size: 20px;
  margin-bottom: 20px;
  color: #333;
}

form input {
  width: 100%;
  padding: 12px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 15px;
  box-sizing: border-box;
}

.password-field {
  position: relative;
}

.toggle-password {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  color: #666;
}

.login-btn {
  width: 100%;
  padding: 12px;
  background: #007bff;
  color: white;
  font-weight: bold;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 16px;
  transition: background 0.3s ease;
}

.login-btn:hover {
  background: #0056b3;
}

.form-toggle {
  margin-top: 10px;
  font-size: 14px;
}

.form-toggle a {
  color: #007bff;
  text-decoration: none;
}

.form-toggle a:hover {
  text-decoration: underline;
}

.success-msg {
  background: #d4edda;
  color: #155724;
  padding: 10px 15px;
  border: 1px solid #c3e6cb;
  border-radius: 6px;
  margin-bottom: 15px;
  font-size: 14px;
}
.forgot-password {
  text-align: right;
  margin-top: -10px;
  margin-bottom: 12px;
}

.forgot-password a {
  font-size: 14px;
  color: #007bff;
  text-decoration: none;
}

.forgot-password a:hover {
  text-decoration: underline;
}
.error-msg {
  background: #f8d7da;
  color: #721c24;
  padding: 10px 15px;
  border: 1px solid #f5c6cb;
  border-radius: 6px;
  margin-bottom: 15px;
  font-size: 14px;
}

/* 🌍 Auto-detected Country Dropdown Styling */
select[name="country"]:disabled {
  width: 100%;
  padding: 12px;
  margin: 8px 0 15px 0;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 15px;
  box-sizing: border-box;
  background: #f8f9fa;
  color: #666;
  cursor: not-allowed;
  opacity: 0.8;
}