@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');


* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
  background: #caf0f8;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.container {
  display: flex;
  flex-direction: row;
  width: 100%;
  max-width: 1100px;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.image-box {
  flex: 1;
  background: url('./assets/doctor\ png.png') center center/cover no-repeat;
  position: relative;
  min-height: 300px;
}


.login-box {
  flex: 1;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.logo-bar {
  display: flex;
  align-items: center;
  margin-bottom: 40px;
}

.logo {
  width: 28px;
  margin-right: 8px;
}

.brand-name {
  font-size: 20px;
  font-weight: bold;
  color: #333;
}

.form-section h2 {
  font-size: 24px;
  margin-bottom: 10px;
}

.form-section p {
  font-size: 14px;
  color: #666;
  margin-bottom: 20px;
}

.social-buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.social-buttons button {
  padding: 10px;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 14px;
  cursor: pointer;
  background: linear-gradient(to right,#03045e,#0077b6 );
  color: #fff;
  transition: all 0.2s;
}


.social-buttons button:hover {
    background: #0077b6;
  transform: scale(1.02);
}

.divider {
  text-align: center;
  margin: 20px 0;
  font-size: 13px;
  color: #aaa;
}

input {
  width: 100%;
  padding: 12px;
  margin-bottom: 15px;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 15px;
}

.forgot-link {
  text-align: right;
  margin-bottom: 20px;
}

.forgot-link a {
  font-size: 13px;
  color: #03045e;
  text-decoration: none;
}

.login-btn {
  width: 100%;
  padding: 12px;
  background: linear-gradient(to right,#03045e,#0077b6);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.login-btn:hover {
  background: #0077b6;
  transform: scale(1.02);
}

.login-btn.submitting {
  background: #4caf50 !important; 
  pointer-events: none;
  opacity: 0.8;
}

.register {
  margin-top: 20px;
  font-size: 14px;
  text-align: center;
}

.register a {
  color: #03045e;
  text-decoration: none;
}

@media (max-width: 768px) {
  .container {
    flex-direction: column;
  }

  .image-box {
    
    width: 100%;
    height: 250px;
    position: relative;
  }

  .caption {
    margin: 16px;
    font-size: 14px;
  }
}


