/* Login Container - Full Screen */
.login-container {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8fafc;
  padding: 0;
  position: relative;
  overflow: hidden;
  font-family: 'adobe-clean', sans-serif;
}

/* Login Wrapper */
.login-wrapper {
  width: 100%;
  /* max-width: 1200px; */
  height: 100vh;
  position: relative;
  z-index: 1;
}

/* Login Card - Split Screen Layout */
.login-card {
  display: flex;
  height: 100%;
  background: #ffffff;
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  animation: slideUp 0.5s ease-out;
}

/* @keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
} */

/* Left Side - Logo and Quotes */
.login-left {
  flex: 1;
  background: linear-gradient(135deg, #069064 0%, #03ae81 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px;
  position: relative;
  overflow: hidden;
}

.login-left::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.login-left-content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 500px;
  color: white;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

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

.login-logo {
  max-height: 80px;
  max-width: 250px;
  object-fit: contain;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.2));
}

.logo-placeholder {
  width: 80px;
  height: 80px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  color: white;
}

/* Quote Section */
.quote-section {
  margin-top: 20px;
}

.quote-title1 {
  font-size: 40px;
  font-weight: 600;
  margin: 0 0 24px 0;
  color: white;
  letter-spacing: -1px;
  line-height: 1.2;
}

.quote-title {
    font-size: 40px;
    font-weight: 600;
    color: white;
    letter-spacing: -1px;
    line-height: 1.2;
  }

.quote-text {
  font-size: 20px;
  line-height: 1.6;
  margin: 0 0 16px 0;
  color: rgba(255, 255, 255, 0.95);
  font-weight: 400;
  font-style: italic;
}

.quote-meaning {
  font-size: 16px;
  line-height: 1.6;
  margin: 0 0 20px 0;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 400;
  font-style: normal;
  padding-left: 8px;
  border-left: 3px solid rgba(255, 255, 255, 0.3);
}

.quote-author {
  font-size: 16px;
  margin: 0;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
}

/* Features Section */
.quote-features {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 20px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
}

.feature-item i {
  font-size: 20px;
  width: 24px;
  text-align: center;
  color: rgba(255, 255, 255, 0.95);
}

/* Right Side - Login Form */
.login-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  background: #ffffff;
  min-width: 0; /* Allows flex item to shrink */
}

.login-body {
  flex: 1;
  padding: 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow-y: auto;
}

.login-body form {
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
}

/* Logo on Right Side */
.logo-container-right {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 32px;
  width: 100%;
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
}

.login-logo-right {
  max-height: 80px;
  max-width: 50%;
  object-fit: contain;
  width: auto;
  height: auto;
}

.logo-placeholder-right {
  width: 80px;
  height: 80px;
  background: rgba(31, 233, 119, 0.1);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  color: #1fe977;
}

/* Form Header */
.login-form-header {
  margin-bottom: 32px;
}

.login-form-header h2 {
  font-size: 32px;
  font-weight: 700;
  color: #111827;
  margin: 0 0 8px 0;
  letter-spacing: -0.5px;
}

.login-form-header p {
  font-size: 15px;
  color: #6b7280;
  margin: 0;
}

/* Form Header Text (For Forgot Password) */
.form-header-text {
  margin-bottom: 32px;
  text-align: center;
}

.form-title {
  font-size: 28px;
  font-weight: 500;
  color: #111827;
  margin: 0 0 12px 0;
  letter-spacing: -0.5px;
}

.form-subtitle {
  font-size: 15px;
  color: #6b7280;
  margin: 0;
  line-height: 1.5;
}

/* Success Message */
.success-message {
  text-align: center;
  padding: 20px 0;
}

.success-icon {
  font-size: 64px;
  color: #1fe977;
  margin-bottom: 24px;
  display: flex;
  justify-content: center;
}

.success-message .form-title {
  margin-bottom: 16px;
}

.success-message .form-subtitle {
  margin-bottom: 8px;
}

.success-message .form-subtitle strong {
  color: #111827;
  font-weight: 600;
}

/* Form Group */
.form-group {
  margin-bottom: 1px;
}

.form-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #374151;
  margin-bottom: 8px;
  letter-spacing: 0.2px;
}

/* Input Wrapper */
.input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.input-icon {
  position: absolute;
  left: 16px;
  color: #9ca3af;
  font-size: 16px;
  z-index: 1;
  pointer-events: none;
}

.form-input {
  width: 100%;
  padding: 8px 8px 8px 48px;
  font-size: 15px;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  background: #ffffff;
  color: #111827;
  transition: all 0.2s ease;
  outline: none;
  font-family: 'adobe-clean', sans-serif;
}

.form-input::placeholder {
  color: #9ca3af;
}

.form-input:focus {
  border-color: #158b8b;
  box-shadow: 0 0 0 3px rgba(31, 233, 119, 0.1);
}

.form-input.error {
  border-color: #ef4444;
}

