/* SF Pro Text Font Import */
@font-face {
  font-family: "SF Pro Text";
  src: url("/css/template-v2/wecheckin/assets/fonts/SF-Pro-Text-Regular.otf") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "SF Pro Text";
  src: url("/css/template-v2/wecheckin/assets/fonts/SF-Pro-Text-Medium.otf") format("woff");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "SF Pro Text";
  src: url("/css/template-v2/wecheckin/assets/fonts/SF-Pro-Text-Semibold.otf") format("woff");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "SF Pro Text";
  src: url("/css/template-v2/wecheckin/assets/fonts/SF-Pro-Text-Bold.otf") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: #f1f1f4;
  font-family: "SF Pro Text", sans-serif;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Login Container */
.login-container {
  width: 1190px;
  height: 740px;
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  border: 1px solid #ebebeb;
}

.login-image {
  width: 740px;
  height: 740px;
  padding: 0;
  flex-shrink: 0;
}

.login-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-top-left-radius: 12px;
  border-bottom-left-radius: 12px;
}

.form-section {
  flex: 1;
  padding: 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #ffffff;
  gap: 16px;
}

/* Login Header */
.login-header {
  display: flex;
  flex-direction: column;
  text-align: center;
  gap: 16px;
}

.logo-container {
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-img {
  height: 36px;
  width: auto;
}

.login-title {
  text-align: center;
  font-weight: 600;
  font-size: 20px;
  line-height: 28px;
  color: #161616;
}

.login-subtitle {
  font-size: 14px;
  line-height: 20px;
  color: #969AA1;
  font-weight: 400;
  font-family: "SF Pro Text", sans-serif;
  padding: 0 32px;
}

.forgot-password-subtitle {
  font-size: 16px;
  line-height: 24px;
  color: #969AA1;
  font-weight: 400;
  font-family: "SF Pro Text", sans-serif;
}

.login-subtitle strong {
  display: block;
}

/* Login Content */
.login-content {
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Profile Section */
.profile-section {

}

.profile-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.profile-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  background: none;
  border: none;
  cursor: pointer;
  border-radius: 8px;
  transition: all 0.15s ease-in-out;
}

.profile-btn:hover {
  transform: translateY(-1px);
}

.profile-circle-container {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 2px solid #EBEBEB;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.profile-circle {
  border: none;
  width: 70px;
  height: 70px;
  background-color: #007aff;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  line-height: 20px;
  font-weight: 600;
  font-family: "SF Pro Text", sans-serif;
}

.profile-name {
  font-size: 14px;
  line-height: 20px;
  color: #161616;
  font-weight: 500;
  font-family: "SF Pro Text", sans-serif;
}

/* Divider */
.divider {
  position: relative;
  text-align: center;
}

.divider::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: #EBEBEB;
  z-index: 0;
}

.divider-text {
  position: relative;
  display: inline-block;
  background-color: #fff;
  padding: 0 12px;
  z-index: 1;
  font-size: 0.875rem;
  color: #EBEBEB;
}

/* Login Form */
.login-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.form-label {
  display: block;
  font-size: 14px;
  line-height: 20px;
  color: #161616;
  font-weight: 400;
}

