.elementor-sub-item.elementor-item-active {
	background-color: #c6a871;
}
/* Prime Agent Login Form Styles */

.prime-agent-login-container {
    display: flex;
    margin: 0;
    padding: 0;
    background: #f8f9fa;
    box-shadow: 0 2px 40px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    padding: 10px;
    border-radius: 20px;
}

.login-background-image {
    background: url('https://stellixsoft.com/primeagent/wp-content/uploads/2025/10/agent-login-png-scaled.jpg');
    height: 100%;
    background-size: cover;
    background-repeat: no-repeat;
    border-radius: 20px;
}

.login-left-panel {
    width: 50%;
} 

.login-right-panel {
    width: 50%;
    padding: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.login-form-wrapper {
    width: 100%;
    max-width: 500px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Logo */
.login-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
}
.login-logo img {
    max-width: 50% !important;
}
.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-main {
    font-size: 24px;
    font-weight: 700;
    color: #000;
    line-height: 1;
    letter-spacing: 1px;
}

.logo-sub {
    font-size: 14px;
    font-weight: 400;
    color: #666;
    line-height: 1;
    margin-top: 2px;
}

/* Form Title */
.login-title {
    font-size: 30px !important;
    font-weight: 600;
    color: #333;
    margin: 0px;
    text-align: center;
}

.login-subtitle {
    font-size: 16px;
    color: #666;
    margin: 0px;
    text-align: center;
}

/* Form Styles */
.prime-login-form {
    width: 100%;
}

.form-group {
    margin-bottom: 10px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    margin-bottom: 8px;
}
#listingModal .listing-form {
    padding: 24px;
}
#listingModal [type=button], [type=submit], button {
    background-color: #c5a771;
    border: unset;
    border-radius: 3px;
    color: #fff;
}
.form-group input[type="text"],
.form-group input[type="password"], #listing_price, #listing_type, #listing_bedrooms, #listing_bathrooms, #listing_sqft, #listing_parking, #listing_year, #listing_image {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    background: #f8f9fa;
    color: #333;
    transition: all 0.3s ease;
    box-sizing: border-box;
    border-radius: 50px;
}

.form-group input[type="text"]:focus,
.form-group input[type="password"]:focus {
    outline: none;
    border-color: #D4AF37;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

/* Password Input Wrapper */
.password-input-wrapper {
    position: relative;
}

.password-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 14px;
    color: #666;
    cursor: pointer;
    user-select: none;
    background: #f8f9fa;
    padding: 4px 8px;
    border-radius: 4px;
    transition: color 0.3s ease;
}

.password-toggle:hover {
    color: #D4AF37;
}

.password-toggle svg {
    width: 16px;
    height: 16px;
    transition: all 0.3s ease;
}

/* Remember Me Checkbox */
.remember-group {
    margin-bottom: 30px;
}

.remember-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 14px;
    color: #333;
    position: relative;
}

.remember-label input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 18px;
    height: 18px;
    border: 2px solid #e0e0e0;
    border-radius: 4px;
    position: relative;
    transition: all 0.3s ease;
    display: inline-block;
}
label.remember-label {
    display: flex;
    align-items: center;
    gap: 10px;
}
.remember-label input[type="checkbox"]:checked + .checkmark {
    background: #D4AF37;
    border-color: #D4AF37;
}
.login-form-wrapper button.login-submit-btn {
    width: 100%;
    border: unset;
    border-radius: 50px;
    background: #D4AF37;
    color: #fff;
}
.remember-label input[type="checkbox"]:checked + .checkmark::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 2px;
    width: 4px;
    height: 8px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* Submit Button */
.login-submit-btn {
    float: left;
    margin-right: 1em;
    width: 100%;
    border-radius: 50px;
    background: #c6a871;
    color: #fff;
    font-weight: 500;
    border: none;
}

.login-submit-btn:hover {
    background: linear-gradient(135deg, #B8860B, #996F00);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
}

.login-submit-btn:active {
    transform: translateY(0);
}

/* Error Message */
.login-error {
    background: #fee;
    color: #c33;
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 14px;
    border: 1px solid #fcc;
}

/* Success Message */
.login-success {
    background: #efe;
    color: #3c3;
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 14px;
    border: 1px solid #cfc;
    text-align: center;
}

/* Field-specific Error Messages */
.field-error {
    color: #c33;
    font-size: 12px;
    margin-top: 5px;
    display: block;
}

/* Responsive Design */
@media (max-width: 768px) {
    .prime-agent-login-container {
        flex-direction: column;
        height: auto;
        min-height: 70vh;
        width: 95%;
        margin: 0 auto;
    }
    
    .login-left-panel {
        flex: 1;
        min-height: 200px;
        display: none;
    }
    
    .login-right-panel {
        flex: 1;
        padding: 20px;
        width: 100%;
    }
    
    .login-title {
        font-size: 24px;
    }
    
    .logo-main {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .login-right-panel {
        padding: 15px;
    }
    
    .login-title {
        font-size: 22px;
    }
    
    .form-group input[type="text"],
    .form-group input[type="password"] {
        font-size: 16px; /* Prevents zoom on iOS */
    }
    .login-logo img {
        max-width: 70% !important;
    }
}