:root {
  --textColor: #161616;
  --textOffColor: #7c858d;
  --baseColor: #0076f6;
  --baseDarkColor: #004591;
  --baseLightColor: #449dff;
  --secColor: #11f7e2;
  --iconColor: #81858b;
  --errorColor: #d80000;
  --borderColor: #e6e6e6;
  --lightBorderColor: #f7f9fb;

  /* texts */

  --warningTextColor: #b54708;
  --errorTextColor: #b42318;
  --successTextColor: #027a48;
  --messageTextColor: #004eeb;
  --infoTextColor: #344054;

  /* backgrounds */

  --backGroundColor: #f3f3f3;
  --infoBackgroundColor: #e8e8e8;
  --errorBackgroundColor: #ffe4e4;
  --successBackgroundColor: #e9f9ea;
  --warningBackgroundColor: #fff5e6;
}

body {
  background: #f4f4f4 !important;
  height: 100%;
  font-family: Poppins;
  -webkit-font-smoothing: antialiased;
}

.rtl {
  direction: rtl;
}

.rtl .form-group label {
  text-align: right;
}
/* Header */
#kc-header-wrapper {
  background-image: url('../img/emploitic_logo.svg');
  background-repeat: no-repeat;
  margin: 0 auto;
  width: 170px;
  height: 40px;
  padding: 0;
}

#kc-header {
  margin: 0 auto;
}

@media (min-width: 1024px) {
  #kc-header {
    margin: 100px auto;
  }
}

/* Content */

#kc-content {
  margin-top: 0;
}

/* Login Card */

@media (max-width: 767px) {
  .login-pf-page {
    padding-top: 0;
  }
}

.login-pf-page .card-pf {
  border-radius: 10px;
  padding: 25px;
  max-width: 500px;
  margin: auto;
  box-shadow: 0px -2px 5px rgba(0, 0, 0, 0), 0px 1px 3px rgba(0, 0, 0, 0.08),
    0px 3px 10px rgba(0, 0, 0, 0.1);
  border: none;
}

/* Card Title */

.login-pf-page .login-pf-header {
  margin: 0;
}

#kc-page-title {
  text-align: left;
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0;
}

/* Login Form */

.form-group {
  position: relative;
  display: flex;
  flex-direction: column;
}

.form-horizontal .form-group {
  position: relative;
  margin-left: 0;
  margin-right: 0;
}

.form-group input {
  font-size: 16px;
  border-radius: 20px;
  border: 2px solid #e6e6e6;
  height: 52px;
  box-shadow: none;
  padding: 0px 16px;
  transition: border 0.1s ease-in-out;
}

.form-group input:hover {
  border-color: var(--baseLightColor);
}

.form-group input:active,
.form-group input:focus {
  border-color: var(--baseColor);
  box-shadow: none;
  padding-bottom: 0;
}

#kc-info-wrapper {
  padding: 0px;
}
/* Labels */

.form-group label {
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 0px;
}

/* Login Settings  */

.login-pf-settings a {
  color: var(--baseColor);
}

.login-pf-settings {
  margin: 0;
}

#kc-form-reset-psw {
  margin: 10px;
}
/* Reset Password Link */

#kc-form-reset-psw {
  display: flex;
  justify-content: center;
  margin-top: 16px;
}

.login-pf a {
  color: var(--baseColor);
  font-size: 14px;
  font-weight: 600;
  margin: 0 !important;
}

.login-pf a:hover,
.login-pf a:focus {
  color: var(--baseLightColor);
  outline: none;
}

.login-pf a:active {
  color: var(--baseDarkColor);
}

#kc-form-buttons {
  margin: 0px;
}

/* Login Button */

#kc-login,
.btn-primary,
.pf-c-button.pf-m-primary {
  border-radius: 50px;
  border: none;
  background: var(--baseColor);
  height: 48px;
  font-weight: 500;
}

#kc-login:hover,
.btn-primary:hover,
.pf-c-button.pf-m-primary:hover {
  background: var(--baseLightColor);
}

#kc-login:active,
.btn-primary:active,
.pf-c-button.pf-m-primary:active {
  background: var(--baseDarkColor);
  border: 2px solid transparent;
}

