.cl-wrap {
  min-height: 100vh;
  padding-top: 90px;
  display: flex;
  align-items: stretch;
  background: #f0f0f0;
}

/* Cột trái - hình ảnh */
.cl-image {
  flex: 1;
  min-height: 400px;
  display: flex;
}
.cl-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* Cột phải - form */
.cl-form-col {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 32px;
  background: #f0f0f0;
}

.cl-box {
  width: 100%;
  max-width: 400px;
}

.cl-box h1 {
  font-size: 32px;
  font-weight: 800;
  color: #111;
  margin: 0 0 8px;
  text-align: center;
}

.cl-alert {
  background: #fdecea;
  color: #c0392b;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 14px;
  margin-bottom: 20px;
}

.cl-label {
  display: block;
  font-size: 14px;
  color: #333;
  margin-bottom: 6px;
  margin-top: 16px;
}

.cl-field {
  position: relative;
}

.cl-field input {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid #ddd;
  border-radius: 10px;
  font-size: 15px;
  outline: none;
  box-sizing: border-box;
  background: #fff;
  transition: border-color 0.2s;
}

.cl-field input:focus {
  border-color: #00c9c8;
}

.cl-field input.is-invalid {
  border-color: #e74c3c;
}

.cl-field .toggle-pw {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  color: #aaa;
  background: none;
  border: none;
  padding: 0;
  font-size: 18px;
  line-height: 1;
}

.cl-field-error {
  font-size: 12px;
  color: #e74c3c;
  margin-top: 4px;
  display: none;
}

.cl-forgot {
  display: inline-block;
  margin-top: 8px;
  font-size: 13px;
  color: #555;
  text-decoration: underline;
}

.cl-btn {
  width: 100%;
  padding: 14px;
  background: #00c9c8;
  color: #fff;
  border: none;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  margin-top: 24px;
  transition:
    background 0.2s,
    transform 0.1s;
}

.cl-btn:hover {
  background: #00b0af;
}

.cl-btn:active {
  transform: scale(0.98);
}

.cl-register {
  text-align: center;
  margin-top: 20px;
  font-size: 15px;
  font-weight: 700;
}

.cl-register a {
  color: #111;
  text-decoration: underline;
}

/* Responsive: ẩn ảnh trên mobile */
@media (max-width: 768px) {
  .cl-wrap {
    flex-direction: column;
  }

  .cl-image {
    min-height: 220px;
    flex: none;
  }

  .cl-form-col {
    padding: 32px 20px;
  }

  .cl-box h1 {
    font-size: 26px;
  }
}
