/* css for realtor-settings page ***************************************************/

.realtor-settings-container {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    padding: 20px;
    max-width: 700px;
}

.realtor-settings-header {
    font-size: 1.375rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.realtor-settings-item {
    padding: 12px;
    border-bottom: 1px solid #eee;
    font-size: 20px;
    color: #444;
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
    padding-right: 24px; /* Space for arrow */
}

.realtor-settings-item:last-child {
    border-bottom: none;
}

.realtor-settings-item:hover {
    border: 1px solid #0066cc;
    border-radius: 8px;
    color: #0066cc;
}

.realtor-settings-item::after {
    content: "→";
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    font-size: 22px;
    font-weight: 900;
    transition: all 0.3s ease;
}

.realtor-settings-item:hover::after {
    color: #0066cc;
}

/* css for realtor-setting-pi ***************************************************/

.piv-realtor-profile-container {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    padding: 25px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    max-width: 700px;
}

.piv-profile-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 25px;
    border-bottom: 1px solid #eaeaea;
    padding-bottom: 15px;
}

.piv-profile-header h2 {
    color: #2c3e50;
    margin: 0;
    font-size: 22px;
    font-weight: 600;
}

.piv-edit-button {
    background-color: #3498db;
    color: white!important;
    border: none;
    padding: 8px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.piv-edit-button:hover {
    background-color: #2980b9;
    transform: translateY(-1px);
}

.piv-profile-content {
    display: flex;
    gap: 30px;
}

.piv-profile-pic-container {
    flex: 0 0 150px;
}

.piv-profile-pic {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #f1f1f1;
}

.piv-profile-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.piv-detail-row {
    display: flex;
    padding: 10px 0;
    border-bottom: 1px solid #f5f5f5;
}

.piv-detail-label {
    font-weight: 600;
    color: #7f8c8d;
    width: 150px;
    flex-shrink: 0;
}

.piv-detail-value {
    color: #34495e;
    flex: 1;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .piv-profile-content {
        flex-direction: column;
        gap: 20px;
    }
    
    .piv-profile-pic-container {
        align-self: center;
    }
    
    .piv-detail-row {
        flex-direction: column;
        gap: 5px;
    }
    
    .piv-detail-label {
        width: 100%;
    }

    .piv-profile-header h2 {
        font-size: 18px;
    }
}

/* css for realtor profile pic */

/* Profile picture container with piv- prefix */

/* Realtor avatar image */
.realtor-avatar {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #f8f9fa;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

/* User role name styling */
.user-role-name {
    display: inline-block;
    background-color: #2c3e50;
    color: white;
    padding: 4px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    text-align: center;
    margin: 20px 30px;
}