/* /login.css */

.login-hero {
  min-height: calc(100vh - 180px);
  display: flex;
  align-items: center;
  justify-content: center;    
  background: linear-gradient(90deg, #ff6fb7, #FFDD59);
  padding: 60px 20px;
}

.login-container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
}

.login-card {
  position: relative;
  display: flex;
  gap: 30px;
  background: url("../img/login_bg.png") no-repeat center center;
  background-size: cover;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.12);
  align-items: stretch;
}

.login-left {
  flex: 1 1 50%;
  min-height: 420px;
  display:flex;
  align-items:center;
  justify-content:center;
  padding: 36px;
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0));
}

.login-left img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  object-fit: contain;
}

.login-right {
  flex: 1 1 50%;
  padding: 48px 40px;
  color: #fff;
  display:flex;
  flex-direction:column;
  justify-content:center;
}

.login-right h2 {
    font-size: 30px;
    margin: 0 0 24px;
    color: #fff;
    font-weight: 500;
    text-align: center;
}

.login-form label {
    display: block;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 12px;
    font-weight: 600;
    letter-spacing: 0.7px;
}

.login-form input[type="text"],
.login-form input[type="password"] {
    width: 90%;
    padding: 10px 0px;
    border: none;
    font-size:18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    background: transparent;
    color: #fff;
    margin-top: 6px;
    margin-bottom: 18px;
    outline: none;    
  font-family: 'Montserrat', sans-serif;
  letter-spacing: 0.7px;
}

.captcha-img {
  width:120px; height:46px; object-fit:cover; border-radius:8px;
  border:4px solid rgba(255,255,255,0.9); box-shadow:0 6px 16px rgba(0,0,0,0.12);
  transition: opacity .28s ease, transform .12s ease;
  cursor: pointer;
  display:block;
}

.captcha-img {
  width:120px; height:46px;
  border-radius:8px;
  border:4px solid rgba(255,255,255,0.9);
  box-shadow:0 6px 16px rgba(0,0,0,0.12);
  cursor:pointer;
  transition:opacity .25s ease;
}
.captcha-img.fading { opacity:.25; }

.captcha-refresh-icon {
  width:36px; height:36px;
  cursor:pointer;
}


/* submit button */
.login-submit {
    width: 410px;
    font-size: 18px;
    margin-top: 14px;
    letter-spacing: 0.7px;
    padding: 12px 20px;
    border-radius: 8px;
    border: none;
    background: #ffffff;
    color: #DF6DB2;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    cursor: pointer;
}


.login-form input::placeholder {
  font-family: 'Montserrat', sans-serif;
  color: rgba(255,255,255,0.7); 
  font-size: 15px;  
  color: #fff;             
  letter-spacing: 0.5px;      
}

.field-label {
  display:block;
  font-size:14px;
  color:rgba(255,255,255,0.95);
  margin-bottom:8px;
}

.captcha-row {
    display: flex;
    align-items: center;
    gap: 14px;
    width: 82%;
}

.captcha-input {
  flex: 1 1 320px;
  padding:10px 12px;
  border: none;
  border-bottom: 1px solid rgba(255,255,255,0.28);
  background: transparent;
  color: #fff;
  outline: none;
  font-size:14px;
}

.captcha-wrap {
  display:flex;
  align-items:center;
  gap:10px;
}

.captcha-img {
  max-width: 120px;
  height: 46px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.14);
  border: 4px solid rgba(255,255,255,0.85); 
  background-color: #fff;
  transition: opacity .25s ease, transform .18s ease;
  cursor: pointer;
  display: block;
}

.captcha-img:active { transform: scale(.99); }

.captcha-refresh{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:36px;
  height:36px;
  border-radius:50%;
  background: #fff;
  border: none;
  cursor: pointer;
  padding:6px;
}

.captcha-refresh svg path { stroke: #333; }

.captcha-img.fade-out { opacity: 0.18; }
.captcha-img.fade-in  { opacity: 1; transition: opacity .28s ease; }

@media (max-width:700px){
  .captcha-row { gap:10px; }
  .captcha-img { width:100px; height:40px; }
  .captcha-refresh { width:32px; height:32px; }
}

 
@media (max-width: 900px) {
  .login-card { flex-direction: column; }
  .login-left, .login-right { flex: unset; width:100%; padding: 24px; min-height: auto; }
  .login-right { padding: 28px; }
  .login-submit { width: 100%; }
}


