

.ctm_login_logo{
    margin-bottom:20px;
    text-align: center !important;
}
/* Reset default margins and paddings for outer elements */
.custom-login-form,
.custom-login-form form,
.custom-login-form label,
.custom-login-form input,
.custom-login-form button {
    margin: 0; /* Reset outer margins */
    padding: 0; /* Reset outer paddings */
}

/* Core styling for the login form container */
.custom-login-form {
    max-width: 350px;
    margin: auto; /* Restore centering */
    background: #333;
    padding: 20px; /* Restore internal padding */
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
    text-align: center;
}

/* Label styling */
.custom-login-form label {
    color: white;
    font-weight: bold;
    display: block;
    text-align: left;
}

/* Input styling */
.custom-login-form input {
    width: 100%;
    padding: 10px; /* Restore padding */
    margin: 5px 0; /* Restore specific margin */
    border: 1px solid #666;
    border-radius: 4px;
    background: #444;
    color: white;
}

/* Checkbox specific styling */
.custom-login-form input[type="checkbox"] {
    width: auto; /* Override width for checkbox */
    margin: 0; /* Ensure no margin */
}

/* Placeholder styling */
.custom-login-form input::placeholder {
    color: #ccc;
}

/* Password wrapper */
.password-wrapper {
    position: relative;
}
.password-wrapper input {
    padding-right: 40px; /* Specific padding adjustment */
}

/* Toggle password button */
.toggle-password {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: white;
}

/* Button styling */
.custom-login-form button {
    width: 100%;
    background: #007bff;
    color: white;
    padding: 10px; /* Restore padding */
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
}
.custom-login-form button:hover {
    background: #0056b3;
}

/* Logout link */
.logout-link {
    margin-top: 10px;
    display: inline-block;
    color: #fff;
    text-decoration: none;
    font-size: 14px;
}
.logout-link:hover {
    text-decoration: underline;
}

/* Fix for Remember Me Checkbox */
.custom-login-form .rememberme {
    display: flex;
    align-items: center;
    gap: 10px; /* Space between checkbox and label */
}
.custom-login-form .rememberme input[type="checkbox"] {
    width: auto; /* Prevent full-width stretching */
    margin: 0; /* Ensure no margin */
}

/* Styling for the OR separator */
.or-separator {
    color: white;
    font-size: 16px;
    font-weight: bold;
    padding: 10px; /* Restore padding */
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    margin-bottom: 5px;
}

/* Specific tweak for password toggle */
.login-password #show_pass {
    bottom: 5px !important;
}
.custom-lost-password-form, .custom-reset-password-form {
    max-width: 350px;
    margin: 50px auto;
    background: #333;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
    text-align: center;
    color: #fff;
}
.custom-lost-password-form h2, .custom-reset-password-form h2 {
    color: white;
    margin-bottom: 15px;
}
.custom-lost-password-form label, .custom-reset-password-form label {
    color: white;
    font-weight: bold;
    display: block;
    text-align: left;
}
.custom-lost-password-form input, .custom-reset-password-form input {
    width: 100%;
    padding: 10px;
    margin: 5px 0 15px;
    border: 1px solid #666;
    border-radius: 4px;
    background: #444;
    color: white;
}
.custom-lost-password-form input::placeholder, .custom-reset-password-form input::placeholder {
    color: #ccc;
}
.custom-lost-password-form button, .custom-reset-password-form button {
    width: 100%;
    background: #007bff;
    color: white;
    padding: 10px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    /* font-weight: bold; */
}
.custom-lost-password-form button:hover, .custom-reset-password-form button:hover {
    background: #0056b3;
}

custom-lost-password-form p{
    color: white;
}
.success {
    color: #00cc00;
    margin: 10px 0;
}
.error {
    color: #ff3333;
    margin: 10px 0;
}


.elementor-31583 .elementor-element.elementor-element-86074cc > .elementor-container,.elementor-31588 .elementor-element.elementor-element-86074cc > .elementor-container{
    max-width: 500px;
}



/* Style the Lost your password? link */
.login-lost-password {
    margin-top: 10px;
}
.login-lost-password a {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
}
.login-lost-password a:hover {
    text-decoration: underline;
}

/* Error message styling */
.login-error {
    color: #ff3333;
    margin-bottom: 15px;
    font-size: 14px;
    text-align: center;
}


/* Style for the Back to Login link container */
.back-to-login {
    margin-top: 15px; /* Space above the link */
    text-align: center; /* Center-align the link */
    font-size: 14px; /* Adjust font size */
}

/* Style for the Back to Login link itself */
.back-to-login a {
    color: #fff;
    text-decoration: none; /* Remove underline by default */
    font-size: 14px;
}


