/* IDS Car Wash-style Login Page CSS - Cleaned and Fixed */

.idscarwash-login-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: #fff;
    font-family: 'Inter', sans-serif;
    padding: 20px;
    box-sizing: border-box; /* Added for consistency */
}

.idscarwash-login-wrapper .login-container {
    width: 100%;
    max-width: 420px;
    margin: auto;
    padding: 40px;
    box-sizing: border-box;
    text-align: left;
    background: #fff;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
    border-radius: 8px;
}

.idscarwash-login-wrapper .login-logo {
  /* This centers the logo image */
  text-align: center; 
  margin-bottom: 32px;
  /* float: left; removed */
}

.idscarwash-login-wrapper .login-logo img {
  /* Set height from your PHP inline style */
  height: 120px; 
  /* float: left; removed */
}

.idscarwash-login-wrapper .login-title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.4;
  color: #444;
  /* float: left; removed */
}

.idscarwash-login-wrapper .login-subtext {
  font-size: 17px;
  color: #000000;
  margin-bottom: 32px;
  line-height: 1.6;
  /* float: left; removed */
}

.idscarwash-login-wrapper .phone-input-wrapper {
  display: flex;
  align-items: center;
  margin-bottom: 24px;
}

.idscarwash-login-wrapper .phone-country {
  width: 90px;
  border: 1px solid #ccc;
  border-radius: 8px 0 0 8px;
  padding: 0 12px;
  font-size: 16px;
  height: 48px;
  background: #fff;
  border-right: none;
  outline: none;
}

.idscarwash-login-wrapper .phone-number {
  flex: 1;
  border: 1px solid #ccc;
  border-left: none;
  border-radius: 0 8px 8px 0;
  padding: 0 12px;
  font-size: 16px;
  height: 48px;
  outline: none;
}

/* You'll need to add styles to hide this by default */
.idscarwash-login-wrapper .error-message {
  display: none; 
  color: red;
  font-size: 14px;
  margin-top: -16px;
  margin-bottom: 16px;
}

.idscarwash-login-wrapper .login-button {
  background-color: #04d9ff;
  color: white;
  font-weight: 600;
  font-size: 16px;
  padding: 14px;
  border: none;
  border-radius: 8px;
  width: 100%;
  cursor: pointer;
  transition: background 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.idscarwash-login-wrapper .login-button:hover {
  background-color: #03bde0; /* Slightly darker on hover */
}

.idscarwash-login-wrapper .help-text {
  margin-top: 48px;
  text-align: center;
  font-size: 14px;
  color: #000000;
}

.idscarwash-login-wrapper .help-text a {
  color: #04d9ff;
  text-decoration: none;
  font-weight: 500;
}

.idscarwash-login-wrapper .help-text a:hover {
  text-decoration: underline;
}

/* Responsive styles */
@media screen and (max-width: 480px) {
    .idscarwash-login-wrapper {
        padding: 10px;
        /* Remove min-height on mobile to prevent weird scrolling */
        min-height: auto; 
    }
    .idscarwash-login-wrapper .login-container {
        padding: 30px 20px;
    }
    .idscarwash-login-wrapper .login-title {
        font-size: 24px;
    }
}

