/* Existing styles (assumed; add these to your frontend.css) */
.cwf-modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 9998;
  display: none; /* Hidden by default, shown via auth.js */
}
.cwf-modal {
    position: fixed;
  top: 0;
  left: 0;
height: 100vh;
    width: 100vw;
    z-index: 9999;
}

/* New styles for centering with Flexbox */
.cwf-modal-backdrop {
  display: flex;
  justify-content: center;
  align-items: center;
}
.cwf-modal {
  display: flex; 
  justify-content: center;
    align-items: center;/* Modal itself doesn't need flex; backdrop handles centering */
}
.cwf-modal .box {
    display: flex
;
width: 500px;
    gap: 10px;
    align-items: center;
    border: 1px solid var(--ring);
    border-radius: 12px;
    padding: 40px 24px;
    background: #fff;
}

/* Ensure modal is visible when shown */
.cwf-modal-backdrop.show {
  display: flex;
}
.cwf-modal.show {
  display: block;
}

/* Responsive adjustments */
@media (max-width: 600px) {
  .cwf-modal {
    width: 95%;
    padding: 15px;
  }
}

/* Existing button styles (for Google buttons, etc.) */
.btn {
  background: #007bff ;
  color: #fff;
  padding: 10px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}
.btn1 {
  background: #007bff !important;
  color: #fff !important;
  padding: 12px 20px !important;
  border: none !important;
  border-radius: 4px !important;
  cursor: pointer;
  font-weight: 700 !important;
}
.btn.google-login-btn {
  background: #fff;
  color: #4285f4;
  border: 1px solid #4285f4;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.link {
  background: none !important;
  border: none !important;
  color: #007bff !important;
  cursor: pointer;
  font-size: 16px !important;
    font-weight: 400 !important;
    padding: 0px !important;
}
/* Show password icon */
.password-wrapper {
  position: relative;
}
.show-password {
  cursor: pointer;
}
.show-password-icon,
.hide-password-icon {
  fill: #666;
}
.show-password:hover .show-password-icon,
.show-password:hover .hide-password-icon {
  fill: #007bff;
}
.cwf-hidden {
  display: none;
}
.pane {
    width: 100%;
    }
.login-title {
    font-family: 'Inter';
    font-size: 36px;
    font-weight: 700;
    color: #000;
    text-align: center;
    margin: 0px;
}
.login-text {
    font-family: 'Inter';
    font-size: 16px;
    font-weight: 400;
    color: #606060;
    text-align: center;
    margin-bottom: 50px;
}
.row1 {
    display: flex;
    align-items: center;
    justify-content: center;
    align-content: center;
    gap: 10px;
}
