/* Shared auth registration styles */
:root {
  --auth-primary-rgb: 93, 156, 236;
  --auth-border: #ced4da;
  --auth-field-bg: #ffffff;
  --auth-text: #333;
  --auth-muted: #a0aabf;
}

body {
  margin: 0;
  padding: 0;
}

.app-layout {
  display: flex;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.layout-left {
  width: 50%;
  background: linear-gradient(
    135deg,
    var(--auth-layout-start) 0%,
    var(--auth-layout-end) 100%
  );
  display: flex;
  flex-direction: column;
  position: relative;
}

.brand-header {
  padding: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.brand-header img {
  width: 220px;
  display: block;
}

.slider-area {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

.swiper-slide {
  text-align: center;
}

.swiper-slide img {
  max-height: 380px;
  margin-bottom: 30px;
}

.swiper-slide h4 {
  font-size: 24px;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 15px;
}

.swiper-slide p {
  font-size: 15px;
  color: #5a6c7d;
  max-width: 450px;
  margin: 0 auto;
  line-height: 1.5;
}

.swiper-pagination-bullet {
  background: var(--auth-primary);
  opacity: 0.4;
  width: 10px;
  height: 10px;
}

.swiper-pagination-bullet-active {
  opacity: 1;
  width: 24px;
  border-radius: 12px;
}

.layout-right {
  width: 50%;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow-y: auto;
  overflow-x: hidden;
  justify-content: center;
  align-items: center;
}

.right-content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-height: 100%;
  width: 100%;
  padding: 40px 40px 0 40px;
}

.login-card {
  width: 100%;
  max-width: 420px;
  padding: 40px 40px 30px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 40px 40px 60px rgba(228, 234, 228, 0.74);
  border: 1px solid #dee2e6;
  margin: auto 0;
}

.login-card.large-card {
  max-width: 700px;
  padding: 25px 50px 30px;
}

.login-card .default-logo {
  text-align: center;
  margin-bottom: 20px;
}

.login-card .default-logo img {
  width: 200px;
}

.login-card h4.title {
  font-size: 22px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 25px;
  text-align: center;
}

.signup-card {
  width: 100%;
  max-width: 700px;
  padding: 25px 50px 30px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 40px 40px 60px rgba(228, 234, 228, 0.74);
  border: 1px solid #dee2e6;
  margin-top: 20px;
  margin-bottom: auto;
  margin-left: auto;
  margin-right: auto;
}

.signup-card .default-logo {
  text-align: center;
  margin-bottom: 20px;
}

.signup-card .default-logo img {
  width: 200px;
}

.signup-card h4.title {
  font-size: 22px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 25px;
  text-align: center;
}

.form-group label,
.custom-form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #4a4a4a;
  margin-bottom: 6px;
}

.custom-form-group {
  margin-bottom: 20px;
}

.custom-input-wrap,
.input-group {
  display: flex;
  align-items: center;
  background: var(--auth-field-bg);
  border: 1px solid var(--auth-border);
  border-radius: 10px;
  height: 46px;
  transition: 0.3s;
  overflow: hidden;
}

.custom-input-wrap:focus-within,
.input-group:focus-within {
  border-color: var(--auth-primary);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(var(--auth-primary-rgb), 0.1);
}

.input-group:focus-within {
  border-color: var(--auth-primary);
  box-shadow: 0 0 0 3px rgba(var(--auth-primary-rgb), 0.1);
}

.custom-input-wrap input,
.custom-input-wrap select,
.form-control {
  flex: 1;
  width: 100%;
  height: 100%;
  border: none;
  background: transparent;
  padding: 0 15px;
  font-size: 15px;
  color: var(--auth-text);
  outline: none;
  box-shadow: none !important;
}

.custom-input-wrap input,
.custom-input-wrap select {
  min-width: 0;
  -webkit-appearance: none;
  appearance: none;
}

.custom-input-wrap select::-ms-expand {
  display: none;
}

.custom-input-wrap .icon,
.input-group-text,
.input-group-append .input-group-text {
  padding-right: 15px;
  color: var(--auth-muted);
  background: transparent;
  border: none;
}

.custom-input-wrap .select2,
.select2 {
  width: 100% !important;
}

.custom-input-wrap .select2-container {
  flex: 1 1 auto;
  width: auto !important;
  min-width: 0;
}

.custom-input-wrap .select2-container .select2-selection--single {
  height: 46px !important;
  border: none !important;
  background: transparent !important;
  border-radius: 0;
  display: flex;
  align-items: center;
  box-shadow: none !important;
}

.custom-input-wrap .select2-container .select2-selection__rendered {
  padding-left: 15px;
  padding-right: 30px;
  color: var(--auth-text);
  line-height: 46px !important;
}

.custom-input-wrap .select2-container .select2-selection__arrow {
  height: 46px !important;
  right: 10px;
}

.custom-input-wrap
  .select2-container--default
  .select2-selection--single
  .select2-selection__arrow
  b {
  border-color: var(--auth-muted) transparent transparent transparent;
}

.btn-primary,
.btn-submit {
  width: 100%;
  height: 46px;
  background: var(--auth-primary);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 600;
  margin-top: 10px;
  cursor: pointer;
  transition: 0.3s;
  box-shadow: 0 6px 15px rgba(var(--auth-primary-rgb), 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-primary:hover,
.btn-submit:hover {
  background: var(--auth-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(var(--auth-primary-rgb), 0.3);
  color: #fff;
}

.auth-links {
  margin-top: 20px;
  text-align: center;
  font-size: 14px;
  color: #666;
}

.auth-links a {
  color: var(--auth-primary);
  font-weight: 600;
  text-decoration: none;
}

.auth-links p {
  margin-bottom: 8px;
}

.footer-branding {
  position: static;
  align-self: flex-end;
  margin-right: 40px;
  margin-bottom: 30px;
  display: flex;
  flex-direction: column;
  text-align: right;
  align-items: center;
}

.layout-left .footer-branding {
  display: none !important;
}

.layout-right .footer-branding {
  display: flex !important;
}

.footer-branding .powered {
  font-size: 14px;
  font-weight: 600;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.footer-branding img {
  height: 35px;
  margin-bottom: 2px;
}

.footer-branding .company {
  font-size: 14px;
  font-weight: 700;
  color: #444;
}

.mobile-only-logo {
  display: none;
}

@media (max-width: 991px) {
  .app-layout {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, #f0f7f3 0%, #e1ebe5 100%);
    padding: 20px;
  }

  .layout-left {
    display: none;
  }

  .layout-right {
    width: 100%;
    max-width: 400px;
    height: 100%;
    background: transparent;
    justify-content: space-between;
    padding: 0;
  }

  .right-content-wrapper {
    padding: 0;
    justify-content: space-between;
  }

  .mobile-only-logo {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    margin-bottom: 30px;
    margin-top: 20px;
    width: 100%;
    flex: 1;
  }

  .mobile-only-logo img {
    width: 220px;
  }

  .login-card {
    background: #ffffff;
    padding: 35px 30px;
    border-radius: 20px;
    box-shadow: 40px 40px 60px rgba(228, 234, 228, 0.74);
    border: 1px solid #dee2e6;
    flex: 0 0 auto;
  }

  .login-card .default-logo {
    display: none;
  }

  .login-card h4.title {
    font-size: 20px;
    margin-bottom: 20px;
  }

  .custom-input-wrap,
  .input-group,
  .btn-primary,
  .btn-submit {
    height: 44px;
  }

  .custom-form-group,
  .form-group {
    margin-bottom: 15px;
  }

  .layout-left .footer-branding {
    display: none !important;
  }

  .layout-right .footer-branding {
    display: flex !important;
    position: static;
    left: auto;
    right: auto;
    align-items: center;
    flex: 1;
    justify-content: flex-end;
    margin-bottom: 20px;
    text-align: center;
  }
}

@media (max-height: 650px) {
  .mobile-only-logo {
    margin-bottom: 15px;
    margin-top: 10px;
  }

  .login-card {
    padding: 25px 20px;
  }

  .right-content-wrapper {
    padding: 0;
  }

  .footer-branding {
    position: absolute;
    right: 14px;
    bottom: 12px;
  }

  .login-card h4.title {
    margin-bottom: 15px;
    font-size: 18px;
  }

  .custom-input-wrap,
  .input-group,
  .btn-primary,
  .btn-submit {
    height: 40px;
  }

  .form-group {
    margin-bottom: 12px;
  }
}