.form-input {
  width: 100%;
  padding: 8px 12px;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.4;
  color: #161616;
  background-color: #ffffff;
  border: 1px solid #d9d9d9;
  border-radius: 8px;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.form-input:focus {
  color: #161616;
  background-color: #ffffff;
  border-color: #007aff;
  outline: 0;
  box-shadow: 0 0 0 2px rgba(0, 122, 255, 0.1);
}

.form-input::placeholder {
  color: #b5b5b5;
}

.input-group {
  position: relative;
  display: flex;
  align-items: stretch;
  width: 100%;
}

.input-group .form-input {
  position: relative;
  flex: 1 1 auto;
  width: 1%;
  min-width: 0;
}

.input-group-text {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.4;
  color: #b5b5b5;
  text-align: center;
  white-space: nowrap;
  background-color: #ffffff;
  border: 1px solid #d9d9d9;
  border-left: 0;
  border-radius: 0 6px 6px 0;
  cursor: pointer;
  transition: color 0.15s ease-in-out;
}

.input-group-text img {
  width: 18px;
  height: 18px;
}

.input-group-text:hover {
  color: #161616;
}

.form-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.form-check {
  display: flex;
  align-items: center;
  gap: 8px;
}

.form-check-input {
  width: 16px;
  height: 16px;
  background-color: #ffffff;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  border: 1px solid #161616;
  border-radius: 2px;
  appearance: none;
  cursor: pointer;
}

.form-check-input:checked {
  background-color: #007aff;
  border-color: #161616;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='m6 10 3 3 6-6'/%3e%3c/svg%3e");
}

.form-check-label {
  color: #161616;
  cursor: pointer;
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
}

.forgot-password {
  color: #161616;
  text-decoration: none;
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
}

.forgot-password:hover {
  text-decoration: underline;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #161616;
  text-align: center;
  text-decoration: none;
  vertical-align: middle;
  cursor: pointer;
  user-select: none;
  background-color: transparent;
  border: 1px solid transparent;
  padding: 8px 20px;
  font-size: 16px;
  line-height: 24px;
  font-weight: 500;
  border-radius: 8px;
  font-family: "SF Pro Text", sans-serif;
}

.btn-primary {
  color: #ffffff;
  background-color: #007aff;
  border-color: #007aff;
  font-weight: 400;
  border: none;
}

.btn-full {
  width: 100%;
}

.signup-text {
  text-align: center;
  font-size: 16px;
  line-height: 24px;
  margin: 0;
  color: #161616;
  font-weight: 400;
}

.signup-link {
  color: #007aff;
  text-decoration: underline;
  font-weight: 500;
  font-size: 16px;
  line-height: 24px !important;
}

.signup-link:hover {
  text-decoration: underline;
}

/* Responsive Design */
@media (min-width: 1280px) and (max-width: 1535px) {
  .login-container {
    width: 1200px;
    height: 760px;
    display: flex;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #ebebeb;
  }

  .login-image {
    width: 750px; /* ~62.5% của 1200px */
    height: 760px;
    flex-shrink: 0;
  }

  .form-section {
    width: 450px;
    padding: 48px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .login-title {
    font-size: 22px;
    line-height: 30px;
  }

  .profile-circle {
    width: 74px;
    height: 74px;
    font-size: 16px;
  }

  .form-input,
  .btn {
    font-size: 16px;
  }
}

@media (min-width: 1024px) and (max-width: 1279px) {
  .login-container {
    width: 1000px;
    height: 720px;
    display: flex;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #ebebeb;
  }

  .login-image {
    width: 625px; /* ~62.5% của 1000px */
    height: 720px;
    flex-shrink: 0;
  }

  .form-section {
    width: 375px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .login-title {
    font-size: 20px;
    line-height: 28px;
  }

  .profile-circle {
    width: 68px;
    height: 68px;
    font-size: 15px;
  }

  .form-input,
  .btn {
    font-size: 15px;
  }
}

@media (max-width: 768px) {
  .login-container {
    width: 95%;
    height: auto;
    flex-direction: column;
    border-radius: 12px;
  }

  .login-image {
    width: 100%;
    height: 250px;
  }

  .login-img {
    border-radius: 12px 12px 0 0;
  }

  .form-section {
    padding: 32px 24px;
  }

  .login-content {
    width: 100%;
    max-width: 300px;
  }
}

@media (max-width: 480px) {
  .form-section {
    padding: 24px 20px;
  }

  .login-title {
    font-size: 18px;
  }
}

.form-select{
  padding: 8px 12px;
  border: 1px solid #d9d9d9;
  border-radius: 8px;
  font-size: 14px;
  line-height: 20px;
  font-weight: 400;
  color: #1b1b1b;
  transition: border-color 0.2s;
  width: 100%;
  background-position: right 12px center;
}

.form-select option {
  color: #1b1b1b;
}

.select-wrapper {
  position: relative;
  width: 100%;
  height: 40px;
}

.select-wrapper .form-select {
  appearance: none;
  cursor: pointer;
  color: #161616;
  background-color: transparent;
  background-image: url(/assets/icons/Chevron-Down.svg) !important;
  background-size: 16px;
  filter: none;
  background-repeat: no-repeat;
}

.select-width {
  width: 167px;
}

.verifycation-container {
  width: 1200px;
  display: flex;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #ebebeb;
}

.login-img {
  width: 100%;
  height: 960px;
  object-fit: cover;
}
