
/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f9f9f9;
    color: #333;
    line-height: 1.6;
}

.container {
    display: flex;
    min-height: 100vh;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px;
}


/* Preloader Styles */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
  }
  
  #preloader img {
    width: 100px; /* Adjust size as needed */
    height: auto;
    animation: pulse 1.5s infinite ease-in-out;
  }
  
  @keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
  }
  
  #preloader.hide {
    opacity: 0;
    pointer-events: none;
  }
  

/* Main content styles */
.login-container {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 2rem;
}

.logo {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
}

.logo img {
    height: 40px;
    margin-right: 10px;
}

.logo-text {
    font-size: 24px;
    font-weight: bold;
    color: #1a1a1a;
}

.login-content {
    max-width: 500px;
}

.welcome-text {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.intro-text {
    color: #666;
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    color: #666;
}

.form-input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    transition: border-color 0.3s;
}

.form-input:focus {
    outline: none;
    border-color: #2ECC71;
}

.error-message {
    color: #e74c3c;
    font-size: 14px;
    margin-top: 5px;
}

.checkbox-container {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.checkbox-container input[type="checkbox"] {
    margin-right: 10px;
    width: 18px;
    height: 18px;
    border: 1px solid #ddd;
    border-radius: 3px;
    cursor: pointer;
}

.recaptcha-container {
    margin-bottom: 1.5rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 10px;
    width: fit-content;
}

.button {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s;
}

.button-primary {
    background-color: #2ECC71;
    color: white;
}

.button-primary:hover {
    background-color: #27AE60;
}

.button-google {
    background-color: #1a1a1a;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
}

.button-google:hover {
    background-color: #333;
}

.google-icon {
    margin-right: 10px;
    width: 18px;
    height: 18px;
}

.divider {
    display: flex;
    align-items: center;
    margin: 1.5rem 0;
    color: #999;
}

.divider::before, .divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background-color: #ddd;
}

.divider span {
    padding: 0 1rem;
}

.signup-link {
    margin-top: 1.5rem;
    text-align: center;
    color: #666;
}

.signup-link a {
    color: #2ECC71;
    text-decoration: none;
}

/* Image container styles */
.image-container {
    flex: 1;
    background-color: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius:20px;
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Responsive styles */
@media (max-width: 992px) {
    .container {
        flex-direction: column;
    }

    .image-container {
        display: none;
    }

    .login-container {
        padding: 1.5rem;
    }

    .login-content {
        max-width: 100%;
    }
}

@media (max-width: 576px) {
    .login-container {
        padding: 1rem;
    }

    .welcome-text {
        font-size: 24px;
    }

    .form-input {
        padding: 10px 12px;
    }

    .button {
        padding: 12px;
    }
}

/* Green checkmark for the terms checkbox */
.custom-checkbox {
    display: inline-block;
    width: 18px;
    height: 18px;
    background-color: #2ECC71;
    border-radius: 3px;
    margin-right: 10px;
    position: relative;
}

.custom-checkbox:after {
    content: '';
    position: absolute;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    top: 3px;
    left: 6px;
    transform: rotate(45deg);
}