#kc-login:focus,
.btn-primary:focus,
.pf-c-button.pf-m-primary:focus {
  border-color: 2px solid var(--baseDarkColor);
}

#kc-locale {
  position: absolute;
  width: 200px;
  top: 20px;
  right: 20px;
  text-align: right;
  z-index: 9999;
}
.pf-c-button.pf-m-primary {
  margin-top: 24px;
}

.kc-feedback-text {
  font-size: 14px;
}

.alert {
  border: none;
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
}

.alert-error {
  background-color: var(--errorBackgroundColor);
  color: var(--errorTextColor);
}

.alert-info {
  background-color: var(--infoBackgroundColor);
  color: var(--infoTextColor);
}

.alert-success {
  background-color: var(--successBackgroundColor);
  color: var(--successTextColor);
}

.alert-warning {
  background-color: var(--warningBackgroundColor);
  color: var(--warningTextColor);
}

.alert-icon {
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  flex-shrink: 0;
  width: 24px;
  height: 24px;
}

#error-icon {
  background-image: url(../img/error.svg);
}

#success-icon {
  background-image: url(../img/success.svg);
}

#warning-icon {
  background-image: url(../img/warning.svg);
}

#info-icon {
  background-image: url(../img/info.svg);
}

#kc-registration {
  text-align: center;
  font-size: 14px;
  color: var(--textColor);
}

#kc-info {
  margin: 24px 0 0 0;
}

#kc-info-wrapper {
  margin: 0 0 10px;
  background-color: transparent;
}

.password-reveal {
  color: var(--iconColor);
  position: absolute;
  font-size: 24px !important;
  top: 38px;
  right: 16px;
  width: 24px;
  height: 24px;
}

.eye {
  background-image: url(../img/eye.svg);
  background-repeat: no-repeat;
  stroke: #004eeb !important;
}

.eye-slash {
  background-image: url(../img/eye-slash.svg);
  background-repeat: no-repeat;
}

#kc-register-form .user-info {
  display: flex;
  gap: 16px;
}

.user-info .form-group {
  flex-basis: 50%;
}

.hidden {
  display: none;
}

.description-text {
  margin-bottom: 12px;
  font-size: 14px;
  color: var(--textColor);
}

.form-group.error input {
  border-color: var(--errorColor);
}

.form-group.error label {
  color: var(--errorColor);
}

.form-group .error {
  color: var(--errorColor);
  font-size: 0.75rem;
  height: 1.66;
  font-weight: 400;
  text-align: left;
  margin-top: 3px;
  margin-right: 14px;
  margin-bottom: 0;
  margin-left: 14px;
}

.checkbox-container {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 10px;
  margin-top: 0px;
  font-weight: 500;
  font-size: 13px;
}

.checkbox-container input[type='checkbox'] {
  height: 15px;
  width: 15px;
  flex-shrink: 0;
  margin-top: 4px;
}

.checkbox-container a {
  font-size: 13px;
  text-decoration: underline;
  font-weight: 500;
}
.auth-section {
  margin-top: 15px;
  margin-bottom: 15px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.auth-button {
  border-radius: 10px;
  padding-top: 5px;
  padding-bottom: 5px;
  padding-right: 20px;
  padding-left: 20px;
  margin-top: 5px;
  margin-bottom: 5px;
  color: white;
}

.provider {
  padding: 5px 0;
  flex-grow: 1;
  border-radius: 5px;
  color: white;
  display: block;
  width: 100%;
}

#provider-list {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.provider a {
  text-decoration: none;
}

.provider a:hover {
  text-decoration: none !important;
}

.zocial {
  padding: 0 10px;
  border-radius: 20px;
  height: 50px;
  width: 100%;
  display: flex;
  justify-content: center;
  flex-direction: row;
  align-items: center;
  border: 2px solid var(--borderColor);
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  color: var(--textColor);
  transition: background-color 0.1s ease-in-out;
}

.zocial:hover {
  background-color: var(--lightBorderColor);
}

.social-logo {
  background-repeat: no-repeat;
  margin-inline-end: 10px;
  /* contain background */
  background-size: cover;
  background-position: center;
  width: 20px;
  height: 20px;
}

