.auth-container {
    margin: auto;
    text-align: center;
}

.form-toggle button {
    padding: 10px;
    margin: 5px;
    border: none;
    cursor: pointer;
}

.form-toggle .active {
    background: #0073aa;
    color: white;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;    min-width: 300px;
}

.auth-form input, .auth-form select {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.auth-form button {
    background: #0073aa;
    color: white;
    padding: 10px;
    border: none;
    cursor: pointer;
}

.login-register-btn {
    background: var(--tmp-btn-bg-initial-color);
    color: white;
    padding: 10px;
    border: none;
    cursor: pointer;border-radius: 4px;margin: 5px;
}
.login-register-btn.active, .login-register-btn.active:hover {
    background: #0073aa;color: white;
}
.login-register-btn:hover {
    color: white;
	background: var(--tmp-secondary-color)
}
.agent-fields {
    display: flex;
    flex-direction: column;
    gap: 10px; /* Adds spacing between fields */
    margin-top: 10px; /* Adds some space above the section */
}

.agent-fields input,
.agent-fields select {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.hidden {
    display: none;
}

.error {
    color: red;
    font-size: 14px;text-align: left;
}

.success {
    color: green;
    font-size: 14px;text-align: left;
}

.error-messages p {
    color: red;
    font-weight: bold;
    margin: 5px 0;text-align: left;
}
.error-messages p::before {
    content: "👉"; /* Change the hand emoji here */
    font-size: 18px;
    margin-right: 8px;
}
.error-messages p.success{
	color:green;text-align: left;
}
input[readonly] {
    background-color: #f0f0f0; /* Light gray background */
    color: #888; /* Dim text color */
    cursor: not-allowed; /* Show 'not-allowed' cursor */
    opacity: 0.7; /* Slightly transparent */
}

/* Form fields in three columns */
.register-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

/* Submit button, captcha, and messages in one row */
.row-center {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap; /* Ensures responsiveness */
    margin-top: 15px;
}

/* Submit button width based on screen size */

.auth-form button {
    width: 65%;
    min-width: 150px;
}

/* Center captcha */
.g-recaptcha {
    display: flex;
    justify-content: center;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .register-grid {
        grid-template-columns: repeat(2, 1fr); /* Two columns on tablets */
    }
}

@media (max-width: 768px) {
    .register-grid {
        grid-template-columns: 1fr; /* Single column on mobile */
    }

    .row-center {
        flex-direction: column; /* Stack elements on smaller screens */
    }

    .register-submit {
        width: 75%;
    }
}

