/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body.login-page-body {
  padding: 0 !important;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%) !important;
  margin: 0;
  font-family: "Montserrat", sans-serif;
  overflow-x: hidden;
}

.left_cmp_image{
  margin-top: -20px;
  margin-bottom: 10px;
}

.left_cmp_image img{
  height: 150px;
  width: 150px;
  object-fit: contain;
}

#loginForm{
  background: 
  linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
  url('../cmp_img.png') no-repeat center center;
}

.alert-lgn {  
  position: fixed !important;
  width: 20% !important;
  transform: translateX(15%) !important;
  text-align: center;
}
/* Main Container */  
.main-container {
  padding: 0;
  margin: 0;
}

/* Sidebar Column - Optimized Height */
.sidebar-column {
  background: #333234;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Contact Info - Scaled Down */
.contact-info {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: #333234;
}

.contact-content {
  padding: 30px 25px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  max-width: 320px;
  width: 100%;
}

/* Contact Header - Scaled Down */
.contact-header {
  text-align: center;
  margin-bottom: 25px; /* Reduced from 35px */
}

.contact-main-icon {
  font-size: 36px; /* Reduced from 48px */
  color: #fff;
  margin-bottom: 12px; /* Reduced from 18px */
  display: block;
}

.contact-title {
  font-size: 22px; /* Reduced from 28px */
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px; /* Reduced from 12px */
  position: relative;
}

.contact-subtitle {
  font-size: 14px; /* Reduced from 18px */
  color: #fff;
  margin-bottom: 0;
  font-weight: 400;
}

.contact-title::after {
  content: "";
  position: absolute;
  bottom: -6px; /* Reduced from -8px */
  left: 50%;
  transform: translateX(-50%);
  width: 40px; /* Reduced from 50px */
  height: 2px; /* Reduced from 3px */
  background: linear-gradient(90deg, #fff, #fff);
  border-radius: 2px;
}

/* Contact Items - Scaled Down */
.contact-items {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  gap: 18px; /* Reduced from 25px */
  margin: 20px 0; /* Reduced from 25px */
}

.contact-item {
  display: flex;
  align-items: flex-start;
  padding: 14px 16px; /* Reduced from 18px 20px */
  background: #fff;
  border-radius: 10px; /* Reduced from 12px */
  transition: all 0.3s ease;
  border: 1px solid rgba(13, 110, 253, 0.08);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  min-height: 68px; /* Reduced from 85px */
}

.contact-item:hover {
  background: #f0f4ff;
  transform: translateY(-1px); /* Reduced from -2px */
  border-color: rgba(13, 110, 253, 0.2);
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.1);
}

.contact-icon-wrapper {
  width: 40px; /* Reduced from 50px */
  height: 40px; /* Reduced from 50px */
  background: linear-gradient(135deg, #0d6efd, #0b5ed7);
  border-radius: 10px; /* Reduced from 12px */
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 14px; /* Reduced from 18px */
  flex-shrink: 0;
  margin-top: 2px; /* Reduced from 3px */
}

.contact-icon-wrapper i {
  font-size: 16px; /* Reduced from 20px */
  color: #fff;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-details {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px; /* Reduced from 6px */
  min-width: 0;
  padding-top: 1px; /* Reduced from 2px */
}

.contact-label {
  font-size: 11px; /* Reduced from 14px */
  font-weight: 700;
  color: #495057;
  text-transform: uppercase;
  letter-spacing: 0.3px; /* Reduced from 0.5px */
  line-height: 1.2;
}

.contact-value {
  font-size: 13px; /* Reduced from 16px */
  color: #2c3e50;
  line-height: 1.3; /* Reduced from 1.4 */
  font-weight: 500;
  word-wrap: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
}

/* Contact Footer - Scaled Down */
.contact-footer {
  text-align: center;
  padding-top: 18px; /* Reduced from 25px */
  border-top: 1px solid rgba(230, 236, 245, 0.6);
}

.support-text {
  font-size: 12px; /* Reduced from 16px */
  color: #fff;
  font-weight: 600;
  margin: 0;
  padding: 8px 14px; /* Reduced from 12px 20px */
  background: linear-gradient(135deg, #0d6efd, #0b5ed7);
  border-radius: 16px; /* Reduced from 20px */
  display: inline-block;
}

/* Main Content Column - Fixed Height */
.main-column {
  padding: 0;
}

.main-column .row {
  margin: 0;
  height: 100%; /* Ensure full height */
}

/* Header Row - Optimized for 100% zoom */
.header-row {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 14vh; /* Reduced from 18vh */
  padding: 5px; /* Reduced from 8px */
  background: #fff;
  border-bottom: 1px solid #e9ecef;
}

.header-section {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

/* Logo - Scaled Down */
.header-logo {
  width: 120px; /* Reduced from 160px */
  height: auto;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
  transition: transform 0.3s ease;
}

.header-logo:hover {
  transform: scale(1.05);
}

/* Login Row - Optimized Height */
.login-row {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px; /* Reduced from 20px */
  /* background: linear-gradient(135deg, #dfe5eb 0%, #e9ecef 100%); */
}

/* Content Wrapper - Scaled Down */
.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 480px; /* Reduced from 600px */
}

/* Login Section */
.login-section {
  width: 100%;
  display: flex;
  justify-content: center;
}

/* Login Box - Scaled Down */
.login-box {
  background: #fff;
  padding: 30px 28px; /* Reduced from 40px 35px */
  border-radius: 16px; /* Reduced from 20px */
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  width: 100%;
  max-width: 400px; /* Reduced from 500px */
  position: relative;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.login-box:hover {
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  transform: translateY(-1px); /* Reduced from -2px */
}

/* Company Name - Scaled Down */
.cmp_name {
  font-weight: 700;
  font-size: 1.7rem; /* Reduced from 2.1rem */
  color: #2c3e50;
  letter-spacing: 0.8px; /* Reduced from 1px */
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  margin-bottom: 10px; /* Reduced from 12px */
  text-align: center;
  line-height: 1.2;
}

/* Company Divider - Scaled Down */
.cmp-divider {
  width: 56px; /* Reduced from 70px */
  height: 2px; /* Reduced from 3px */
  background: linear-gradient(90deg, #0d6efd, #0b5ed7);
  margin: 10px auto 20px auto; /* Reduced margins */
  border-radius: 2px;
  box-shadow: 0 2px 4px rgba(13, 110, 253, 0.3);
}

/* Form Headings - Scaled Down */
.login-box h4 {
  font-size: 16px; /* Reduced from 20px */
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 16px; /* Reduced from 20px */
}

/* Form Labels - Scaled Down */
.form-label {
  font-weight: 600;
  color: #495057;
  margin-bottom: 5px; /* Reduced from 6px */
  display: block;
  font-size: 14px; /* Reduced from 14px */
}

/* Form Controls - Scaled Down */
.form-control {
  padding: 10px 12px; /* Reduced from 12px 16px */
  font-size: 14px; /* Reduced from 14px */
  width: 100%;
  border-radius: 8px; /* Reduced from 10px */
  border: 2px solid #e9ecef;
  transition: all 0.3s ease;
  box-sizing: border-box;
  background: #f8f9fa;
  margin-bottom: 3px; /* Reduced from 4px */
  min-height: 38px; /* Reduced from 48px */
}

.form-control:focus {
  border-color: #0d6efd;
  box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
  outline: none;
  background: #fff;
  transform: translateY(-1px);
}

/* Input Group - Scaled Down */
.input-group {
  display: flex;
  width: 100%;
  min-height: 38px; /* Reduced from 48px */
}

.input-group .form-control {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  border-right: 0;
  margin-bottom: 0;
  flex: 1;
}

.input-group .btn-outline-secondary {
  border: 2px solid #e9ecef;
  color: #6c757d;
  background: #f8f9fa;
  border-left: 0;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  padding: 10px 12px; /* Reduced from 12px 16px */
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 43px; /* Reduced from 54px */
  flex-shrink: 0;
}

.input-group .btn-outline-secondary:hover {
  background-color: #e9ecef;
  border-color: #adb5bd;
  color: #495057;
  transform: translateY(-1px);
}

/* Buttons - Scaled Down */
.btn {
  padding: 10px 16px; /* Reduced from 12px 20px */
  font-size: 11px; /* Reduced from 14px */
  font-weight: 600;
  border-radius: 8px; /* Reduced from 10px */
  transition: all 0.3s ease;
  border: 2px solid transparent;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  min-height: 38px; /* Reduced from 48px */
}

.btn-primary {
  background: linear-gradient(135deg, #0d6efd, #0b5ed7);
  border-color: #0d6efd;
  color: #fff;
  font-weight: 700;
  box-shadow: 0 3px 12px rgba(13, 110, 253, 0.3);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #0b5ed7, #0a58ca);
  border-color: #0a58ca;
  transform: translateY(-1px); /* Reduced from -2px */
  box-shadow: 0 6px 20px rgba(13, 110, 253, 0.4);
}

/* Alerts - Scaled Down */
.alert {
  border-radius: 8px; /* Reduced from 10px */
  padding: 10px 12px; /* Reduced from 12px 16px */
  margin-bottom: 12px; /* Reduced from 15px */
  border: 1px solid transparent;
  position: relative;
  font-size: 10px; /* Reduced from 12px */
}

.alert-danger {
  color: #721c24;
  background-color: #f8d7da;
  border-color: #f5c6cb;
}

.alert-success {
  color: #155724;
  background-color: #d4edda;
  border-color: #c3e6cb;
}

.alert-warning {
  color: #856404;
  background-color: #fff3cd;
  border-color: #ffeaa7;
}

.alert-dismissible {
  padding-right: 32px; /* Reduced from 40px */
}

.btn-close {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 2;
  padding: 10px 12px; /* Reduced from 12px 16px */
  background: none;
  border: 0;
  font-size: 11px; /* Reduced from 14px */
  opacity: 0.5;
  cursor: pointer;
}

.btn-close:hover {
  opacity: 0.75;
}

.btn-close::before {
  content: "×";
  font-size: 13px; /* Reduced from 16px */
  font-weight: 700;
  line-height: 1;
}

/* reCAPTCHA - Scaled Down */

/* .recaptcha-div {
  width: 50%;
  border: 2px solid blue;
}

.g-recaptcha {
  text-align: center;
} */

/* Utility Classes - Scaled Down */
.mb-3 {
  margin-bottom: 12px; /* Reduced from 15px */
}

.mb-4 {
  margin-bottom: 14px; /* Reduced from 18px */
}

.text-center {
  text-align: center;
}

.fw-bold {
  font-weight: 700;
}

.w-100 {
  width: 100%;
}

/* Bootstrap Icons */
.bi {
  display: inline-block;
  width: 1em;
  height: 1em;
  fill: currentcolor;
  vertical-align: -0.125em;
}

/* Responsive Design - Optimized for 100% zoom */
@media (max-width: 768px) {
  .alert-lgn-v2 {
    width: 100% !important;
    text-align: center;
    /* transform: translateX(-55%) !important; */
  }
  .alert-lgn {
    width: 40% !important;
    transform: translateX(-52%) !important;
    text-align: center;
  }
  .content-wrapper {
    margin-top: 100px;
  }
  .login-section {
    width: 90%;
  }
  .sidebar-column,
  .main-column {
    height: auto;
  }

  .header-row {
    height: 12vh; /* Further reduced for mobile */
    padding: 4px;
  }

  .login-row {
    height: 88vh; /* Adjusted for mobile */
    padding: 12px;
  }

  .contact-info {
    height: auto;
    padding: 24px 0;
  }

  .contact-content {
    padding: 24px 16px;
    height: auto;
  }

  .header-logo {
    width: 100px; /* Further reduced for mobile */
  }

  .login-box {
    padding: 24px 16px;
  }

  .cmp_name {
    font-size: 1.4rem;
  }

  .contact-title {
    font-size: 20px;
  }

  .contact-subtitle {
    font-size: 13px;
  }

  .contact-value {
    font-size: 12px;
  }
}

@media (max-width: 576px) {
  .header-row {
    height: 10vh;
    padding: 2px;
  }

  .login-row {
    height: 90vh;
  }

  .header-logo {
    width: 88px;
  }

  .login-box {
    padding: 20px 12px;
  }

  .cmp_name {
    font-size: 1.2rem;
  }

  .contact-item {
    padding: 12px;
  }

  .form-control,
  .btn {
    padding: 8px 11px;
    min-height: 35px;
  }

  .input-group .btn-outline-secondary {
    min-width: 40px;
  }
}

/* Height constraints for different screen sizes */
@media (max-height: 700px) {
  .header-row {
    height: 12vh;
    padding: 4px;
  }
  /* add */
  .login-row {
    height: 100%;
    padding: 8px;
  }

  .header-logo {
    width: 112px;
  }
  /* add */
  .login-box {
    padding: 24px 20px;
    margin-top: -3rem;
  }

  .cmp_name {
    font-size: 1.5rem;
  }
}

@media (max-height: 600px) {
  .header-row {
    height: 10vh;
    padding: 2px;
  }

  .login-row {
    height: 90vh;
    padding: 6px;
  }

  .header-logo {
    width: 96px;
  }

  .login-box {
    padding: 20px 16px;
  }

  .cmp_name {
    font-size: 1.4rem;
  }
}
.g-recaptcha {
  display: flex;
  justify-content: center;
  width: 100%;
}
.recaptcha-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden; /* Hide overflow when scaling */
}

.recaptcha-wrapper .g-recaptcha {
  transform: scale(1); /* Default scale */
  transform-origin: 0 0; /* Scale from top-left corner */
  -webkit-transform: scale(1);
  -webkit-transform-origin: 0 0;
}