.form-input.error:focus {
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

/* Password Toggle */
.password-toggle {
  position: absolute;
  right: 16px;
  background: none;
  border: none;
  color: #9ca3af;
  cursor: pointer;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease;
  z-index: 1;
}

.password-toggle:hover {
  color: #1fe977;
}

.password-toggle:focus {
  outline: 2px solid #1fe977;
  outline-offset: 2px;
  border-radius: 4px;
}

/* Error Message */
.error-message {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #ef4444;
  font-size: 13px;
  margin-top: 6px;
  font-weight: 500;
}

.error-message i {
  font-size: 11px;
}

/* Form Options */
.form-options {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin-bottom: 24px;
}

.checkbox-label {
  display: flex;
  align-items: center;
  cursor: pointer;
  user-select: none;
}

.checkbox-input {
  width: 18px;
  height: 18px;
  margin-right: 8px;
  cursor: pointer;
  accent-color: #1fe977;
}

.checkbox-text {
  font-size: 14px;
  color: #6b7280;
  font-weight: 500;
}

.forgot-link {
  color: #1fe977;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: color 0.2s ease;
}

.forgot-link:hover {
  color: #03ae81;
  text-decoration: none;
}

/* .forgot-link:focus {
  outline: 2px solid #1fe977;
  outline-offset: 1px;
  border-radius: 2px;
} */

/* Login Button */
.login-button {
  width: 100%;
  padding: 16px;
  font-size: 16px;
  font-weight: 600;
  color: white;
  background: linear-gradient(135deg, #089646 0%, #03ae81 100%);
  border: none;
  border-radius: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(31, 233, 119, 0.3);
  font-family: 'adobe-clean', sans-serif;
  letter-spacing: 0.3px;
}

.login-button:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(31, 233, 119, 0.4);
}

.login-button:active:not(:disabled) {
  transform: translateY(0);
}

.login-button:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.login-button.loading {
  pointer-events: none;
}

.login-button i {
  font-size: 14px;
}

/* Footer */
.login-footer {
  padding: 24px 60px;
  text-align: center;
  border-top: 1px solid #e5e7eb;
  background: #f9fafb;
}

.login-footer p {
  margin: 0;
  font-size: 14px;
  color: #6b7280;
}

.register-link {
  color: #1fe977;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
}

.register-link:hover {
  color: #03ae81;
  text-decoration: underline;
}

.register-link:focus {
  outline: 2px solid #1fe977;
  outline-offset: 2px;
  border-radius: 4px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .login-left {
    padding: 40px;
  }

  .login-body {
    padding: 40px;
  }

  .quote-title {
    font-size: 36px;
  }

  .quote-text {
    font-size: 18px;
  }

  .quote-meaning {
    font-size: 15px;
  }
}

@media (max-width: 768px) {
  .login-wrapper {
    height: auto;
    min-height: 100vh;
  }

  .login-card {
    flex-direction: column;
    height: auto;
    min-height: 100vh;
  }

  .login-left {
    flex: 0 0 auto;
    padding: 40px 32px;
    min-height: 300px;
  }

  .login-left-content {
    max-width: 100%;
    gap: 24px;
  }

  .logo-container {
    justify-content: center;
  }

  .quote-title {
    font-size: 28px;
    text-align: center;
  }

  .quote-title1 {
    font-size: 28px;
    text-align: center;
  }

  .quote-text {
    font-size: 16px;
    text-align: center;
  }

  .quote-meaning {
    font-size: 14px;
    text-align: center;
    padding-left: 0;
    border-left: none;
    border-top: 2px solid rgba(255, 255, 255, 0.3);
    padding-top: 12px;
    margin-top: 12px;
  }

  .quote-author {
    text-align: center;
  }

  .quote-features {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
  }

  .feature-item {
    font-size: 14px;
  }

  .login-right {
    flex: 1;
  }

  .login-body {
    padding: 32px 24px;
  }

  .logo-container-right {
    margin-bottom: 24px;
  }

  .login-logo-right {
    max-height: 60px;
  }

  .form-title {
    font-size: 26px;
  }

  .form-subtitle {
    font-size: 14px;
  }

  .success-icon {
    font-size: 56px;
  }

  .login-footer {
    padding: 20px 24px;
  }
}

@media (max-width: 480px) {
  .login-left {
    padding: 32px 20px;
    min-height: 250px;
  }

  .login-left-content {
    gap: 20px;
  }

  .logo-container {
    height: 60px;
  }

  .login-logo {
    max-height: 60px;
  }

  .logo-placeholder {
    width: 60px;
    height: 60px;
    font-size: 30px;
  }

  .quote-title {
    font-size: 20px;
    margin-bottom: 8px;
  }

  .quote-title1 {
    font-size: 20px;
    margin-bottom: 16px;
  }

  .quote-text {
    font-size: 14px;
  }

  .quote-features {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .login-body {
    padding: 24px 20px;
  }

  .logo-container-right {
    margin-bottom: 20px;
  }

  .login-logo-right {
    max-height: 50px;
  }

  .logo-placeholder-right {
    width: 50px;
    height: 50px;
    font-size: 25px;
  }

  .form-input {
    padding: 12px 14px 12px 44px;
    font-size: 16px; /* Prevents zoom on iOS */
  }

  .login-button {
    padding: 14px;
    font-size: 15px;
  }

  .form-options {
    justify-content: flex-end;
    align-items: center;
  }

  .form-options .forgot-link {
    text-align: right;
  }

  .form-title {
    font-size: 24px;
  }

  .form-subtitle {
    font-size: 14px;
  }

  .success-icon {
    font-size: 48px;
    margin-bottom: 20px;
  }

  .login-footer {
    padding: 16px 20px;
  }
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
  .login-card {
    border: 2px solid #000;
  }

  .form-input {
    border-width: 2px;
  }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
  .login-card {
    animation: none;
  }

  .form-input,
  .login-button,
  .password-toggle,
  .forgot-link,
  .register-link {
    transition: none;
  }
}

/* Force Light Mode - Override Dark Mode */
@media (prefers-color-scheme: dark) {
  .login-container {
    background: #f8fafc;
  }

  .login-right {
    background: #ffffff;
  }

  .login-body {
    background: #ffffff;
  }

  .form-label {
    color: #374151;
  }

  .form-input {
    background: #ffffff;
    border-color: #e5e7eb;
    color: #111827;
  }

  .form-input:focus {
    border-color: #1fe977;
  }

  .login-footer {
    background: #f9fafb;
    border-top-color: #e5e7eb;
  }

  .login-footer p {
    color: #6b7280;
  }

  .checkbox-text {
    color: #6b7280;
  }

  .form-title {
    color: #111827;
  }

  .form-subtitle {
    color: #6b7280;
  }

  .input-icon {
    color: #9ca3af;
  }

  .password-toggle {
    color: #9ca3af;
  }
}

/* Mobile - Force Light Mode */
@media (max-width: 768px) and (prefers-color-scheme: dark) {
  .login-right {
    background: #ffffff;
  }

  .login-body {
    background: #ffffff;
  }
}

/* Add Employee Form Styles */
.employee-form {
  font-family: 'adobe-clean', sans-serif;
  font-size: 13px;
}

.employee-form .content-header h1 {
  font-size: 20px;
  font-weight: 600;
  color: #111827;
  margin-bottom: 4px;
}

.employee-form .content-header p {
  font-size: 11px;
  color: #6b7280;
  margin-top: 8px;
}

.employee-form .nav-tabs {
  border-bottom: 2px solid #dee2e6;
}

.employee-form .nav-tabs .nav-link {
  font-size: 13px;
  padding: 10px 20px;
  color: #6b7280;
  border: none;
  border-bottom: 3px solid transparent;
  font-weight: 400;
  cursor: pointer;
  transition: all 0.2s ease;
}

.employee-form .nav-tabs .nav-link:hover {
  color: #0094a9;
  border-bottom-color: rgba(0, 148, 169, 0.3);
}

.employee-form .nav-tabs .nav-link.active {
  color: #0094a9;
  border-bottom-color: #0094a9;
  font-weight: 600;
  background: transparent;
}

.employee-form .section-title {
  font-size: 15px;
  font-weight: 600;
  color: #111827;
  margin-bottom: 6px;
}

.employee-form .section-subtitle {
  font-size: 13px;
  color: #6b7280;
  margin-bottom: 20px;
}

.employee-form .form-label {
  font-size: 13px;
  font-weight: 600;
  color: #374151;
  margin-bottom: 6px;
}

.employee-form .form-control {
  font-size: 13px;
  /* padding: 8px 12px; */
  border: 1px solid #d1d5db;
  border-radius: 6px;
  background-color: #fff;
  transition: all 0.2s ease;
}

.employee-form .form-control select {
  max-height: 200px;
}

/* Limit dropdown options height */
.employee-form select.form-control {
  max-height: 200px;
}

/* Style for select dropdown options */
.employee-form select.form-control option {
  padding: 8px 12px;
  font-size: 11px;
}

.employee-form .form-control:focus {
  border-color: #0094a9;
  box-shadow: 0 0 0 3px rgba(0, 148, 169, 0.1);
  outline: none;
}

.employee-form .form-control.is-invalid {
  border-color: #ef4444;
}

/* .employee-form .form-group {
  margin-bottom: 16px;
} */

.employee-form .required-star {
  color: #ef4444;
  margin-left: 2px;
}

.employee-form .date-input-wrapper {
  position: relative;
}

/* .employee-form .date-input-wrapper .form-control {
  padding-right: 36px;
} */

.employee-form .date-icon {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #9ca3af;
  pointer-events: none;
  font-size: 13px;
}

.employee-form .mobile-input-group {
  display: flex;
  align-items: center;
  gap: 0;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  overflow: hidden;
  background-color: #fff;
}

.employee-form .country-code-prefix {
  display: flex;
  align-items: center;
  padding: 8px 12px;
  font-size: 11px;
  font-weight: 500;
  color: #374151;
  background-color: #f9fafb;
  border-right: 1px solid #d1d5db;
  user-select: none;
  white-space: nowrap;
}

.employee-form .mobile-input {
  flex: 1;
  border: none;
  border-radius: 0;
  padding: 8px 12px;
}

.employee-form .mobile-input:focus {
  border: none;
  box-shadow: none;
  outline: none;
}

.employee-form .mobile-input-group:focus-within {
  border-color: #0094a9;
  box-shadow: 0 0 0 3px rgba(0, 148, 169, 0.1);
}

.employee-form .section-divider {
  border-top: 1px solid #e5e7eb;
  padding-top: 20px;
  margin-top: 24px;
}

.employee-form .section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.employee-form .section-header-content h4 {
  font-size: 15px;
  font-weight: 600;
  color: #111827;
  margin-bottom: 6px;
}

.employee-form .section-header-content p {
  font-size: 11px;
  color: #6b7280;
  margin: 0;
}

.employee-form .btn-add {
  background-color: #0094a9;
  border-color: #0094a9;
  color: #fff;
  padding: 6px 16px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.employee-form .btn-add:hover {
  background-color: #007a8a;
  border-color: #007a8a;
}

.employee-form .form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 24px;
}

.employee-form .btn-secondary {
  padding: 8px 20px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 500;
  background-color: #6b7280;
  border-color: #6b7280;
  color: #fff;
  cursor: pointer;
  transition: all 0.2s ease;
}

.employee-form .btn-secondary:hover {
  background-color: #4b5563;
  border-color: #4b5563;
}

.employee-form .btn-primary {
  background-color: #0094a9;
  border-color: #0094a9;
  color: #fff;
  padding: 8px 20px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.employee-form .btn-primary:hover {
  background-color: #007a8a;
  border-color: #007a8a;
}

/* 3 Column Layout */
.employee-form .form-row-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

@media (max-width: 992px) {
  .employee-form .form-row-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .employee-form .form-row-3 {
    grid-template-columns: 1fr;
  }
}

/* Address Modal Styles */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1050;
  padding: 20px;
}

.modal-content {
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  max-width: 800px;
  width: 100%;
  max-height: 95vh;
  min-height: 500px;
  overflow: visible;
  position: relative;
  display: flex;
  flex-direction: column;
  z-index: 1051;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  border-bottom: 1px solid #e5e7eb;
}

.modal-title {
  font-size: 18px;
  font-weight: 600;
  color: #111827;
  margin: 0;
}

.modal-close {
  background: none;
  border: none;
  font-size: 20px;
  color: #6b7280;
  cursor: pointer;
  padding: 4px 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease;
}

.modal-close:hover {
  color: #111827;
}

.modal-body {
  padding: 24px;
  max-height: calc(95vh - 160px);
  overflow-y: auto;
  overflow-x: hidden;
  flex: 1;
  position: relative;
}

/* Ensure Bootstrap grid works properly in modal */
.modal-body .row {
  display: flex;
  flex-wrap: wrap;
  margin-left: -15px;
  margin-right: -15px;
  margin-bottom: 0;
}

.modal-body .row > [class*="col-"] {
  padding-left: 15px;
  padding-right: 15px;
  position: relative;
  width: 100%;
}

/* Limit dropdown height in modal */
.modal-body select.form-control {
  max-height: 200px;
}

/* Custom dropdown styling for better visibility */
.modal-body .form-control:focus {
  position: relative;
  z-index: 10;
}

/* Ensure dropdown options are scrollable and don't overflow */
.modal-body select.form-control option {
  padding: 8px 12px;
  font-size: 11px;
}

/* State dropdown specific styling */
.employee-form .state-dropdown {
  max-height: 200px;
}

/* Ensure modal content doesn't overflow */
.modal-content {
  display: flex;
  flex-direction: column;
  max-height: 95vh;
  min-height: 500px;
}

.modal-body {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
}

/* Better dropdown positioning */
.modal-body .form-group {
  position: relative;
  z-index: 1;
}

.modal-body select.form-control {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236b7280' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 32px;
}

/* When dropdown is focused, ensure it's visible */
.modal-body select.form-control:focus {
  z-index: 1000;
  position: relative;
}

/* Reduce font size in dropdown to show more options */
.modal-body select.form-control option {
  font-size: 11px;
  padding: 6px 10px;
  line-height: 1.4;
}

.modal-footer {
  display: flex;
  justify-content: flex-start;
  gap: 12px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid #e5e7eb;
}

/* Compact Modal Styles for Holiday */
.modal-content1 {
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  max-width: 400px;
  width: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
  z-index: 1051;
}

.modal-content1 .modal-header {
  padding: 15px 20px;
  margin-bottom: 0;
}

.modal-content1 .modal-header h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
}

.modal-content1 .modal-close {
  padding: 0;
  width: 24px;
  height: 24px;
}

.modal-content1 .modal-body {
  padding: 15px 20px;
}

.modal-content1 .modal-body .form-group {
  margin-bottom: 15px;
}

.modal-content1 .modal-body .form-group:last-child {
  margin-bottom: 0;
}

.modal-content1 .modal-body .form-label {
  margin-bottom: 5px;
  font-size: 14px;
  font-weight: 500;
}

.modal-content1 .modal-body .form-input {
  padding: 6px 10px;
  font-size: 14px;
  height: 36px;
}

.modal-content1 .modal-body .form-input[readonly] {
  background-color: #f5f5f5;
  cursor: not-allowed;
}

.modal-content1 .modal-body .error-message {
  font-size: 12px;
  margin-top: 4px;
}

.modal-content1 .modal-footer {
  padding: 15px 20px;
  margin-top: 0;
  border-top: 1px solid #dee2e6;
}

.modal-content1 .modal-footer .btn {
  padding: 6px 16px;
  font-size: 14px;
}

.modal-content1 .modal-footer .btn-secondary {
  margin-right: 10px;
}

.employee-form .form-check {
  display: flex;
  align-items: center;
  margin-bottom: 0;
}

.employee-form .form-check-input {
  width: 18px;
  height: 18px;
  margin-right: 8px;
  cursor: pointer;
  accent-color: #0094a9;
}

.employee-form .form-check-label {
  font-size: 11px;
  color: #374151;
  cursor: pointer;
  margin-left: 5px;
}

.employee-form .invalid-feedback {
  display: block;
  font-size: 11px;
  color: #ef4444;
  margin-top: 4px;
}

/* Custom Dropdown Styles */
.custom-dropdown-wrapper {
  position: relative;
  width: 100%;
  min-height: 34px;
}

.custom-dropdown {
  position: relative;
  width: 100%;
  cursor: pointer;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  background-color: #fff;
  transition: all 0.2s ease;
  min-height: 34px;
  display: flex;
  align-items: center;
  outline: none;
}

.custom-dropdown:hover {
  border-color: #9ca3af;
}

.custom-dropdown:focus {
  border-color: #0094a9;
  box-shadow: 0 0 0 3px rgba(0, 148, 169, 0.1);
  outline: none;
}

.custom-dropdown.active {
  border-color: #0094a9;
  box-shadow: 0 0 0 3px rgba(0, 148, 169, 0.1);
}

.custom-dropdown.is-invalid {
  border-color: #ef4444;
}

.custom-dropdown.disabled {
  background-color: #f3f4f6;
  cursor: not-allowed;
  opacity: 0.6;
}

.custom-dropdown.disabled:hover {
  border-color: #d1d5db;
}

.custom-dropdown-input {
  width: 100%;
  padding: 8px 32px 8px 12px;
  border: none;
  background: transparent;
  font-size: 11px;
  color: #111827;
  cursor: text;
  outline: none;
}

.custom-dropdown-input::placeholder {
  color: #9ca3af;
}

.custom-dropdown-display {
  width: 100%;
  padding: 8px 32px 8px 12px;
  font-size: 11px;
  color: #111827;
  cursor: pointer;
  min-height: 34px;
  display: flex;
  align-items: center;
}

.custom-dropdown-display:empty::before {
  content: 'Select State';
  color: #9ca3af;
}

.custom-dropdown-arrow {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #6b7280;
  font-size: 11px;
  pointer-events: auto;
  cursor: pointer;
  transition: transform 0.2s ease;
  z-index: 1;
}

.custom-dropdown.active .custom-dropdown-arrow {
  transform: translateY(-50%) rotate(180deg);
}

.custom-dropdown-list {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  background: #fff;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 9999;
  max-height: 180px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.custom-dropdown-options {
  overflow-y: auto;
  max-height: 180px;
  padding: 4px 0;
}

.custom-dropdown-options::-webkit-scrollbar {
  width: 6px;
}

.custom-dropdown-options::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 3px;
}

.custom-dropdown-options::-webkit-scrollbar-thumb {
  background: #c1c1c1;
  border-radius: 3px;
}

.custom-dropdown-options::-webkit-scrollbar-thumb:hover {
  background: #a8a8a8;
}

.custom-dropdown-option {
  padding: 8px 12px;
  font-size: 11px;
  color: #374151;
  cursor: pointer;
  transition: background-color 0.15s ease;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.custom-dropdown-option:hover {
  background-color: #f3f4f6;
}

.custom-dropdown-option.selected {
  background-color: #e0f2fe;
  color: #0094a9;
  font-weight: 500;
}

.custom-dropdown-option.no-results {
  color: #9ca3af;
  cursor: default;
  text-align: center;
  font-style: italic;
  padding: 12px;
}

.custom-dropdown-option.no-results:hover {
  background-color: transparent;
}

/* Ensure dropdown stays within modal and appears above all elements */
.modal-body .custom-dropdown-wrapper {
  z-index: 100;
  position: relative;
}

.modal-body .custom-dropdown-wrapper.active {
  z-index: 9999;
  position: relative;
}

/* Ensure the column containing active dropdown has high z-index */
.modal-body .col-md-6:has(.custom-dropdown-wrapper.active) {
  z-index: 9999;
  position: relative;
}

.modal-body .custom-dropdown-list {
  position: absolute;
  z-index: 9999;
}

/* Prevent dropdown from overlapping fields below */
.modal-body .form-group {
  position: relative;
  z-index: 1;
  margin-bottom: 16px;
}

/* Address Type form-group with active dropdown - highest z-index */
.modal-body .form-group[data-dropdown-active="true"] {
  z-index: 9999;
  position: relative;
}

/* When Address Type dropdown is active, ensure subsequent rows have lower z-index */
.modal-body .form-group[data-dropdown-active="true"] ~ .row {
  z-index: 1;
  position: relative;
}

/* Ensure state dropdown wrapper has higher z-index when active */
.modal-body .custom-dropdown.active {
  z-index: 100;
}

/* Ensure pincode and other fields don't overlap dropdown */
.modal-body .row > div {
  position: relative;
  z-index: 1;
}

/* When dropdown wrapper is active, ensure its column has highest z-index */
.modal-body .row > div .custom-dropdown-wrapper.active {
  z-index: 9999;
}

.modal-body .row > div .custom-dropdown-wrapper.active ~ * {
  z-index: 1;
}

/* Address Cards Grid Layout */
.address-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.address-card {
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 16px;
  background-color: #fff;
  position: relative;
}

.address-card h5 {
  font-size: 14px;
  font-weight: 600;
  color: #0094a9;
  margin: 0;
}

.address-card .address-actions {
  display: flex;
  gap: 8px;
}

.address-card .address-actions button {
  background: none;
  border: none;
  color: #6b7280;
  cursor: pointer;
  font-size: 14px;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease;
}

.address-card .address-actions button:hover {
  color: #374151;
}

.address-card .address-actions button.delete:hover {
  color: #ef4444;
}

/* Responsive: Stack cards on mobile */
@media (max-width: 768px) {
  .address-list {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  .address-card {
    padding: 12px !important;
    margin-bottom: 0 !important;
    max-width: 100%;
    box-sizing: border-box;
  }

  .address-card h5 {
    font-size: 13px !important;
    margin-bottom: 8px !important;
  }

  .address-card > div {
    font-size: 11px !important;
    line-height: 1.6 !important;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }

  .address-card > div p {
    font-size: 11px !important;
    margin: 2px 0 !important;
  }

  /* Make edit/delete buttons smaller on mobile */
  .address-card button {
    font-size: 11px !important;
    padding: 2px 4px !important;
  }

  /* Address section header on mobile */
  .section-header {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 12px !important;
  }

  .section-header .btn-add {
    width: 100% !important;
    justify-content: center !important;
  }
}

/* Ensure proper spacing between rows */
.modal-body .row + .row {
  margin-top: 0;
}

/* Info Tooltip Styles */
.info-tooltip-wrapper {
  position: relative;
  display: inline-block;
}

.info-tooltip {
  visibility: hidden;
  opacity: 0;
  background-color: #1f2937;
  color: #fff;
  text-align: left;
  border-radius: 6px;
  padding: 10px 12px;
  position: absolute;
  z-index: 10000;
  bottom: 125%;
  left: 50%;
  transform: translateX(-50%);
  margin-left: 0;
  width: 280px;
  font-size: 11px;
  line-height: 1.5;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: opacity 0.3s, visibility 0.3s;
  pointer-events: none;
}

.info-tooltip::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-width: 6px;
  border-style: solid;
  border-color: #1f2937 transparent transparent transparent;
}

.info-tooltip-wrapper:hover .info-tooltip {
  visibility: visible;
  opacity: 1;
}

@media (max-width: 768px) {
  .modal-content {
    max-width: 100%;
    margin: 10px;
  }

  .modal-header {
    padding: 16px 20px;
  }

  .modal-body {
    padding: 20px;
  }

  .custom-dropdown-list {
    max-height: 180px;
  }

  .custom-dropdown-options {
    max-height: 140px;
  }

  .info-tooltip {
    width: 240px;
    font-size: 10px;
  }
}

/* Employee Form Header and Tabs Layout */
.employee-form .content {
  padding: 20px;
}

.employee-form .nav-tabs {
  border-bottom: 2px solid #e5e7eb;
  display: flex;
  justify-content: flex-end;
}

.employee-form .nav-tabs .nav-link {
  border: none;
  border-bottom: 3px solid transparent;
  color: #374151;
  padding: 12px 20px;
  transition: all 0.3s ease;
}

.employee-form .nav-tabs .nav-link:hover {
  border-bottom-color: #d1d5db;
  color: #111827;
}

.employee-form .nav-tabs .nav-link.active {
  border-bottom-color: #0094a9;
  color: #0094a9;
  font-weight: 600;
  background-color: transparent;
}

.employee-form .nav-tabs .nav-link.disabled {
  opacity: 0.5;
  cursor: not-allowed;
  color: #9ca3af;
}

@media (max-width: 768px) {
  .employee-form .nav-tabs {
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 16px;
  }

  .employee-form .nav-tabs .nav-link {
    padding: 8px 12px;
    font-size: 11px;
  }
}

/* Employee Form Header Styles */
.employee-header-row {
  align-items: center;
}

.employee-title {
  font-size: 24px;
  font-weight: 600;
  color: #111827;
  margin-bottom: 8px;
}

.employee-title-icon {
  font-size: 14px;
  color: #6b7280;
}

.employee-description {
  font-size: 13px;
  color: #6b7280;
  margin: 0;
}

.tabs-container {
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
}

.employee-tabs-list {
  border-bottom: 2px solid #e5e7eb;
  margin-bottom: 0;
}

.employee-tab-link {
  padding: 12px 20px;
  margin-bottom: -2px;
  transition: all 0.2s ease;
}

.employee-tab-link.active {
  border-bottom: 3px solid #0094a9;
  color: #0094a9;
  font-weight: 600;
}

.employee-tab-link.disabled {
  opacity: 0.5;
  cursor: not-allowed;
  color: #9ca3af;
}

.employee-content-card {
  margin-top: 0;
}

/* Text Transform */
.text-uppercase {
  text-transform: uppercase;
}

/* Button States */
.btn-disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.btn-enabled {
  opacity: 1;
  cursor: pointer;
}

/* Address List */
.address-list-spacing {
  margin-top: 16px;
}

.address-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 12px;
}

.address-card-title {
  font-size: 14px;
  font-weight: 600;
  color: #0094a9;
  margin: 0;
}

.address-actions {
  display: flex;
  gap: 8px;
}

.address-action-btn {
  background: none;
  border: none;
  color: #6b7280;
  cursor: pointer;
  font-size: 14px;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.address-action-btn:hover {
  color: #374151;
}

.address-content {
  font-size: 12px;
  color: #374151;
  line-height: 1.8;
  margin-bottom: 8px;
}

.address-content p {
  margin: 0 0 4px 0;
}

.address-content p:last-child {
  margin: 0;
}

.address-update-text {
  margin: 12px 0 0 0;
  font-size: 11px;
  color: #9ca3af;
}

.address-empty-state {
  padding: 20px;
  text-align: center;
  color: #9ca3af;
  font-size: 12px;
}

.address-empty-icon {
  font-size: 24px;
  margin-bottom: 8px;
  display: block;
}

.address-empty-container {
  margin-top: 16px;
  padding: 20px;
  text-align: center;
  color: #9ca3af;
  font-size: 12px;
  background-color: #f9fafb;
  border-radius: 8px;
  border: 1px dashed #e5e7eb;
}

/* Form Group Spacing */
.form-group-spacing {
  margin-top: 24px;
}

.form-label-spacing {
  margin-bottom: 12px;
  display: block;
}

.checkbox-group {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.form-check-no-margin {
  margin: 0;
}

.form-check-nowrap {
  margin: 0;
  white-space: nowrap;
}

.checkbox-label-spacing {
  margin-left: 4px;
  font-size: 12px;
}

.info-icon-wrapper {
  position: relative;
  display: inline-block;
  margin-left: 4px;
}

.info-icon {
  font-size: 12px;
  color: #0094a9;
  cursor: pointer;
}

/* Experience/Education Items */
.experience-item-spacing {
  margin-bottom: 16px;
}

.period-to-container {
  display: flex;
  gap: 8px;
  align-items: center;
}

.date-wrapper-flex {
  flex: 1;
}

.date-input-disabled {
  opacity: 0.5;
}

.date-input-enabled {
  opacity: 1;
}

.form-group-flex {
  display: flex;
  align-items: flex-end;
}

.btn-remove {
  background: #ef4444;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 8px 16px;
  cursor: pointer;
  font-size: 12px;
}

.btn-remove:hover {
  background: #dc2626;
}

.btn-add-item {
  background: #10b981;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 10px 20px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-add-item:hover {
  background: #059669;
}

.add-item-container {
  margin-top: 16px;
  margin-bottom: 24px;
}

/* File Upload Styles */
.file-input-wrapper {
  position: relative;
}

.file-input-padding {
  padding: 2px;
}

.file-success-text {
  font-size: 11px;
  color: #10b981;
  margin-top: 4px;
  display: block;
}

.file-list-container {
  margin-top: 8px;
}

.file-list-item {
  font-size: 11px;
  color: #10b981;
  margin-bottom: 4px;
}

.btn-remove-file {
  background: none;
  border: none;
  color: #ef4444;
  margin-left: 8px;
  cursor: pointer;
  font-size: 11px;
}

.btn-remove-file:hover {
  color: #dc2626;
}

/* Empty State */
.empty-state-container {
  padding: 40px;
  text-align: center;
  color: #6b7280;
}

.empty-state-icon {
  font-size: 48px;
  margin-bottom: 16px;
  opacity: 0.5;
}

/* Experience Empty State */
.experience-empty-state {
  margin-top: 24px;
  padding: 30px 20px;
  text-align: center;
  background-color: #f9fafb;
  border-radius: 8px;
  border: 1px dashed #e5e7eb;
}

.experience-empty-icon {
  font-size: 36px;
  margin-bottom: 12px;
  color: #9ca3af;
  display: block;
}

.experience-empty-text {
  color: #6b7280;
  font-size: 14px;
  margin: 0;
  line-height: 1.5;
}

/* Modal Address Styles */
.modal-address-type-group {
  position: relative;
}

.modal-address-type-group.active {
  z-index: 9999;
}

.modal-address-type-group.disabled {
  opacity: 0.6;
}

.modal-address-type-hint {
  font-size: 11px;
  color: #6b7280;
  margin-left: 4px;
}

.custom-dropdown-disabled {
  cursor: not-allowed;
  background-color: #f3f4f6;
}

.custom-dropdown-enabled {
  cursor: pointer;
  background-color: #fff;
}

/* Z-index Management for Dropdowns */
.modal-row-z-index-1 {
  z-index: 1;
  position: relative;
}

.modal-row-z-index-auto {
  z-index: auto;
  position: relative;
}

.modal-col-z-index-9999 {
  z-index: 9999;
  position: relative;
}

.modal-col-z-index-1 {
  z-index: 1;
  position: relative;
}

.modal-col-z-index-auto {
  z-index: auto;
  position: relative;
}

.modal-city-pincode-row {
  margin-top: 8px;
}

/* Employee Management Table Styles */
.employee-table-container {
  width: 100%;
  display: flex;
  flex-direction: column;
  min-height: 525px;
}

/* .employee-search-container {
  margin-bottom: 20px;
} */

.employee-search-input {
  max-width: 400px;
  padding-left: 16px;
}

.employee-table-wrapper {
  overflow-x: auto;
  flex: 1;
  min-height: 0;
}

.employee-table {
  width: 100%;
  border-collapse: collapse;
  background: #ffffff;
}

.employee-table thead {
  background-color: transparent;
}

.employee-table thead th {
  background-color: transparent;
  color: #0094a9;
  font-weight: 600;
  font-size: 14px;
  padding: 12px 16px;
  text-align: left;
  border-bottom: 2px solid #e5e7eb;
  white-space: nowrap;
}

.employee-table thead th.employee-sortable {
  cursor: pointer;
  user-select: none;
  position: relative;
  transition: background-color 0.2s ease;
}

.employee-table thead th.employee-sortable:hover {
  background-color: #f3f4f6;
}

.employee-table thead th.employee-sortable i {
  font-size: 12px;
  color: #6b7280;
  margin-left: 4px;
}

.employee-table thead th.employee-sortable:hover i {
  color: #0094a9;
}

.employee-table thead th.employee-sortable i.fa-sort-up,
.employee-table thead th.employee-sortable i.fa-sort-down {
  color: #0094a9;
}

.employee-table tbody td {
  padding: 7px 16px;
  font-size: 14px;
  color: #374151;
  border-bottom: 1px solid #e5e7eb;
  vertical-align: middle;
}

.employee-table tbody tr:hover {
  background-color: #f9fafb;
}

.employee-table tbody tr:last-child td {
  border-bottom: none;
}

.employee-empty {
  text-align: center;
  padding: 40px !important;
  color: #6b7280;
  font-size: 14px;
}

.employee-status {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
}

.employee-status-active {
  background-color: #d1fae5;
  color: #065f46;
}

.employee-status-inactive {
  background-color: #fee2e2;
  color: #991b1b;
}

.employee-actions {
  display: flex;
  gap: 8px;
  align-items: center;
}

.employee-action-btn {
  width: 23px;
  height: 23px;
  padding: 0;
  border: none;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: 'adobe-clean', sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
}

.employee-action-btn i {
  font-size: 12px;
}

.employee-action-view {
  background-color: #0094a9;
  color: #ffffff;
}

.employee-action-view:hover {
  background-color: #007a8a;
}

.employee-action-edit {
  background-color: #10b981;
  color: #ffffff;
}

.employee-action-edit:hover {
  background-color: #059669;
}

.employee-action-delete {
  background-color: #ef4444;
  color: #ffffff;
}

.employee-action-delete:hover {
  background-color: #dc2626;
}

.employee-pagination {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 4px;
  margin-top: auto;
  padding-top: 5px;
  flex-shrink: 0;
}

.pagination-btn {
  min-width: 36px;
  height: 36px;
  padding: 8px 12px;
  border: 1px solid #d1d5db;
  background-color: #ffffff;
  color: #374151;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pagination-btn:hover:not(:disabled) {
  background-color: #f3f4f6;
  border-color: #9ca3af;
}

.pagination-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.pagination-btn.active {
  background-color: #0094a9;
  color: #ffffff;
  border-color: #0094a9;
}

.pagination-btn.active:hover {
  background-color: #007a8a;
  border-color: #007a8a;
}

.employee-loading {
  text-align: center;
  padding: 40px;
  color: #6b7280;
  font-size: 14px;
}

/* Loading Component Styles */
.loading-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px;
  min-height: 200px;
}

.loading-animation-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
}

.loading-message {
  margin-top: 16px;
  color: #6b7280;
  font-size: 14px;
  font-weight: 500;
}

.loading-fallback {
  color: #6b7280;
  font-size: 14px;
}

/* Employee View Styles */
.employee-view-header-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  height: 100%;
}

