:root {
  --main-teal: #4BA3DB;
  --bg-white: #ffffff;
  --text-gray: #757575;
  --light-text: rgba(255, 255, 255, 0.9); 
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  width: 100%;
}

.app {
  width: 100%;
  height: 100%;
  background-color: var(--bg-white);
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.top-brand {
  flex: 0 0 20%; 
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0;
  overflow: visible;
}

.brand-logo {
  height: 140%; 
  width: auto;
  max-width: 95%; 
  object-fit: contain;
  transform: scale(1.1); 
}

.login-card {
  flex: 1;
  background-color: var(--main-teal);
  border-radius: 40px 40px 0 0;
  padding: 25px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between; 
  overflow: hidden;
}

.form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 10px;
}

.form-input {
  width: 100%;
  padding: 12px 15px;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,0.1);
  font-size: 0.9rem;
  text-align: right;
  background-color: var(--bg-white);
}

.forgot-link {
  color: var(--bg-white);
  text-decoration: none;
  font-size: 0.8rem;
  align-self: flex-start;
  margin-bottom: 5px;
}

.btn-login {
  background-color: var(--bg-white);
  color: var(--main-teal);
  border: none;
  padding: 14px;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
}

.separator {
  text-align: center;
  margin: 10px 0;
  font-size: 0.8rem;
  color: var(--light-text);
  position: relative;
}

.separator::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.3);
  top: 50%;
  left: 0;
  z-index: 1;
}

.separator span {
  background: var(--main-teal);
  padding: 0 10px;
  position: relative;
  z-index: 2;
}

.btn-google , .btn-facebook{
  width: 100%;
  background: transparent;
  border: 1px solid var(--bg-white);
  color: var(--bg-white);
  padding: 10px;
  border-radius: 25px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  cursor: pointer;
}

.footer-area {
  margin-top: auto;
  padding-top: 15px;
}

.terms {
  font-size: 0.65rem;
  color: var(--light-text);
  text-align: center;
  line-height: 1.4;
  margin-bottom: 10px;
}

.signup-text {
  text-align: center;
  font-size: 0.85rem;
  color: var(--bg-white);
}

.signup-text a {
  color: var(--bg-white);
  font-weight: bold;
  text-decoration: underline;
}

.input-group {
  position: relative;
  display: flex;
  align-items: center;
}

.eye-btn {
  position: absolute;
  left: 15px;
  background: none;
  border: none;
  color: #929292;
  cursor: pointer;
  padding: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
}

.input-group .form-input {
  padding-left: 45px; 
}

.input-error {
  border: 1.5px solid #ff4d4d !important;
  animation: shake 0.25s ease-in-out 0s 2;
}

@keyframes shake {
  0% { transform: translateX(0); }
  25% { transform: translateX(5px); }
  50% { transform: translateX(-5px); }
  75% { transform: translateX(5px); }
  100% { transform: translateX(0); }
}