/* Custom Login Page Styles */

.custom-login-form {
    width: 500px !important; /* Ganti max-width dengan width tetap */
    max-width: 100% !important; /* Untuk responsif di perangkat kecil */
    margin: 50px auto;
    padding: 30px;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    position: relative;
    border: none !important;
}

/* Remove any borders or gutters */
.custom-login-container,
#main-content .container:before,
#main-content .container,
.et_pb_row,
.et_pb_content_area,
.clearfix,
#content-area,
.custom-login-container:before,
div.container:before,
#et-main-area,
#main-content .container:before,
#page-container,
.et_right_sidebar #main-content .container:before {
    border: none !important;
    border-width: 0 !important;
    box-shadow: none !important;
    background: none !important;
}

/* Remove specific sidebar line */
#main-content .container:before {
    display: none !important;
    width: 0 !important;
}

/* Add the rest of your existing CSS styles here */
.custom-login-form::before {
    content: '';
    display: block;
    width: 100px;
    height: 100px;
    background-image: url('https://arialiving.id/wp-content/uploads/2024/01/ari-living-logo.png'); /* You can replace this with your logo */
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    margin: 0 auto 20px;
}

/* Additional styles for the login container */
.custom-login-container {
    background-color: transparent !important;
    padding: 40px 0 !important;
    border: none !important;
}

.custom-login-form input[type="text"],
.custom-login-form input[type="password"],
.custom-login-form input[type="email"],
.custom-login-form input[type="number"],
.custom-login-form input.input {
    width: 100% !important;
    max-width: none !important;
    box-sizing: border-box !important;
}

/* Rest of your CSS remains the same */
.custom-login-form label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-weight: 600;
    font-size: 14px;
}

.custom-login-form .input {
    width: 100%;
    padding: 12px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    transition: border-color 0.3s;
}

.custom-login-form .input:focus {
    border-color: #2ea3f2; /* Divi blue color */
    outline: none;
    box-shadow: 0 0 5px rgba(46, 163, 242, 0.3);
}

.custom-login-form .forgetmenot {
    margin-bottom: 20px;
}

.custom-login-form .forgetmenot label {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
}

.custom-login-form #rememberme {
    margin-right: 8px;
}

.custom-login-form .button-primary {
    width: 100%;
    padding: 12px;
    background-color: #2ea3f2; /* Divi blue color */
    border: none;
    border-radius: 4px;
    color: white;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
}

.custom-login-form .button-primary:hover {
    background-color: #0c71c3; /* Darker Divi blue */
}

.custom-login-form .nav {
    text-align: center;
    margin-top: 20px;
}

.custom-login-form .nav a {
    color: #2ea3f2;
    text-decoration: none;
    font-size: 14px;
}

.custom-login-form .nav a:hover {
    text-decoration: underline;
}

.login-error {
    background-color: #f8d7da;
    color: #721c24;
    padding: 10px 15px;
    margin-bottom: 20px;
    border-radius: 4px;
    font-size: 14px;
    border-left: 4px solid #f5c6cb;
}

.already-logged-in {
    text-align: center;
    padding: 20px;
    background-color: #e7f5ff;
    border-radius: 8px;
    margin: 30px auto;
    max-width: 400px;
}

.already-logged-in a {
    color: #2ea3f2;
    text-decoration: none;
    font-weight: 600;
}

.already-logged-in a:hover {
    text-decoration: underline;
}

/* Specific styling for the captcha field */
.captcha-field {
    margin-bottom: 20px;
    padding: 15px;
    background-color: #f9f9f9;
    border-radius: 4px;
    border-left: 4px solid #2ea3f2;
}

.captcha-field label {
    font-weight: 700;
    color: #333;
}

#captcha {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

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

/* Responsive adjustments */
@media (max-width: 768px) {
    .custom-login-form {
        margin: 20px auto;
        padding: 20px;
    }
}