.employee-back-btn {
  border: 1px solid #d1d5db;
  background-color: #ffffff;
  color: #1f2937;
  padding: 10px 18px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.employee-back-btn:hover {
  background-color: #f9fafb;
  border-color: #cbd5f5;
}

.employee-view-body {
  padding: 8px;
}

.employee-section {
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid #f3f4f6;
}

.employee-section:last-child {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 0;
}

.employee-section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}

.employee-section-title {
  font-size: 18px;
  font-weight: 600;
  color: #0f172a;
  margin: 0;
}

.employee-detail-grid {
  display: grid;
  gap: 16px;
}

.employee-detail-grid.two-column {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.employee-detail-grid.three-column {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.employee-detail-item {
  background-color: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.employee-detail-label {
  font-size: 11px;
  text-transform: uppercase;
  color: #6b7280;
  letter-spacing: 0.05em;
}

.employee-detail-value {
  font-size: 15px;
  font-weight: 500;
  color: #111827;
}

.employee-flags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.employee-flag {
  border: 1px dashed #fee2e2;
  color: #b91c1c;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: #fef2f2;
}

.employee-flag.active {
  border-color: #a7f3d0;
  color: #047857;
  background-color: #ecfdf5;
}

.employee-address-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

.employee-address-card {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 18px;
  background-color: #ffffff;
  box-shadow: 0 5px 20px rgba(15, 23, 42, 0.04);
}

.employee-address-type {
  font-size: 13px;
  font-weight: 600;
  color: #0094a9;
  margin-bottom: 10px;
}

.employee-address-line {
  font-size: 14px;
  color: #374151;
  margin-bottom: 6px;
}

.employee-address-updated {
  margin-top: 14px;
  font-size: 12px;
  color: #9ca3af;
}

.employee-timeline {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.employee-timeline-item {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 16px;
  background-color: #ffffff;
  position: relative;
}

.employee-timeline-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.employee-timeline-header h4 {
  margin: 0;
  font-size: 15px;
  color: #0f172a;
}

.employee-timeline-header p {
  margin: 4px 0 0 0;
  color: #6b7280;
  font-size: 13px;
}

.employee-duration {
  font-weight: 600;
  color: #0094a9;
  font-size: 13px;
}

.employee-timeline-dates {
  margin-top: 10px;
  font-size: 13px;
  color: #6b7280;
}

.employee-education-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.employee-education-card {
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 16px;
  background-color: #f9fafb;
}

.employee-education-card h4 {
  margin: 0 0 8px 0;
  font-size: 15px;
  color: #0f172a;
}

.employee-education-card p {
  margin: 0 0 12px 0;
  font-size: 13px;
  color: #6b7280;
}

.employee-education-meta {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: #111827;
}

@media (max-width: 768px) {
  .employee-view-header-actions {
    justify-content: flex-start;
    margin-top: 12px;
  }

  .employee-back-btn {
    width: 100%;
    justify-content: center;
  }

  .employee-section {
    padding-bottom: 16px;
    margin-bottom: 24px;
  }
}

/* Responsive Design */
@media (max-width: 768px) {

  .employee-table-wrapper {
    overflow-x: scroll;
  }

  .employee-table {
    min-width: 800px;
  }

  .employee-table thead th,
  .employee-table tbody td {
    padding: 8px 12px;
    font-size: 12px;
  }

  .employee-actions {
    flex-direction: row;
    gap: 6px;
  }

  .employee-action-btn {
    width: 30px;
    height: 30px;
    padding: 0;
  }

  .employee-action-btn i {
    font-size: 12px;
  }

  .employee-pagination {
    justify-content: center;
    flex-wrap: wrap;
  }

  .pagination-btn {
    min-width: 32px;
    height: 32px;
    font-size: 12px;
  }
}

/* Leave Balance Card Styles */
.leave-balance-row {
  display: flex;
}

.leave-balance-row .col-md-3 {
  display: flex;
}

.leave-balance-card-wrapper {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
}

.leave-balance-card-wrapper .card {
  display: flex;
  flex-direction: column;
  height: 100%;
  flex: 1;
}

.leave-balance-card-body {
  text-align: center;
  padding: 30px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.leave-balance-icon {
  font-size: 48px;
  margin-bottom: 15px;
}

.leave-balance-icon-casual {
  color: #0094a9;
}

.leave-balance-icon-sick {
  color: #10b981;
}

.leave-balance-icon-earned {
  color: #3b82f6;
}

.leave-balance-icon-lop {
  color: #ef4444;
}

.leave-balance-title {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 10px;
  color: #111827;
}

.leave-balance-value {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 5px;
}

.leave-balance-value-casual {
  color: #0094a9;
}

.leave-balance-value-sick {
  color: #10b981;
}

.leave-balance-value-earned {
  color: #3b82f6;
}

.leave-balance-value-lop {
  color: #ef4444;
}

.leave-balance-label {
  font-size: 14px;
  color: #6b7280;
}

.leave-balance-details {
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px solid #e5e7eb;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.leave-balance-detail-row {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: #6b7280;
  margin-top: 5px;
}

.leave-balance-detail-row:first-child {
  margin-top: 0;
}

.leave-balance-detail-value {
  font-weight: 600;
}

.leave-balance-detail-value-earned {
  color: #3b82f6;
}

.leave-balance-year-input {
  padding: 6px 10px;
  font-size: 14px;
  height: 36px;
  max-width: 150px;
}

.leave-balance-form-group {
  margin-top: 10px;
}

.leave-balance-empty {
  text-align: center;
  color: #6b7280;
  padding: 40px;
}

/* Mobile Responsive Styles for Leave Balance */
@media (max-width: 768px) {
  .leave-balance-row .col-md-3 {
    margin-bottom: 20px;
  }

  .leave-balance-row .col-md-3:last-child {
    margin-bottom: 0;
  }

  .leave-balance-card-body {
    padding: 20px;
  }

  .leave-balance-icon {
    font-size: 36px;
    margin-bottom: 12px;
  }

  .leave-balance-title {
    font-size: 20px;
    margin-bottom: 8px;
  }

  .leave-balance-value {
    font-size: 28px;
    margin-bottom: 4px;
  }

  .leave-balance-label {
    font-size: 13px;
  }

  .leave-balance-details {
    margin-top: 12px;
    padding-top: 12px;
  }

  .leave-balance-detail-row {
    font-size: 11px;
  }
}

/* Dashboard Styles */
.dashboard-card {
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  border-radius: 12px;
  border: none;
  height: 100%;
}

.dashboard-card-body {
  padding: 30px;
}

.dashboard-card-body-centered {
  padding: 30px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dashboard-card-reserved {
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  border-radius: 12px;
  border: none;
  height: 100%;
  background-color: #f8f9fa;
  min-height: 300px;
}

.dashboard-title {
  margin-bottom: 0;
  font-size: 24px;
  font-weight: 600;
}

.dashboard-title-icon {
  color: #0094a9;
}

.dashboard-action-buttons {
  gap: 15px;
  margin-top: 20px;
}

.dashboard-btn-checkin {
  padding: 20px 40px;
  font-size: 20px;
  font-weight: 600;
  border-radius: 8px;
  width: 100%;
  box-shadow: 0 4px 12px rgba(0, 148, 169, 0.3);
  transition: all 0.3s ease;
  background-color: #0094a9;
  border-color: #0094a9;
}

.dashboard-btn-checkin:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 148, 169, 0.4);
}

.dashboard-btn-checkout {
  padding: 20px 40px;
  font-size: 20px;
  font-weight: 600;
  border-radius: 8px;
  width: 100%;
  box-shadow: 0 4px 12px rgba(76, 175, 80, 0.3);
  transition: all 0.3s ease;
  background-color: #4caf50;
  border-color: #4caf50;
}

.dashboard-btn-checkout:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(76, 175, 80, 0.4);
}

.dashboard-alert-checked-out {
  margin: 0;
  padding: 20px;
  border-radius: 10px;
  background-color: #e3f2fd;
  border: 2px solid #2196f3;
  text-align: center;
}

.dashboard-alert-icon {
  font-size: 20px;
  color: #2196f3;
}

.dashboard-alert-text {
  font-size: 16px;
  color: #1976d2;
}

.dashboard-reserved-icon {
  font-size: 48px;
  color: #dee2e6;
  margin-bottom: 15px;
}

.dashboard-reserved-text {
  color: #6c757d;
  margin: 0;
}

.dashboard-attendance-card {
  margin-bottom: 25px;
  background-color: #ffffff;
  border: 2px solid #e7f3f5;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.dashboard-attendance-body {
  padding: 25px;
}

.dashboard-attendance-header {
  margin-bottom: 0;
  color: #111827;
  font-weight: 600;
  font-size: 18px;
}

.dashboard-attendance-header-icon {
  color: #0094a9;
}

.dashboard-badge {
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
  border-radius: 6px;
}

.dashboard-attendance-row {
  margin-top: 15px;
}

.dashboard-info-box {
  background-color: #f8f9fa;
  padding: 12px;
  border-radius: 8px;
  border-left: 4px solid #0094a9;
}

.dashboard-info-box-location {
  background-color: #f3e5f5;
  padding: 12px;
  border-radius: 8px;
  border-left: 4px solid #9c27b0;
}

.dashboard-info-box-checkin {
  background-color: #e8f5e9;
  padding: 12px;
  border-radius: 8px;
  border-left: 4px solid #4caf50;
}

.dashboard-info-box-checkout {
  background-color: #fff3e0;
  padding: 12px;
  border-radius: 8px;
  border-left: 4px solid #ff9800;
}

.dashboard-info-box-notes {
  background-color: #f8f9fa;
  padding: 12px;
  border-radius: 8px;
  border-left: 4px solid #6c757d;
}

.dashboard-info-box-hours {
  background-color: #e3f2fd;
  padding: 12px;
  border-radius: 8px;
  border-left: 4px solid #2196f3;
}

.dashboard-info-label {
  font-size: 12px;
  color: #6c757d;
  margin-bottom: 4px;
  font-weight: 500;
}

.dashboard-info-value {
  font-size: 16px;
  color: #111827;
  font-weight: 600;
}

.dashboard-info-value-small {
  font-size: 14px;
  color: #111827;
}

.dashboard-info-icon {
  color: #0094a9;
}

.dashboard-info-icon-location {
  color: #9c27b0;
}

.dashboard-info-icon-checkin {
  color: #4caf50;
}

.dashboard-info-icon-checkout {
  color: #ff9800;
}

.dashboard-info-icon-notes {
  color: #6c757d;
}

.dashboard-info-icon-hours {
  color: #2196f3;
}

.dashboard-modal-select {
  padding: 8px 12px;
  font-size: 14px;
  height: 40px;
}

.dashboard-modal-input {
  padding: 8px 12px;
  font-size: 14px;
  height: 40px;
}

.dashboard-modal-form-group {
  margin-top: 15px;
}

.dashboard-modal-notes-label-optional {
  font-size: 12px;
  color: #6c757d;
}

.dashboard-modal-btn-primary {
  background-color: #0094a9;
  border-color: #0094a9;
}

.dashboard-location-alert {
  margin-bottom: 15px;
  padding: 10px 12px;
  font-size: 14px;
}

.dashboard-location-info-block {
  display: block;
  margin-top: 5px;
  font-size: 12px;
}

.dashboard-location-info-block-small {
  display: block;
  margin-top: 5px;
  font-size: 11px;
  font-style: italic;
}

.dashboard-location-info-block-manual {
  display: block;
  margin-top: 5px;
  font-size: 12px;
  color: #155724;
}

.dashboard-location-warning-text {
  color: #856404;
}

.dashboard-location-info-text {
  color: #0c5460;
}

.dashboard-location-success-text {
  color: #155724;
}

.dashboard-ip-warning-alert {
  margin-bottom: 15px;
  padding: 12px;
  font-size: 12px;
  background-color: #fff3cd;
  border: 1px solid #ffc107;
}

.dashboard-ip-warning-icon {
  color: #856404;
}

.dashboard-ip-warning-title {
  color: #856404;
}

.dashboard-ip-warning-text {
  margin: 5px 0 0 0;
  font-size: 11px;
  color: #856404;
}

.dashboard-ip-warning-box {
  margin-top: 8px;
  padding: 8px;
  background-color: #f8f9fa;
  border-radius: 4px;
  font-size: 10px;
}

.dashboard-ip-warning-list {
  margin: 5px 0 0 15px;
  padding: 0;
  color: #856404;
}

.dashboard-ip-warning-code {
  background-color: #e9ecef;
  padding: 2px 4px;
  border-radius: 2px;
}

.dashboard-ip-warning-hint {
  margin: 5px 0 0 0;
  font-size: 10px;
  color: #6c757d;
  font-style: italic;
}

/* No Sidebar Layout - Full Width Content */
.content-wrapper.no-sidebar {
  margin-left: 0 !important;
  width: 100% !important;
}

.dashboard-fetching-alert {
  margin-bottom: 15px;
  padding: 8px 12px;
  font-size: 14px;
}

.dashboard-location-wait-alert {
  margin-bottom: 15px;
  padding: 10px 12px;
  font-size: 13px;
}

.dashboard-wfh-alert {
  margin-bottom: 15px;
  padding: 10px 12px;
  font-size: 14px;
}

.dashboard-text-muted-small {
  display: block;
  margin-top: 5px;
}

/* Employee Documents Section */
.employee-documents-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.employee-document-item {
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 18px;
  background-color: #ffffff;
  transition: box-shadow 0.2s ease;
}

.employee-document-item:hover {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.employee-document-label {
  font-weight: 600;
  color: #374151;
  margin-bottom: 12px;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.employee-document-preview {
  margin-top: 8px;
}

.employee-document-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.employee-document-link {
  display: inline-flex;
  align-items: center;
  color: #2563eb;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s ease;
  padding: 8px 12px;
  border-radius: 6px;
  background-color: #f0f7ff;
  border: 1px solid #dbeafe;
}

.employee-document-link:hover {
  color: #1d4ed8;
  background-color: #dbeafe;
  text-decoration: none;
}

.employee-document-link i {
  font-size: 16px;
}

/* Education Certificates Grid Container for Edit Page */
.education-certificates-grid-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  max-height: 250px;
  overflow-y: auto;
  padding: 10px;
}

.education-certificate-item {
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 10px;
  background-color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 180px;
  transition: all 0.2s ease;
  cursor: pointer;
}

.education-certificate-item:hover {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  border-color: #2563eb;
  transform: translateY(-2px);
}

.education-certificate-image {
  max-width: 100%;
  max-height: 150px;
  width: auto;
  height: auto;
  border-radius: 4px;
  border: 1px solid #e5e7eb;
  object-fit: contain;
}

/* Scrollbar styling for education certificates container */
.education-certificates-grid-container::-webkit-scrollbar {
  width: 6px;
}

.education-certificates-grid-container::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 3px;
}

.education-certificates-grid-container::-webkit-scrollbar-thumb {
  background: #c1c1c1;
  border-radius: 3px;
}

.education-certificates-grid-container::-webkit-scrollbar-thumb:hover {
  background: #a8a8a8;
}