#google-logo {
  background-image: url('../img/google.svg');
}

#facebook-logo {
  background-image: url('../img/facebook.svg');
}

.m-x {
  margin-top: 10px;
  margin-bottom: 10px;
}

#or-section {
  text-align: center;
  display: flex;
  flex-direction: row;
  align-items: center;
}

#or-section .divider {
  border-top: 1px solid var(--borderColor);
  flex-grow: 1;
  width: 100%;
}

#or-section-text {
  margin: 0 10px;
  font-weight: 600;
  font-size: medium;
}

.conditions-button {
  border-radius: 50px;
  padding: 0 20px;
  height: 50px;
  margin-top: 15px !important;
  color: #fff;
}

/* Terms and conditions */

.checkbox-field {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  color: var(--textColor);
  gap: 0.5rem;
}

.checkbox-field label {
  font-size: 0.875rem;
  font-weight: 400;
}

.checkbox-field a {
  text-decoration: underline;
}

input[type='checkbox'] {
  height: 14px;
  width: 14px;
  flex-shrink: 0;
}

.flex-end {
  display: flex;
  justify-content: flex-end;
}

/* account linking styles */
.try-another-way-footer {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 10px;
  margin-top: 20px;
}

.instruction-header {
  font-size: 16px;
  font-weight: 600;
  line-height: 24px;
  letter-spacing: -0.02em;
  text-align: left;
  color: #344054 !important;
}

.instruction-title {
  font-size: 30px !important;
  font-weight: 600;
  line-height: 38px;
  letter-spacing: -0.03em;
  margin: 0;
  text-align: center;

  color: #344054 !important;
}

.instruction-container {
  padding: 0 15px;
}

.instruction {
  font-size: 14px;
  font-weight: 400;
  line-height: 21px;
  text-align: left;
  margin: 14px 0 !important;
}

.go-back {
  display: flex;
  align-items: center;
  flex-direction: row;
  gap: 10px;
  transition: color 0.1s ease-in-out;
}

.go-back a:hover {
  color: var(--baseLightColor);
}

.icon-style {
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

.back-icon {
  background-image: url('../img/arrow.svg');
  width: 12px;
  height: 12px;
  color: var(--baseColor);
}

/* authenticator selection styles */

.auth-selector-container {
  display: flex;
  flex-direction: row;
  align-items: center;
  border: 2px solid var(--borderColor);
  background: transparent;
  padding: 16px;
  gap: 8px;
  border-radius: 10px;
  width: 100%;
  transition: background-color 0.1s ease-in-out;
}

.auth-selector-container:hover {
  background-color: var(--borderColor);
}

.select-auth-box-headline {
  color: var(--textColor);
  text-align: start;
}
.select-auth-box-desc {
  color: #667085;
  text-align: start;
}
.auth-selector-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.select-auth-box-arrow {
  margin: 0 0 0 auto;
  transform: scale(1.5);
}

.message-box {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 12px 16px;
  gap: 12px;
  border-radius: 10px;
  background-color: #e6f1fe;
  margin-bottom: 20px;
}

.message-box-text {
  color: #004eeb;
  font-size: 14px;
  font-weight: 400;
  line-height: 21px;
}

/* reset password styles */

.reset-password-instruction {
  text-align: center;
  margin-bottom: 30px;
}

/* Auth tabs */

.tabs {
  display: flex;
  gap: 10px;
  background-color: #f3f4f7;
  border-radius: 50px;
  padding: 5px;
  border: 1px solid #e6eaef;
  margin-bottom: 30px !important;
}

.tab {
  flex: 1;
  border-radius: 50px;
  padding: 12px 15px;
  text-align: center;
  text-decoration: none;
  color: #667085 !important;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: background-color 0.3s, color 0.3s, box-shadow 0.3s;
}

.tab:hover {
  background-color: white;
  text-decoration: none;
  color: #344054 !important;
  box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
}

.tab.active {
  background-color: white;
  color: var(--baseColor) !important;
  box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
}

.apply-title {
  text-align: center;
  font-weight: 600;
  font-size: '24px';
  line-height: 1.5;
}

#auth-title {
  display: inline;
}

.job-title {
  color: var(--baseColor);
}
